Any plans to add zts php modules?

Asked by Joshua Rusch

So I noticed that your php53u package creates a zts package, but doesn't actually create any zts modules during the build.
The packages at Remi Collet's repo, for instance, all come with zts modules packages in. For instance the php-mysql package comes with both the standard and threadsafe .so files for it.

I like your repository philosophy/rules better than Remi though, so I'm wondering if you have any plans to add in thread safe .so's to your php packages.

Question information

Language:
English Edit question
Status:
Expired
For:
IUS Community Project Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Joshua Rusch (jdr-alexanderinteractive) said :
#2

Hey guys,

Just looking for a yes or no here...not a timeline.

In fact, if the answer is yes, I can attempt to merge the appropriate sections from remi's spec file into yours.

Thanks!

Revision history for this message
BJ Dierkes (derks) said :
#3

Hi Josh, I really apologize... the last 2 weeks have been really hectick. I honestly have not looked into this, however it sounds like something we would want to do as long as it does not affect current installs/builds... meaning the changes only take affect when installing *new* sub packages vs. updating existing ones.

We'll look into this for sure. If you want to submit merge requests via launchpad for the changes that would be very much appreciated.

Revision history for this message
Joshua Rusch (jdr-alexanderinteractive) said :
#4

So you're saying I can't include extra so files in
%{_libdir}/php/modules-zts
in say php53u-mysql like remi does?
It wouldn't change anything about the existing installs other than put an extra .so on the system in a different directory which may not be needed.
You'd want a separate php53u-zts-mysql package?

Thanks!

I'm going to see if I can get a working SPEC going the way Remi does it this weekend, and if necessary, break them out into separate packages in another round of edits...

Revision history for this message
Joshua Rusch (jdr-alexanderinteractive) said :
#5

Hmm, I didn't realize the php faq still urges against using the thread safe version of php. I thought Remi knew something about which modules are thread safe and which aren't, but apparently not..

'Be careful, if an extension is available, this doesn't mean that it will work perfectly, because there is no warranty it's "thread-safe".'

That's from this blog post:
http://blog.famillecollet.com/post/2009/11/14/PHP-5.3%2C-zts-and-mysqlnd

So there's no guarantee on the thread-safety of the actual 3rd party libraries...

I did find this
http://httpd.apache.org/docs/2.2/developer/thread_safety.html#liblist

I believe the postgresql and mysql modules would be safe to add in. But maybe we should all just continue to stick with mod_fcgid for now when using mpm apache :)

I wasn't looking to do anything complex with this, just run wordpress - I wouldn't dare try running something like magento on a threaded php. I do, in fact, have 2 wordpress installs running on a threaded php install and haven't noticed any issue...but they're very low traffic.

Let me know what you think. Add all of them in with a use at your own risk disclaimer? Try to figure out which ones actually are thread safe? Abandon all hope all ye who enter here?

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.