Php5 has no installation candidate5/26/2023 ![]() To install Apache and PHP5 on Ubuntu 17.10, run the following command: sudo apt-get install php5.6 php5.6-mysql php5.6-gd php5.6-mcrypt php5.6-mbstring php5.6-sqlite3 apache2 libapache2-mod-php5.6 Once you’re done, update the package repository cache with the following command: sudo apt-get updateĪt this point, we have the PPA added and everything is ready. ![]() Pressing enter is required to add new PPAs. So open your terminal and run the following command and press several times. Here, the lines that start with ‘sudo’ are the commands that you have to run in the terminal in order to add the PPA. ![]() If you scroll down a little bit, you should see the following section “Adding this PPA to your system”. I will use Apache as the HTTP server and MariaDB/MySQL as the database. ![]() So in this article, I will add a PPA and go through the steps to install and configure a fully functional PHP5 webserver. Compiling software from source is not for new users. So how do we get it? Well, you can add a PPA that provides PHP 5 or compile it yourself. PHP 5 is not available in the official repository. In this article, I will show you how to get PHP 5 web server ready on Ubuntu 17.10. The latest Ubuntu releases use PHP 7 for it’s LAMP stack. If you’ve tried to install PHP 5 on the latest release of Ubuntu (which is at of this writing Ubuntu 17.10), you know that it’s not available in the official repository of Ubuntu.
0 Comments
Leave a Reply. |