apache + php problems

I have installed apache2 and I have it running with php4. I am trying to view the phpsysinfo page, but it comes up with open or save document, suggesting its not working the code server side. I have viewed the apache config file but the index.php is present. I have made sure I have installed the usual libapache2 stuff, and also made sure as I want a mysql server running to I have php4-mysql installed as well. After reloading the apache2 server it still wasn't playing ball, so I restarted. But to no avail. Can someone please point me in the right direction, I bet this is a common issue.

I am running kernel 2.6.8-3-686-smp (as I have a dual 550mhz compaq 3000 sever)

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

problem solved

Simple case of permission problems, very bizarre for a fresh install but understandable really.. :-S

Case closed :-)

-----------
Luke Wilson

#$@&* Frustrated

I have loaded Debian and setup Apache2 trying to get PHP4 working upteen times. Pulling my hair out as I follow the instructions. When I check my test.php page I get a popup asking save or open... I am a newbie to linux and want to learn. Yodds you seem to have solved this problem. Can you please explain how you solved this problem please. I am sure other newbies would appreciate your findings.

#$@&* Frustrated

If you are sure that the php module is loading, it may simply be that your browser cache needs to be cleared.

Are you trying to view over the net?

Almost all isp's have blocked ports 80 and 25, so you can't host on the net.

Permissions

I had to do chmod -vR 755 /to/the/directory I needed to change the permissions for...that was it...

-----------
Luke Wilson

which files

which files need to have the permission changed?

I have tried so many options making sure libphp5.so is there etc but nothing works for me. Still asks me to save the php file.

The only error in my log file for apache is: file /var/www/favicon.ico does not exist

I do not have any httpd file on my disk, only executes apache. Is that the problem?

http://mskipper.com/files/httpd.conf

Syndicate content