#22815 [Opn]: Apache doesn't start
| From: | moriyoshi@php.net | Date: | Fri, 21 Mar 2003 22:09:46 +0000 |
| Subject: | #22815 [Opn]: Apache doesn't start | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36141@lists.php.net to get a copy of this message | ||
ID: 22815
Updated by: moriyoshi@php.net
Reported By: busia at tiscali dot it
Status: Open
Bug Type: Apache2 related
Operating System: Linux Redhat 7.2
PHP Version: 4.3.2RC1
New Comment:
Using Apache2 SAPI module in worker model is highly discouraged because
PHP has not completely been confirmed to be a thread-safe
implementation. If you even want to use it within such a real threaded
environment, you have to specify --enable-experimental-zts in the
configure line.
Then try configuring Apache2 to use prefork model and see if the
problem still persists.
Previous Comments:
------------------------------------------------------------------------
[2003-03-21 15:58:57] busia at tiscali dot it
I have also tried lastest 4.3.x stable snapshot from snaps.php.net. The
problem persists
------------------------------------------------------------------------
[2003-03-21 09:52:48] busia at tiscali dot it
I have installed PHP4.3.2RC1 on apache 2.0.44.
Apache doesn't start. In the error_log I see:
-------------------------
[Fri Mar 21 16:19:46 2003] [notice] Digest: generating secret for
digest authentication ...
[Fri Mar 21 16:19:46 2003] [notice] Digest: done
-------------------------
instead of:
-------------------------
[Fri Mar 21 16:53:02 2003] [notice] Digest: generating secret for
digest authentication ...
[Fri Mar 21 16:53:02 2003] [notice] Digest: done
[Fri Mar 21 16:53:03 2003] [notice] Apache/2.0.44 (Unix) configured --
resuming normal operations
-------------------------
PHP configure:
./configure --enable-track-vars --prefix=/usr --exec-prefix=/usr
--libexecdir=/usr/lib/apache --bindir=/usr/bin --sbindir=/usr/sbin
--datadir=/home/httpd --sysconfdir=/etc/httpd/conf --localstatedir=/var
--libdir=/usr/lib/apache --includedir=/usr/include/apache
--mandir=/usr/man --with-mysql=/usr
--with-config-file-path=/usr/local/Zend/etc --enable-memory-limit
--with-zlib --with-apxs2
Apache 2.0.44 configure:
./configure --enable-layout=RedHat --datadir=/home/httpd
--enable-auth-digest --enable-ext-filter --enable-cgi
--enable-vhost-alias --disable-include --enable-deflate
--enable-mime-magic --enable-expires --enable-headers
--enable-usertrack --enable-unique-id --enable-http --disable-userdir
--enable-so --with-mpm=worker
in httpd.conf:
LoadModule php4_module /etc/httpd/modules/libphp4.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22815&edit=1