• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Upgrade PHP to 5.3.2?

B

belyakov

Guest
Hello,

I've just installed latest Plesk on a new Fedora Core8 box. Ok, it comes with PHP 5.2.6 but I need the latest 5.3.2 version. So I downloaded and compiled it from from sources like this:


>./configure;
>make;
>make install;


So now I came across a really strange issue: Everything is working fine, the plesk panel, the virtual hosts. When from console I do:

>php -v

I get the php 5.3.2 message, but my virtual hosts still use the 5.2.6 version for some reason. So how can I tell apache where's my PHP located?


Thanks a lot.
Dmitry.
 
Ok, so I guess no one knows.
Let me put it this way: can anyone please tell me where's the plesk PHP located and how can i update that?
 
Just detect original options for ./configure with usual phpinfo() function or with 'php -i' for default installed Plesk PHP and use it for compilation.
 
Your much better building a rpm and installing it, than compiling and copying since the rpm will update properly and compile with all the correct paths.

Take the fedora 13 srpm from koji and install fedora-packager, which will give you buildrpm and associated packages.

I have a friend with a FC7 server and the 5.3.2-f13 php builds perfectly.
 
But compiling options for ./configure should be the same as for original Plesk PHP. Not sure that you can guarantee it with SRPM using.
 
My FC11 and friends FC7 server have rpm built php-5.3.2 using fedora 13 php package from koji.

I yum installed them and plesk and all web sites show php-5.3.2-2 (the srpm was 5.3.2-2.fc13) and the forum specific software is running in php-5.3 mode

I never compile and install files, it's bad housekeeping as Fedora can't then keep track of the library changes. I always build rpms.

You cam then use yum or rpm to downgrade or back out.

Build yourself an updated yum from fc12 srpm and you can simply downgrade with yum downgrade php :)
 
On ubuntu?

How would you do this on Ubuntu? As when I do apt-get install php5 it just says I am already running the latest version - 5.2.4 which obviously isn't the latest version.
I am running Plesk 9.5.2 on ubuntu 8.04 on my VPS and really need to get php upto date to get PCI compliance.
I also need to update apache but it says the same - that i am already running the latest version which I am not apache 2.2.8 if I remember correctly (sorry off topic slightly)

I have added the ubuntu repositaries in the source.list but i still can't seem to get the latest versions.
I want to use apt if possible as I believe it keeps the dependancies - i don't want to screw it up :)

Thanks in advance for any help
Kind regards

Lloyd
(Linux noob)
 
Its .deb based so you also must be able to build packages for it.

Unless your running the very latest version (which plesk won't support yet anyway) your not going to find php-5.3.2 or httpd-2.2.15

However like in Fedora if you take the latest release, you will see these packages. Take the source rpms and build them on your server.

I am sure ubuntu like Fedora has its own forums and documentation about building packages.
 
Back
Top