when i install apache i believe everything works fine, here's my ip...
http://66.60.139.67 but when i try to open http://66.60.139.67/phpinfo.php i don't get anything, i believe i installed everything correctly because i followed step by step from this website http://www.evilwalrus.com/articles/read.php?aid=1 if anyone else has experiance this problem im on aim as gbdavidx for those of you who would like to im me....
php, apache on windows xp
Moderator: General Moderators
in your httpd.conf, there is the line:
DocumentRoot c:/some/folder
in this directory is where you need to keep any files you want to serve with apache. it's where the 'test page for an apache installation' is located. In this directory, almost certainly, there is no file called phpinfo.php. Therefore, apache correctly returns an error.
DocumentRoot c:/some/folder
in this directory is where you need to keep any files you want to serve with apache. it's where the 'test page for an apache installation' is located. In this directory, almost certainly, there is no file called phpinfo.php. Therefore, apache correctly returns an error.
..
If you want to test your php install you should make a text file that says
and save it with the name phpinfo.php in the DocumentRoot directory. Then if you try to view http://yourhost.yourdomain/phpinfo.php you should see something.
If you want to test your php install you should make a text file that says
Code: Select all
<?php echo phpinfo(); ?>