Linked Questions
25 questions linked to/from What is thread safe or non-thread safe in PHP?
6 votes
1 answer
2k views
What does thread safe mean in a PHP context? [duplicate]
Possible Duplicate: What is thread safe or non thread safe in PHP What does it mean when something is or is not thread safe? For example, setlocale() in PHP is not thread safe: The locale ...
1 vote
0 answers
70 views
Command Line PHP - Is it Thread Safe? [duplicate]
The title says it all. I have read several stackoverflow questions with regards to Apache/Nginx/etc, where the question mostly focuses on thread safety between PHP and the web server. However I ...
126 votes
7 answers
65k views
Find if the installed PHP is threadsafe or nonthreadsafe?
How do I find out whether the installed version of PHP is threadsafe or not thread safe? Please note that I'm not asking the difference between a threadsafe/non thread safe installation. I would like ...
118 votes
3 answers
107k views
PHP Thread Safe and Non-Thread Safe for Windows
I am downloading PHP for Windows. I got 2 options on the website. PHP Thread Safe PHP Non-Thread Safe Please answer the following questions: What is the difference between the two? What are the ...
60 votes
3 answers
43k views
Is PHP thread-safe?
Is PHP (as of 5.2) thread-safe on Linux/UNIX? Would it be possible to use it with Apache Worker-MPM or Event-MPM? The facts I gathered so far are inconclusive: Default binaries included in most ...
43 votes
4 answers
28k views
how are concurrent requests handled in PHP (using - threads, thread pool or child processes)
I understand that PHP supports handling multiple concurrent connections and depending on server it can be configured as mentioned in this answer How does server manages multiple connections does it ...
12 votes
2 answers
81k views
Upgrading Xampp to run php 7
After Reading a couple of question on how to upgrade xampp to newer versions of php. I started upgrading mine to version 7 as I wanted to learn strict type hinting I downloaded php 7 from ...
5 votes
3 answers
19k views
Thread Safety enabled server php
I'm trying to implement threads in php and with xampp on windows I can do this, however i have a linux server with cpanel and in configurations the Thread Safety is disabled, how can i put enabled on ...
7 votes
1 answer
14k views
to use thread safe or non thread safe php?
i wonder which installation to use for my php? i will be using apache. i read that thread safe is faster with apache and non thread safe for IIS? isit true (good to know if i intend to use iis later)?
3 votes
3 answers
20k views
Imagick Not Loaded in PHP
I have installed Imagick on Ubuntu 12.04 but still i get Class 'Imagick' not found When I check through terminal php -m I get [PHP Modules] bcmath bz2 calendar Core ctype date dba dom ereg exif ...
2 votes
1 answer
15k views
PHP OCI8 extensions not working with PHP 7 64 bit
I have installed APACHE 2.4 x64 and PHP7 x64 and download PHP OCI 64bit libraries but the problem is that whenever I run PHP script from cli it says PHP Startup: Unable to load dynamic library 'E:...
4 votes
1 answer
10k views
How do I choose between thread-safe and not thread-safe PHP?
I am developing a Laravel 9.x app in Windows 10. My current version of PHP is PHP 8.1.5 (cli) (built: Apr 12 2022 17:38:57) (ZTS Visual C++ 2019 x64). Is this a thread-safe or not-thread-safe version? ...
2 votes
1 answer
5k views
Is PHP-FPM thread safe
I have a custom PHP module that depends on an external library that is not thread safe. Does FPM use threads or processes to handle requests? Is it safe to use a non-threadsafe php module with PHP-FPM?...
4 votes
1 answer
4k views
How to track down PHP crashes?
I am trying to track down the cause of my Apache PHP crashes. I am hoping there is some kind of setting, tool or something to help track down what code, configuration or what the issue is that is ...
4 votes
1 answer
3k views
How to make windows symlinks work with mod_php?
I am trying to use symbolic links on Windows 7 from within PHP. I am running XAMPP with Apache 2.4.10 and PHP 5.5.15 from a regular user account (non-admin). As suggested in Symlink is not working in ...