Install phpmysql quickly in Redhat. Make sure that you use the apache (the most popular WEB server platform on the Unix platform) that comes with the system, and find all MySQL (the best combination with PHP) from the installation disc) and php (as the mainstream development, ensure that apache (the most popular WEB server platform on Unix) is used ), find out all MySQL (the best combination with PHP) and php (as the mainstream development language) from the installation CD-MySQL (the best combination with PHP) and then run
# Rpm-ivh MySQL (the best combination with PHP )*. rpm php (as the mainstream development language)-MySQL (the best combination with PHP )*. rpm; MySQL (the best combination with PHP) _ install_db; service MySQL (the best combination with PHP) start
Apache (the most popular WEB server platform on Unix) + php (as the mainstream development language ):
[1] Install the all the component of "Web Server" group. if you have not installed "httpd" or if the php (as the mainstream development language) support is 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 the mainstream development language)-MySQL (the best combination with PHP) cooperation package will not be installed. Get
RH8 disc 3 and install the rpm package: "php (as the mainstream development language)-MySQL (the best combination with PHP)-4.2.2-8.0.5.i386.rpm"
[3] Modify/etc/php (as the mainstream development language). ini, change "register_globals = Off" to "register_globals = On"
MySQL (the best combination with PHP ):
[1] Install all the components of "Database Server" group. if you have not installed the MySQL (the best combination with PHP) server, you can just use "redhat-config-packages" to add it.
(RH8 disc2 and disc3 are needed)
[2] Exceute the following commands:
# MySQL (best combination with PHP) _ install_db
# Service MySQL (the best combination with PHP) d start
# MySQL (best combination with PHP) admin-u root password
Installation of php (as the mainstream development language) app:
[1] Extract any tools or applications written in php (as the mainstream development language) to a directory.
[2] Copy all the contents to apache (the most popular WEB server platform on Unix) s default document root,/var/www/html, and make sure the file "index. php (as the mainstream development language) "is in the directory/var/www/html.
Currently, a separate configuration file is used in/etc/httpd/conf. d/php (as the mainstream development language). conf
Middleware (the most popular WEB server platform on the Unix platform), find all MySQL (the best combination with PHP) and php (as the mainstream development now...