Page 1 of 1

PHP ZTS and Mysql support

Posted: Thu Nov 12, 2009 9:06 am
by xmichielx
Hi,

I am seeing you guys offer the PHP-ZTS package for Apache worker model.
That is really sweet! :)
I am just wondering if it is possible you can provide the package with some common php modules supported?
I have installed php5-mysql an php5-gd but can not get them working with the PHP5-ZTS package, infophp shows me:
'--without-mysql' '--without-gd'

Therefor most of my php apps wont work.
Is it possible to provide a PHP5-ZTS package which uses the already installed php5-mysql of other mysql package to provide a mysql backend?

Edit: I don't see an Mysql or Mysqli extension which I am seeing with the php prefork/normal php option enabled.

Thanks in advance.

Kind regards,

Michiel

Re: PHP ZTS and Mysql support

Posted: Thu Nov 12, 2009 10:48 am
by scott
phpinfo will not tell you the whole story any more (since 5.2.0), you really need to look at the .spec file to get the exact configuration:

http://www4.atomicorp.com/channels/source/php/php.spec

You'll see it uses a modular architecture, with the shared objects being built during the php-cgi phase.

Re: PHP ZTS and Mysql support

Posted: Thu Nov 12, 2009 1:56 pm
by xmichielx
Hmm but why isn't it using the mysql options then or what should I do to enable them?
phpinfo does show or mysql/mysqli is enabled or not in the bottom list with all enabled modules.
With php5-zts I can not find them anywhere.

Re: PHP ZTS and Mysql support

Posted: Fri Jun 17, 2011 12:15 pm
by adam.jimenez
I'm having the same problem, help!