Charalampidis_Alexandros
Basic Pleskian
How can I upgrade my PHP Version to 5.4.x (I don't care about x)
I'm running Plesk, on Ubuntu 12.04 x64.
I didn't find a guide.
I'm running Plesk, on Ubuntu 12.04 x64.
I didn't find a guide.
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php5-oldstable
sudo apt-get update
sudo apt-get upgrade
sudo add-apt-repository ppa:ondrej/php5
...
The following packages have been kept back:
libapache2-mod-php5 php5-cgi php5-cli php5-common php5-curl php5-fpm php5-gd php5-imap php5-mysql php5-sqlite php5-xsl
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded
Hi LaurentR2D2,
sorry to write that, but you made a whole mess out of it, just disabling modules because of conflicts, without investigating and solving the issues.
I would suggest in the first place to run the bootstrapper - repair - procedure, before you continue to solve the possible still existent issues afterwards:
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
Please post any logfiles and issues after your repair - procedure, so that we could suggest following steps.
Hi LaurentR2D2,
could you please have a look if the file "/var/log/plesk/install/plesk_12.0.18_repair_problems.log" exists as well and could you please attach it, if it does?
Your first step could be to update/patch your current Plesk version with the command:
/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base
Then, please DISABLE SELinux if it is enabled, because this might conflict with Plesk and its components, if SELinux isn't configured ( has to be done manually, because each system is unique! ) right.
Afterwards, please try to restore some files, because the bootstrapper - log tells you: "perhaps this is not an Apache module DSO, or was compiled for a different Apache version?"
/usr/local/psa/bin/reconfigurator --autoconfigure
and rebuild the webserver configuration files again with the command:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
If you still experience issues, then please restore your old state, because your PHP-upgrade might be unfinished and files might be missing. Remove the suggested repository from you sources lists and downgrade to PHP5.3. If you are not familiar with apt-get and its possible additional strings, please always use "aptitude" instead, because it will always show possible different solutions, when updating/upgrading your system ( you will see the next choice, by choosing "NO" on the command line - please have a closer look at the aptitude manual at: https://help.ubuntu.com/10.04/serverguide/aptitude.html for details.
After your downgraded to PHP5.3 ( and a hopefully "correct" system, with no issues! ), you could retry the upgrade to PHP5.4 like suggested before... maybe with aptitude instead of apt-get, because it could be easier for you.
Please always read the lines, before you accept choices from apt-get and/or aptitude. If the choice would be to remove nearly all Plesk components, it might not be the right solution for you and another choice should be made to reach your goal... so please be carefull and be sure that you understand what happens when you hit "yes". If you are unsure, it would be wise to ask again, instead of following suggestions with closed eyes - each system is unique and suggestions sometimes have to be modified to fit your own needs.