PHP ZTS and Mysql support

Support/Development for PHP
xmichielx
Forum User
Forum User
Posts: 42
Joined: Thu Nov 12, 2009 9:01 am

PHP ZTS and Mysql support

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP ZTS and Mysql support

Unread post 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.
xmichielx
Forum User
Forum User
Posts: 42
Joined: Thu Nov 12, 2009 9:01 am

Re: PHP ZTS and Mysql support

Unread post 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.
adam.jimenez
Forum User
Forum User
Posts: 6
Joined: Mon Jun 18, 2007 1:36 pm

Re: PHP ZTS and Mysql support

Unread post by adam.jimenez »

I'm having the same problem, help!
Post Reply