• 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.

Compiling Extensions for php5.6

Christoph

New Pleskian
Hi,

I updatet my plesk today from 10.3 to 12.0... so I am "kind of new" to the new features.
It's a pleasure, to be able to use php 5.3 and 5.6 both.
But I ran into troubles when building modules. 5.3 is "standard" for plesk, right? And if I want to work with 5.6, I only have those little installation in /opt/plesk/php/5.6 ?
Thats not much :( I had to install for example phpdevel using yum (I am working on CentOS 6.2).
After compiling with phpize & co, I get the warning that my module-APi doesn't match between "Module compiled" and "PHP compiled"...
Now my question: How can I install the correct phpize-version?

I searched a lot on the internet and I know about "yum search php56"... but sadly, the following doesn't help:
Code:
yum install plesk-php56-devel.x86_64
I somehow always gets the phpize-setup for php5.3.

I would be also fine to "override" the default version (so that 5.6 is server-wide default), but I think thats not possible?

Thanks in advance!
 
Hi,
Thanks for the answer, tried it but it results in "package already installed" (ssems to be the same package I found with yum?)
And if I check the phpize-version using:
Code:
/usr/bin/phpize -v
I get:
Code:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
which is not compatible to the php5.6 - installation?
 
@Cristoph,

Start with a full removal of plesk-phpxx-devel and ALL associated packages (there are many, so be certain that all are removed with yum).

Afterwards, install the package with the link provided by @IgorG, that should do the trick.

Regards.....
 
Very great support here, thank you!
That worked for me (at least, it looks like, phpinfo tells me it loads the modules :) )

For anyone having similar problems, my thoughts:
I had to uninstall phpdevel twice (once for 5.3, once for 5.6)
I had to look for the new installed phpdevel from IgorG, it was located in /opt/plesk/php/(version)/bin/ (no longer in /usr/bin/ !)
I had to do some "make clean" until it compiled fine

Thank you again, I am very happy with your support (for comparison: my hosting-provider didn't understand what I was looking for and the serverfault-community closed my question)
 
@Christoph,

No problem, glad to be of any assistance. Any "like" would be much appreciated.

Note that the Plesk forum is quite unique: besides the considerable and knowledgeable Plesk Team, the forum has it´s own base of (voluntary) Plesk Experts.

By the way, in my humble opinion, you should consider to evaluate the services of your hosting provider: if your hosting provider does not want to and/or cannot help you in this type of issues, that really are not rocket science, (generally) a bad omen for the future is present.

In my humble opinion, it can do no harm to investigate other hosting providers: service can only improve, otherwise just stay at the current provider.

Regards.....
 
Back
Top