Strange error with pre2 and apache on OSX 10.2
| From: | J�nos" "L�bb | Date: | Wed, 06 Nov 2002 18:53:19 +0000 |
| Subject: | Strange error with pre2 and apache on OSX 10.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9055@lists.php.net to get a copy of this message | ||
Hi,
Last Thursday I configured php-4.3.0pre2 with the following options:
[Hun:data/downloads/php-4.3.0pre2] janos% cat config.nice
#! /bin/sh
#
# Created by configure
'./configure' \
'--prefix=/Volumes/Apps/php430' \
'--with-apxs' \
'--with-pgsql=/Volumes/Apps/pgsql' \
'--with-sybase-ct=/Applications/Sybase/System/OCS-12_5' \
'--without-mysql' \
"$@"
After make and make install I had no problem to do apachectl restart and
here is what I have in the error_log file:
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/janos.conf
Processing config file: /private/etc/httpd/users/postgres.conf
[Thu Oct 31 14:52:06 2002] [warn] module mod_WebObjects.c is already
added, skipping
[Thu Oct 31 14:52:07 2002] [notice] Apache/1.3.26 (Darwin)
PHP/4.3.0-pre2 configured -- resuming normal operations
[Thu Oct 31 14:52:07 2002] [notice] Accept mutex: flock (Default: flock)
and was able to show phpinfo() via the apache server.
Now yesterday I wanted to demonstrate it and found that apache was not
running. When I wanted to start it, I got this into the error_log file:
Processing config directory: /private/etc/httpd/users
Processing config file: /private/etc/httpd/users/janos.conf
Processing config file: /private/etc/httpd/users/postgres.conf
[Tue Nov 5 13:22:07 2002] [warn] module mod_WebObjects.c is already
added, skipping
[Tue Nov 5 13:22:07 2002] [crit] (13)Permission denied: make_sock:
could not bind to port 80
In the console I have these messages:
Syntax error on line 239 of /etc/httpd/httpd.conf:
Cannot load /usr/libexec/httpd/libphp4.so into server: (reason unknown)
/usr/sbin/apachectl start: httpd could not be started
Now, the 239 line in /etc/httpd/httpd.conf is:
LoadModule php4_module libexec/httpd/libphp4.so
looking it from terminal in the /usr/libexec/httpd directory:
-rwxr-xr-x 1 root wheel 4965744 Oct 31 14:51 libphp4.so
looks just like all the other modules listed there and has the right
creation date when make install was run last Thursday.
The machine was not restarted from Thursday to Tuesday - not counting
the daily and weekly OSX self maintenance - and no new software was
installed on it.
Any good insight what is going on ?
Thanks ahead,
János