Page 1 of 1

Php 5 is not working

Posted: Sun May 08, 2005 3:59 am
by dogma_spelled_backwards
Hi,
I've unzipped and installed php 5 into my root/home directory.
Im using FedoraCore4 and Apache2. When I make a php page all I get is the php code along with the html. The php.ini text is also completely white in the terminal window.
I must be missing some obvious setup procedure but this is the first time I've set up my own linux server. And yes I've searched the forum and read patricks post.
Also there are 2 php.ini files: php.ini-dist and php.ini-recommended. ??? which one do I use to config php once I get it working?

Posted: Sun May 08, 2005 4:05 am
by Chris Corbyn
:arrow: Moved to servers

Posted: Mon May 09, 2005 3:14 am
by dogma_spelled_backwards
So how do I enable php? Anyone home? Hello? I can't even get a phpinfo page to run. A website somewhere to explain this? Do I need psyhic powers?

Posted: Mon May 09, 2005 6:23 am
by malcolmboston
dogma_spelled_backwards wrote:So how do I enable php? Anyone home? Hello? I can't even get a phpinfo page to run. A website somewhere to explain this? Do I need psyhic powers?
and you expect people to answer you?

Posted: Mon May 09, 2005 6:33 am
by Chris Corbyn
Have you made any changes to your httpd.conf file?

You'll need to load a PHP5 module for Apache...

Posted: Mon May 09, 2005 6:46 am
by phpScott
have you read the install file or readme text, it is pretty good about explaing how to set php.

If you had you would have noticed it says to use php.ini-recommended

also you would have read how to add the modules to your http.conf file.

after you have done this and are still having problems then ask agian.

Posted: Wed May 18, 2005 12:07 pm
by nawhaley
I'm having the same issue. I set up my httpd.conf for apache 1.3 and downloaded the binaries for php5. I then alterd the php reccomended file to php.ini and put in the diectorys for my rootdiectory as well as putting all the configuration for Apache to recognize it and all I get is an html page coming up reading of my php script its not interpreting it. Its becoming very very frustrating can someone assist me please?