This article doesn't say anything about MySQL. It's because php is not complied with the MySQL switch.
On step 10, it would be something like: ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs Then do make, make install. I believe that should do it. The error is because php doesn't understand mysql_connect(). You should be this same error on any php file that connects to MySQL. -- Jon
