¿Cómo actualizar PHP en Ubuntu 14?

¿Cómo actualizar PHP en Ubuntu 14?

Para hacer más fácil la instalación ejecutar los siguientes comandos

sudo mkdir -p /opt/php-7.3
sudo mkdir /usr/local/src/php7.3-build
cd /usr/local/src/php7.3-build
sudo wget http://de2.php.net/get/php-7.3.11.tar.bz2/from/this/mirror -O php-7.3.11.tar.bz2
sudo tar jxf php-7.3.11.tar.bz2

cd php-7.3.11/

##por si necesitas personalizar la instalación
##sudo ./configure --prefix=/opt/php-7.3 --with-pdo-pgsql --with-zlib-dir --with-freetype-dir --enable-mbstring --with-libxml-dir=/usr --enable-soap --enable-calendar --with-curl --with-mcrypt --with-zlib --with-gd --with-pgsql --disable-rpath --enable-inline-optimization --with-bz2 --with-zlib --enable-sockets --enable-sysvsem --enable-sysvshm --enable-pcntl --enable-mbregex --enable-exif --enable-bcmath --with-mhash --enable-zip --with-pcre-regex --with-pdo-mysql --with-mysqli --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-jpeg-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --with-openssl --with-fpm-user=www-data --with-fpm-group=www-data --with-libdir=/lib/x86_64-linux-gnu --enable-ftp --with-imap --with-imap-ssl --with-kerberos --with-gettext --with-xmlrpc --with-xsl --enable-opcache --enable-fpm#

sudo apt-get install libqt4-dev
sudo apt-get install libjack0
sudo apt-get install libjack-dev
sudo apt-get install libasound2-dev
sudo apt-get install libsndfile1-dev

sudo ./configure
sudo make
sudo make install

##reiniciar Apapache2
sudo service apache2 restart

## sudo aptitude install apache2 apache2-suexec libapache2-mod-fcgid php5-cgi

Deja un comentario

diecisiete + 1 =

Cerrar menú