Click to See Complete Forum and Search --> : PHP kills Apache on start, but not on restart


Anon
09-25-2000, 02:33 AM
This is a nice and strange problem I'm hopeing someone has some experience with.

My Box:
PowerMac 7600
YellowdogLinux 1.2 (a Redhat-based(?) distro for PPC)
Apache 1.3.12
PHP 4.0.2 (As Dynamic Module)
MySQL 3.22.32

When the web server is off. I can not get it to start with the php directives in the httpd.conf file. I get no errors, and no messages in the log. However, if I comment out the php directives, it starts just fine. What gets me is if I re-edit the httpd.conf file and bring back the php directives, a restart loads the php stuff with no problems.

Is there something wrong with my build somewhere, or simply something silly I did? Anyone have any clues on where and how I can start looking?

Thanks

Anon
09-25-2000, 03:08 PM
I had the same symptoms. I tried a few days to do this and that but nothing helped. Then I nuked Apache and PHP4 and started all over and followed all the instructions on DevShed and then it worked. I think that what I missed at first was to copy the php.ini file to the directory with where httpd.conf is (read php.ini). Good Luck.

Anon
10-06-2000, 02:04 PM
I am getting the same thing...I used a swith for the ini file --with-config-file-path=/usr/local/etc and put the ini there but I still have the same problem.