php not showing up

blazingbiz

Verified User
Joined
Mar 19, 2005
Messages
49
Location
San Jose CA
I have an apache 2.0.59 set up on a CentOS machine. After a lot of configuring, php still doesn't show up or work. Can somebody provide a checklist of all the places to check if php just isn't responding and see what is going on. I did a bunch of httpd conf file work already, I'm really stuck. I have php 4.4 installed and previousling install php 5.1.6 but in neither case did any php show up.
 
Mine wouldn't work until I created a MySQL database for the domain I was working with. Once I created a database and a user for that database everything started working correctly. You may have a different problem though.
 
Is your webserver running

Just check if your apache is running first.
vi httpd.conf
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from none
</Directory>

This is what I have and think that this is your problem.: Deny from none - Not ALL

You dont need a database for php to run.
Test it with the info.php script:

<?php
phpinfo();
?>
Hope this helps
 
Last edited:
Back
Top