PDA

View Full Version : php not showing up



blazingbiz
10-22-2006, 05:22 PM
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.

hostanet
10-22-2006, 06:35 PM
I had the same problem.
Try creating a database first.

blazingbiz
10-22-2006, 07:20 PM
You mean login to phpAdmin and create a database? Does that fix the problem?

blazingbiz
10-22-2006, 07:30 PM
Ok I created a database with the DA control panel and nothing changed.

hostanet
10-22-2006, 07:41 PM
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.

blazingbiz
10-22-2006, 07:44 PM
Why does phpadmin work on my server but not anything else?

tex2
10-23-2006, 06:38 AM
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