• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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