1 on 1 web hosting - 652 Part V . Running Servers Figure 24-1:

652 Part V . Running Servers Figure 24-1: The PHP information page. If, instead of an information page, you are prompted to download the file, check the appropriate PHP installation section (earlier in the chapter) to verify that all the steps were completed successfully. After everything is tested and working, it s safe to remove the info.php file that you created: # rm -f /var/www/info.php Installing MySQL The MySQL database system is divided into three main packages: the server, clients, and client libraries. The server is contained within the mysql-server package and requires the other two to function. APT is aware of this, which means the packages will be installed automatically when you install mysql-server: Make sure the host name settings have been configured as described in Chapter 9 before installing the mysql-server package. Failure to do so could result in an error that causes the installation to fail. # apt-get install mysql-server The installation scripts in the mysql-server package provide you with a couple of notices and ask whether you want to remove databases when purging the mysqlserver package. No is the safest option because it reduces the chance of accidentally losing your data. You also are asked whether you want the MySQL server to start on boot. You should probably say Yes here. Note
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.

Leave a Reply