I am trying to upgrade my PHP installation on Ubuntu 10.04 LTS but to no success.
I am trying to upgrade from: 5.3.2-1ubuntu4.5 with Suhosin-Patch tot PHP 5.3.3
This:
sudo apt-get install PHP5-cgi PHP5-cli
did not do the job. Any idea's?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI am trying to upgrade my PHP installation on Ubuntu 10.04 LTS but to no success.
I am trying to upgrade from: 5.3.2-1ubuntu4.5 with Suhosin-Patch tot PHP 5.3.3
This:
sudo apt-get install PHP5-cgi PHP5-cli
did not do the job. Any idea's?
PHP 5.3.3 is not yet available from the Ubuntu repository (as can be seen here), you can download the source and compile manually though. Download the source here.
The patch is packaged for Ubuntu as php5-suhosin
.
PHP 5.3.3 installation or up-gradation on linux machine,from this site
Commands to proceed the installation -
copy PHP_5.3.3.tar file on the local machine using WinSCP or share drive
Untar the tar file use below command
tar -xvf PHP_5.3.3.tar
Then copy or move Unzipped/untar Folder in "usr/opt"
cd /usr/opt
cd PHP_5.3.3
./configure
make
make install
Installation will take 2/3 mint to upgrade or install the services.
once the installation complete kindly check the installation status or PHP status using below command
command : php -v
above did not work I followed the tutorial here
sudo aptitude install php5 php5-cli