PHP 4.0 Bug #7212 Updated: Writing to HTTPD.Conf
| From: | clivestorey at cwcom dot net | Date: | Mon, 16 Oct 2000 19:18:12 +0000 |
| Subject: | PHP 4.0 Bug #7212 Updated: Writing to HTTPD.Conf | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35181@lists.php.net to get a copy of this message | ||
ID: 7212
User Update by: clivestorey@cwcom.net
Status: Open
Bug Type: *General Issues
Description: Writing to HTTPD.Conf
Hi
After another 8 hrs we have tried a variety of new things.
We dumped php-4.0.3 and installed php-4.0.3pl1 followed the instructions for DSO install using:
./configure --with-mysql=/usr --with-apxs=/usr/sbin/apxs
make
make install
there were no faults.
In the httpd.conf file the programme had now written the AddModules mod_php4.c to the correct
location but still puts LoadModule php4_module lib/apache/libphp4.so at the bottom of the file.
Moving this to the correct location and running apache we get the error that it cannot find the file
etc/httpd/lib/apache/libphp4.so which is correct because this does not excist. On changing the path
to modules/libphp4.so and checking with httpd -t we get SYNTAX OK segmentation fault (core dump).
This problem
is shown in bug 5701/4850
We have also encountered all of the syptoms in bug 6803/6674/5791/5758
As stated somewhere it is very frustating that we could get php-4.0.2 working
Previous Comments:
---------------------------------------------------------------------------
[2000-10-14 17:37:53] clivestorey@cwcom.net
After 27 hours of trying to install PHP4.0.3 we are lost. I cannot see the trouble we are having
anywhere else/ so this maybe a bug or just us newbies.
Apache 1.3.x
We configured php-4.0.3 with
./configure --with-mysql=/usr --with-apxs there were no problems or error messages , nor with make
& make install. On checking the httpd.conf file we see that the install programme has written
to the file:
LoadModule php4_module lib/apache/libphp.so
AddModule mod_php4.c
We assume the programme is instructed to right these at the place after where it finds the last
corresponding entry. In our case this places them after
LoadModule put module modules/mod_put and
AddModule mod_php4.c
this is way down in the section for home/http/html and causes the server not to run. We believe
they should be placed in the section where all the other LoadModules are,
is this correct?
Also the programme sends the LoadModule php4_module to the path /lib/apache/libphp4.so. We do not
have that directory. We do have usr/lib/apache/libphp4.so but on using that it states that the
directory does not exist. We also have (etc/httpd/conf/)modules/libphp4.so, we tried that path
without success.
Your help would be much appreciated
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7212