I just recently set up Apache 2.2, PHP 5.2.17, and MYSQL server 5.5 on Windows server 2008. Everything is setup correctly except when running PHP scripts I'm receiving "undefined function" errors for all mysql functions (mysql_pconnect, mysql_select_db, etc. etc.).
Here is what has been done so far:
1. PHP has been installed to C:\Program files\PHP. php.ini was created from copying php.ini-dist into it. The following has been modified in php.ini:
doc_root="c:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
extension=php_mysql.dll and extension=php_mysqli.dll have both been uncommented.
2. Within C:\Program files\PHP the libmysql.dll file has been copied into system 32 and C:\Program files\PHP\libmysql.dll has also been added to PATH.
Also I want to get a better understanding of what is going on.Generally how do PHP docs local the MYSQL function library? I'm fairly new to this, any words of wisdom would be appreciated.