Frequently asked questions

Back
Keyword:  

How do I test PHP on the shell server?
This entry in our frequently asked questions is directed to advanced users.

  1. log on to the shell server.
  2. Run the PHP script with the correct command (see instructions below)
  3. 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.

On our webservers, PHP runs under a modified uwsgi. Test with the PHP command:

php myscript.php

See also:

© 2024 Domeneshop AS · About us · Terms · Privacy policy