For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > February 2008 > RES: [PHP-INSTALL] Re: [PHP] Thread Safety









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RES: [PHP-INSTALL] Re: [PHP] Thread Safety
Thiago Pojda

2008-02-19, 7:19 pm



-----Mensagem original-----
<quote.
De: Daniel Brown [mailto:parasane@gmail.com]
Assunto: [PHP-INSTALL] Re: [PHP] Thread Safety

On Feb 19, 2008 1:21 PM, Thiago Pojda <thiago.pojda@softpartech.com.br>
wrote:
> I was expecting that. I just compiled it to enable oci8 module and the
> source is ready for modifications. :)
>
> Isn't there any argument you pass to ./configure to disable Thread
> Safety? I didn't find any and neither google or php-install list answer

anything.

Don't quote me on this, and I'll defer to someone that may know better
than I in this case, but I believe that you can pass
'--enable-thread-safety' to ./configure to enable it (default), so I'd
imagine '--disable-thread-safety' would be the flag to send.

You may want to try subscribing to the php-install list (go to
http://php.net/mailing-lists.php). I'm CC'ing your email to that list in
hopes that someone there can better help you.
</quote>

../configure --disable-thread-safety did not do the trick, neither did
--with-tsrm-pthreads=no.

I've tried php-install mailing list and no1 answered.

Going trougth configure script, there are some places with thread_safe
arguments, but messing around didn't help me much.

Perhaps something to do with apxs2?

This is the default configure I need to run, where I'm trying to add no TS
commands:

../configure --with-oci8-instant-client=/oracle/instantclient
--with-apxs2=/usr/bin/apxs2



====
ORIGINAL MESSAGE
====
Not quite sure if this is the right list, but here I am...

I'm trying to use zend platform and it requires the Thread Safety option set
to off.

I just compiled php and I can't find what argument to build php that way,
what am I missing?

PHP 4.4.8


--
</Dan>

Daniel P. Brown
Senior Unix G
<? while(1) { $me = $mind--; sleep(86400); } ?>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com