Installing PHP4 And PHP5 On Ubuntu - How to install PHP4 & PHP5 On Ubuntu in simple steps. В Please follow the following steps.
In this page, Apache refers to the Apache version 1. Apache. 2refers to Apache version 2. Apache. 2 is the recommended version, presently. Installing PHP4 aloneserver@ubuntu: ~$ sudo apt- get install - s php. Installing php. 4 by itself will bring in libapache. Installing both PHP4 & PHP5server@ubuntu: ~$ sudo apt- get install - s php.
However there are one thing You should take notice of. We have specified the config file path (where the php.ini resides) to '/etc/php4/apache2/' as You can probably guess from this naming. Installing Apache2 With PHP5 And MySQL Support On Ubuntu 12.04 LTS (LAMP) LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how yo. Installing php4 alone. apache2-common apache2-mpm-prefork apache2-utils libapache2-mod-php4 libapr0 libzzip-0-12 php4-common php5-cgi. ~$ sudo apt-get install -s php5 libapache2-mod-php5 php4 Reading. ApacheMySQLPHP. Hint. apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl libpq5. Installing Apache 2.
Installation and Configuration. General Installation Considerations; Installation on Unix systems. Installing a PHP extension on Windows; Compiling shared PECL extensions with the pecl command; Compiling shared PECL.
Installing both php. If libapache. 2- mod- php. Apache (as well as apache. PHP4server@ubuntu: ~$ apt- cache show php.
Package: php. 4…Depends: libapache. Php. 4 depends on either libapache. PHP5server@ubuntu: ~$ apt- cache show php. Package: php. 5…Depends: libapache. Php. 5 will only depend on libapache.
There is no libapache- mod- php.