Ano-Tech Computers
Enter keyword:

How to test if PHP works
Problem:
You have installed or upgraded Apache and want to find out if it works OK, but you don't know PHP?
 
Solution:
Create a file called "test.php" in your public_html directory, containing the following code:

"<?php phpinfo();?>"

Now, if you access the proper URL and everything is set up right, you should get a nice table with all sorts of diagnostic information.
 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles