> 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
Finally I did a "sudo apachectl graceful" and suddenly apache did not
complained but started up. In System Preferences -> Sharing the
Personal Web Sharing got checked, and top showed some httpd processes
running. The man page for apachectl says:
restart Restarts the Apache daemon by sending it a
SIGHUP. If the daemon is not running, it is
started. This command automatically checks
the configuration files via configtest before
initiating the restart to make sure Apache
doesn't die.
graceful Gracefully restarts the Apache daemon by send-
ing it a SIGUSR1. If the daemon is not run-
ning, it is started. This differs from a nor-
mal restart in that currently open connections
are not aborted. A side effect is that old
log files will not be closed immediately.
This means that if used in a log rotation
script, a substantial delay may be necessary
to ensure that the old log files are closed
before processing them. This command
automatically checks the configuration files
via configtest before initiating the restart
to make sure Apache doesn't die.
So looks like start-stop and restart unable to cope with the libphp4.so
created by the --with-sybase-ct option, but graceful can. It does not
seem to me like a bug in the created libphp4.so module but rather a bug
in the 1.3.26 apache.
Any good thoughts ?
J�nos
P.S. Unfortunately this apachectl graceful is working only on my
machine which is one step above 10.2.1, but it does not work on a normal
10.2.1 machine.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php