• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

[PPP-1774] Install PHP 5.6 module

philippL

New Pleskian
I was trying to install oauth - but unlike here
using /opt/plesk/php/5.6/bin/pecl didn't work. It didn't use the correct API version:
(see attachment)

So I uninstalled it and tried
Code:
/opt/plesk/php/5.6/bin/pecl config-set php_ini /opt/plesk/php/5.6/etc/php.ini
/opt/plesk/php/5.6/bin/pecl config-set php_bin /opt/plesk/php/5.6/bin
and redid the installation but that didn't have any effect.

Does anyone know a solution or do I have to compile a completely new PHP for myself?

(It seems opt/plesk/php doesn't have a phpize5 nor a php-config.)
 

Attachments

  • log.zip
    3.2 KB · Views: 1
Last edited:
Yes, the problem in that pecl for module compilation uses system phpize but not from corresponding Odin php-devel packages. For fixing this issue you should install our corresponding php-devel package and compile module again. We have already submitted bug PPP-1774 for adding check that proper phpize present in pecl.
 
Thanks that worked. Installed plesk-php56-dev and did
Code:
/opt/php/5.6/bin/pecl install oauth
again. Compiled with correct API version. Executed
Code:
echo "extension=oauth.so" > /opt/plesk/php/5.6/etc/php.d/oauth.ini
and now
Code:
/opt/plesk/php/5.6/bin/php -i
shows ouath :)
 
Back
Top