Friday, June 1, 2012

PHP: test installation


You installed LAMP but don't know if PHP is working. This is easy to test. In your DocumentRoot (the directory your webserver serves files from), create a file test.php with the following contents:

<?php phpinfo(); ?>

Point your browser at that file. The results should demonstrate whether PHP is active or not.

No comments:

Post a Comment