PHP thread-safe config...
Posted: Mon Sep 18, 2006 8:05 pm
Hi Ya'll...
trying to build PHP5 for a somewhat unusual configuration...
Apache 2 / SSL
thread-safe mode
Mac OS 10.4
Using this configure command
% ./configure \
% --prefix=/sw/etc/apache2/php \
% --with-zlib \
% --with-xml \
% --with-ldap=/usr \
% --enable-cli \
% --with-zlib-dir=/usr \
% --enable-exif \
% --enable-mbstring \
% --enable-mbregex \
% --enable-dbx \
% --enable-sockets \
% --with-iodbc=/usr \
% --with-curl=/usr \
% --with-mysql=/usr/local/mysql \
% --with-apxs2=/sw/sbin/apxs \
% --enable-roxen-zts \
% --enable-safe-mode \
% --enable-thread-safty \
% --with-ssl=/sw/etc/ssl \
% --enable-ssl=/sw/etc/ssl
% sudo make
% sudo make install
% sudo apache sslstart
I get this error when I start apache:
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
Primarily I am trying to get thread-safety installed correctly.
Anyone see what I'm doing wrong?
Thanks,
Christopher
trying to build PHP5 for a somewhat unusual configuration...
Apache 2 / SSL
thread-safe mode
Mac OS 10.4
Using this configure command
% ./configure \
% --prefix=/sw/etc/apache2/php \
% --with-zlib \
% --with-xml \
% --with-ldap=/usr \
% --enable-cli \
% --with-zlib-dir=/usr \
% --enable-exif \
% --enable-mbstring \
% --enable-mbregex \
% --enable-dbx \
% --enable-sockets \
% --with-iodbc=/usr \
% --with-curl=/usr \
% --with-mysql=/usr/local/mysql \
% --with-apxs2=/sw/sbin/apxs \
% --enable-roxen-zts \
% --enable-safe-mode \
% --enable-thread-safty \
% --with-ssl=/sw/etc/ssl \
% --enable-ssl=/sw/etc/ssl
% sudo make
% sudo make install
% sudo apache sslstart
I get this error when I start apache:
Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed
Primarily I am trying to get thread-safety installed correctly.
Anyone see what I'm doing wrong?
Thanks,
Christopher