Make sure to use the system's own Apache (the most popular Web server platform on the UNIX platform) to find all the RPM packages starting with MySQL (the best combination with PHP) and PHP (the current mainstream development language)-mysql (and the best combination of PHP) from the installation CD, And then run
#rpm-IVH MySQL (and the best combination of PHP collocation) *.rpm PHP (as the current mainstream development language)-mysql (and PHP collocation of the best combination) *.rpm; MySQL (and PHP collocation of the best combination) _install_db; Service MySQL (the best combination of PHP collocation) start
Apache (the most popular Web server platform for UNIX platforms) + PHP (as the current mainstream development language):
[1] Install the all the component of "Web Server" group. If you had not installed "httpd" or if the PHP (as is now the mainstream development language) are not installed, you can just execute "redhat-config -packages "To get a user-friendly GUI to add/remove any packages.
[2] By default, the PHP (as is now the mainstream development language)-mysql (and PHP collocation of the best combination) cooperation package would not be installed. Get the
RH8 Disc 3 and install the RPM package: "PHP (as the current mainstream development language)-mysql (and PHP collocation of the best combination) -4.2.2-8.0.5.i386.rpm"
[3] modify/etc/php (as the current mainstream development language). ini, change "register_globals = Off" to "register_globals = on"
MySQL (Best Mix with PHP):
[1] Install all the "Database Server" group. If you had not installed the MySQL (and PHP collocation of the best combination) server, you can just use "redhat-config-packages" to add it.
(RH8 DISC2 and disc3 are needed)
[2] Exceute the following commands:
# MySQL (the best mix with PHP) _install_db
# service MySQL (and PHP collocation of the best combination) d start
# MySQL (best combination with PHP) admin-u root password password
Installation of PHP (as the current mainstream development language) app:
[1] Extract any tools or applications written in PHP (as the current mainstream development language) to a directory.
[2] Copy all of the contents to Apache (Unix platform's most popular Web server platform) s default document root,/var/www/html, and make sure the file "ind Ex.php (as the current mainstream development language) "is in the directory/var/www/html.
Now it's all in a single configuration file, in/etc/httpd/conf.d/php (as the mainstream development language now). conf
http://www.bkjia.com/PHPjc/508687.html www.bkjia.com true http://www.bkjia.com/PHPjc/508687.html techarticle make sure to use the system's own Apache (the most popular Web server platform on the UNIX platform) to find out all the best combinations of MySQL (and PHP collocation) and PHP from the installation CD (as the current mainstream development ...) .