Databases Reference
In-Depth Information
Figure 2-5. Red Hat and Fedora package options
the Web Server item. To add PHP support and PHP MySQL libraries, click on the
Details link on the right and select the packages “php” and “php-mysql” from the list;
you should see something similar to Figure 2-6. Once you've done this, return to the
package-selection list and select (put a checkmark) next to the MySQL Database item.
As before, click on the Details link and ensure the “php-mysql” package is selected.
If you already have a running Linux installation, you can use the rpm command to check
whether MySQL, Apache (known as httpd ), and PHP are already installed:
$ rpm --query --whatprovides mysql php php-mysql
mysql-5.0.22-1.FC5.1
mysql-server-5.0.22-1.FC5.1
httpd-2.2.0-5.1.2
php-5.1.4-1
php-mysql-5.1.4-1
If, as in this example, all the necessary packages are installed, you can simply skip to
“Configuring a Newly Installed Server,” later in this chapter.
If the packages aren't present, you'll see messages like this:
no package provides php
 
Search WWH ::




Custom Search