This was exactly the problem I had too. I "played" around trying for
force it, but I ended up with it working and without any modifications
to files (that I am aware of), so I can't tell you the answer. I should
have noted exactly what I did.
I started by modifying /etc/init.d/httpd to force "-DHAVE_PHP4" to be
appended to the "echo ${moduleargs}" line, and also tried generating a
/etc/sysconfig/apache file to do this but without success.
I've ended up with apache being started manually (by turning it off with
chkconfig), the standard /etc/init.d/httpd file and no
/etc/sysconfig/apache file. When I now start apache with
"/etc/init.d/httpd start" I have the "-DHAVE_PHP4" and php works!
I'd rather like to get to the bottom of this myself as I've just ordered
7.3 so will be going through this myself soon.
Anyone else got any ideas?
Regards
Chris
Miklos Bagi Jr. wrote:
If you do a "ps ax|grep httpd", do you get "-DHAVE_PHP4" on each line?
no, I dont. I have the following ones only:
-DHAVE_ACCESS -DHAVE_PROXY -DHAVE_AUT