I found out that my problem was using apache2 apxs2 to build php.
I tried: './configure
--with-oci8-instant-client=/oracle/instantclient/;make;make install', it's
not thread safe anymore.
But now I ran into another problem: it did not build (of course) a apache2
module, only a CGI. I don't want that, what can I do?
System Linux debian 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007 i686
Build Date Feb 21 2008 10:16:45
Configure Command './configure'
'--with-oci8-instant-client=/oracle/instantclient/'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp
-----Mensagem original-----
De: Thiago Pojda [mailto:thiago.pojda@xxxxxxxxxxxxxxxxxx]
Enviada em: quarta-feira, 20 de fevereiro de 2008 09:32
Para: 'Tom Rogers'
Cc: php-general@xxxxxxxxxxxxx; 'PHP Install'
Assunto: RES: [PHP] Thread Safety
Tom,
That did not do it either. I'm sure I'm missing something stupid, just can't
find out what.
PHPInfo:
System Linux debian 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i686
Build Date Feb 20 2008 05:43:08
Configure Command './configure'
'--with-oci8-instant-client=/oracle/instantclient/'
'--with-apxs2=/usr/bin/apxs2' '--disable-zts'
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path /usr/local/lib/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety enabled
Registered PHP Streams php, http, ftp
Apache:
debian:/usr/src/php-4.4.8# apache2ctl -V Server version: Apache/2.2.3
Server built: Jan 27 2008 18:13:21
Server's Module Magic Number: 20051115:3 Server loaded: APR 1.2.7, APR-Util
1.2.7 Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D
APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D
SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D
AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT=""
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
-----Mensagem original-----
De: Tom Rogers [mailto:trogers@xxxxxxxxxx] Enviada em: terça-feira, 19 de
fevereiro de 2008 20:40
Para: Thiago Pojda
Cc: php-general@xxxxxxxxxxxxx
Assunto: Re: [PHP] Thread Safety
Hi,
Wednesday, February 20, 2008, 3:00:28 AM, you wrote:
TP> Not quite sure if this is the right list, but here I am...
TP>
TP> I'm trying to use zend platform and it requires the Thread Safety
TP> option set to off.
TP>
TP> I just compiled php and I can't find what argument to build php that
TP> way, what am I missing?
TP>
TP> PHP 4.4.8
TP>
TP>
TP> Thanks!
--disable-zts should do it
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]