| Thiago Pojda 2008-02-21, 7:04 pm |
|
I found out that my problem was using apache2 apxs2 to build php.
I tried: './configure
--with-oci8-instant-client=3D/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=3D/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@softpartech.com.br]=20
Enviada em: quarta-feira, 20 de fevereiro de 2008 09:32
Para: 'Tom Rogers'
Cc: php-general@lists.php.net; '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=3D/oracle/instantclient/'
'--with-apxs2=3D/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=3D"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=3D128 -D =
HTTPD_ROOT=3D""
-D SUEXEC_BIN=3D"/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG=3D"/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD=3D"logs/apache_runtime_status"
-D DEFAULT_LOCKFILE=3D"/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG=3D"logs/error_log"
-D AP_TYPES_CONFIG_FILE=3D"/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE=3D"/etc/apache2/apache2.conf"=20
-----Mensagem original-----
De: Tom Rogers [mailto:trogers@kwikin.com] Enviada em: ter=E7a-feira, 19 =
de
fevereiro de 2008 20:40
Para: Thiago Pojda
Cc: php-general@lists.php.net
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> =20
TP> I'm trying to use zend platform and it requires the Thread Safety=20
TP> option set to off.
TP> =20
TP> I just compiled php and I can't find what argument to build php that =
TP> way, what am I missing?
TP> =20
TP> PHP 4.4.8
TP> =20
TP> =20
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
|