Hello all,
I want to compile apache and php with suexec support.
php scripts can run in safe mode and no need to add #!/usr/local/bin/php to the php scripts.
Would you mind to share your experience with me?
I've tried in apache 1.3.24 with php 4.1.2. It is not success. always show 500 error.
I've tried the old method, hack the suexec.c . But, it do not support safe mode on for php 4.1.2.
(workable for php 4.0.4p1, apache 1.3.17)
On the other hand, without modified suexec.c. and run php in cgi mode.
It always show the path #!/usr/local/bin/php on the top of webpage....
if I do not add #!/usr/local/bin/php to the script. the php script can not run successfully.
Is it the bug of php?