Saturday, March 25, 2006

How to install apache2 php5 mysql5

This weekend trying to get Joomla 1.0.8 ecommerce edition going.
Already had a mysql 5 installed so I installed php5 (with the automatic installer) and apache2.
All went ok but I got the: "MySQL support Unavailable" when trying to install Joomla.

After googling and then attempting a manual install of php5 which didn't work I went back to the php5 auto install and then simply did the final two steps:
1. in the c:\WINDOWS\php.ini uncomment the line:
;extension=php_mysql.dll
by removing the ";"

2. in the same file change the
extension_dir = "./"
to
extension_dir = "C:\programs\PHP\"

3.dowload the php5 manual installation unzip and copy the files
php-5.1.2\libmysql.dll
php-5.1.2\ext\php_mysql.dll
to
php\libmysql.dll
php\php_mysql.dll