Image

Imageeyeh8u wrote in Imagephp

PHP5/Apache2/MySQL - Undefined Function mysql_connect

Hi,

I'm trying to set up WAMP. I've got Apache and MySQL running. PHP installed into Apache.

PHPInfo() renders correctly, but there are no MySQL modules installed.

Apache's httpd.conf contains:


LoadModule php5_module /development/php/php5apache2.dll
addtype application/x-httpd-php .php .php4 .php5 .php3 .htm .inc
addtype application/x-httpd-php-source .phps
PHPIniDir "/development/php/php.ini"


Php.ini contains:


extension_dir = "./ext"
extension=php_mysql.dll


It's on windows, but on a USB key, so I'm using relative paths (/development is in the root of the USB drive and appears to correctly point to the right location whenever the usb key is mounted in any machine)

Any suggestions?