mailerhwa.blogg.se

Php5 has no installation candidate
Php5 has no installation candidate






Use a secure password and make sure you don’t forget it. In the process, installer should ask you for the root password. Press Enter and then press Y and then press Enter to confirm. To install MariaDB/MySQL, run the following command: sudo apt-get install mysql-server mysql-client I will install MariaDB database, it’s the same as MySQL other than the license. Now we got PHP5 and Apache HTTP Server working. Which states that PHP5 is configured correctly and it’s working. Now open your web browser and go to either or and you should see the following page. The contents of the “index.php” file is given below: By the way, the DocumentRoot or WebRoot is in the “/var/I changed into “/var/Then I am going to create “index.php” with “nano”. I am going to create a simple PHP script on the WebRoot of Apache server and run it.

php5 has no installation candidate

You should see the following page, which means Apache is working. Once it’s installed, open your web browser and go to or It should take a minute or so to install depending on your Internet speed. Once you press enter, you should see the following. 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”.

php5 has no installation candidate

I will use Apache as the HTTP server and MariaDB/MySQL as the database.

php5 has no installation candidate

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.








Php5 has no installation candidate