Dear Mike,
After the rpm software, apache server, php, and mysql are installed together under Redhat7.1, php can call the mysql functions. However, php cannot connect with mysql again after the computer is reboot. Why? Note that the demon process mysqld is running, I am sure, since the mysql can be opened by entering "mysql" in the bash shell.
Sincerely yours,
Simon