Thank's ... excelent script ...
Thank's ... excelent script ...
Thanks a million ! You are a lifesaver !!!!!
Thanks! Just upgraded to Ubuntu 12.10, my phprecipedb stopped working. Figured out that it was PHP, did a google search and BAM! Running the script now, we will see what happens.
Also just joined the forum. I will be investigating a lot here.
Ah, thank you! That's extremely helpful.
Panels for Drupal 6 doesn't work well with PHP 5.4, and this has solved my problem.
Thank you very much. Worked well. PHP 5.3 is still recommended for Drupal 6 and 7.
Does it also prevent PHP from being upgraded automatically by the update manager?
i did the downgrade, turns out it made my problems worse.
now i can't php back up again. huge problem.
Code:vm@vmserver:~$ sudo apt-get install php5 -f Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php5 : Depends: libapache2-mod-php5 (>= 5.4.6-1ubuntu1.1) but 5.3.10-1ubuntu3 is to be installed or libapache2-mod-php5filter (>= 5.4.6-1ubuntu1.1) but it is not going to be installed or php5-cgi (>= 5.4.6-1ubuntu1.1) but it is not going to be installed or php5-fpm (>= 5.4.6-1ubuntu1.1) but it is not going to be installed Depends: php5-common (>= 5.4.6-1ubuntu1.1) but 5.3.10-1ubuntu3 is to be installed E: Unable to correct problems, you have held broken packages. vm@vmserver:~$
How to install PHP 5.3.20?
Thank you all.
Some packages give Depends problem:
apt-get install php5-curl
..............
..............
The following packages have unmet dependencies:
php5-curl : Depends: phpapi-20100525
Depends: php5-common (= 5.4.6-1ubuntu1.1) but 5.3.10-1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.
Just to note first of all to check is it they exist in /etc/apt/preferences.d/php5_3 file ...
in my case i just add follow
Package: php5-curl
Pin: release a=precise
Pin-Priority: 991
Then:
#apt-get update
#apt-get install php5-curl
and work fine. It could help and for other PHP 5.3 packages
Thank you for this script! It saved me a ton of time.
After the script finished, apache2 failed to restart, showing me "apache2ctl: command not found." I was able to resolve this by reinstalling apache2:
$ sudo apt-get install apache2
Thank you for the script, it worked. However, When I tried to install other packages like GD, I got the following error:
Below post from "foxy202" helped me to fix the issue to install php5-gd.Code:The following packages have unmet dependencies: php5-gd : Depends: phpapi-20100525 Depends: php5-common (= 5.4.6-1ubuntu1.2) but 5.3.10-1ubuntu3 is to be installed E: Unable to correct problems, you have held broken packages.
Bookmarks