• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question pthread PHP 5.4 - plesk

talnaim2323

New Pleskian
Hi all , i need enable "pthread" on php , im use plesk and php 5.4
i didnt find that so i think its not installing , my question how do it ? and if its possible do it with php 5.4 ?
 
It’s a really bad idea to still use the ancient and EOLed PHP5.4 version.

But you could try to compile pthreads PHP module with following steps (I do not have servers with such an ancient PHP version to write exactly the working way, so I give you only general steps that you can adapt yourself):

# yum install make gcc plesk-php54-devel
# /opt/plesk/php/5.4/bin/pecl install pthreads
# echo "extension=threads.so" > /opt/plesk/php/5.4/etc/php.d/threads.ini
# plesk bin php_handler --reread

Check that module is loaded:

# /opt/plesk/php/5.4/bin/php -m | grep threads
 
It’s a really bad idea to still use the ancient and EOLed PHP5.4 version.

But you could try to compile pthreads PHP module with following steps (I do not have servers with such an ancient PHP version to write exactly the working way, so I give you only general steps that you can adapt yourself):

# yum install make gcc plesk-php54-devel
# /opt/plesk/php/5.4/bin/pecl install pthreads
# echo "extension=threads.so" > /opt/plesk/php/5.4/etc/php.d/threads.ini
# plesk bin php_handler --reread

Check that module is loaded:

# /opt/plesk/php/5.4/bin/php -m | grep threads
Im use php 5.4
Because its really old website
and im not developer to upgrade all site to php 7+
Thanks!!
 
Back
Top