Frequently asked questions
This entry in our frequently asked questions is directed to advanced users.
PHP testing on the shell server is available for PHP 5.6 and PHP 7.0.
- log on to the shell server.
- Run the PHP script with the correct command (see instructions below)
- Check your result
Keep in mind that PHP-scripts will output HTML also on the command line (in Unix shell), and maybe an error message. You should generate as little HTML as possible when testing to avoid confusion.
In our webhotels, PHP runs as CGI under suphp. Test with the CGI version of the PHP command: