Re: ZTS - why are you using it?

From: Date: Tue, 29 Jan 2013 11:45:42 +0000
Subject: Re: ZTS - why are you using it?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-65360@lists.php.net to get a copy of this message
Zeev Suraski in php.internals (Tue, 29 Jan 2013 11:03:51 +0200): >Which brings me to the subject of this mail – why are you using ZTS PHP >instead of single threaded PHP? Quote from a Drupal status report: |Upload progress: Not enabled |Your server is not capable of displaying file upload progress. File |upload progress requires PHP be run with mod_php and not as FastCGI. Besides that I am also experimenting with pthreads. One application has the need to use as much of the CPU resources as possible. Our quad core server is not impressed by single PHP-threads. > The reasons not to use it are few but >fairly major – it’s significantly slower than the non-ZTS PHP, and it’s >significantly less robust in the sense that a single bug somewhere can >bring down an entire server (or at least a bunch of many different >threads). Bringing an entire server down was an issue under old Apaches (in Windows 2k8), but Apache 2.4.3 seems to recover quite well if it ever happens. Jan

« previous php.internals (#65360) next »