PHP5.05, Mysql4.1, Apache on Windows XP - cant get php to talk to mysql
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

PHP5.05, Mysql4.1, Apache on Windows XP - cant get php to talk to mysql

From: gregsands <saunders1@gmail.com>
Date: Sun Oct 02 2005 - 21:24:39 CEST

Hi

I have read all (ok most) of the posts relating to "Call to undefined
function mysql_connect()", read the manual on PHP.net and done
eveything thats ive been asked to do but cant get PHP to talk to MySQL,
PHP is working fine but I dont get any mysql info when running <?
phpinfo() ?> and get the "Call to undefined function mysql_connect()"
when trying to connect to mysql through php in browser, please help.

1. I have added C:\php; to the end of the environment variable path
2. I have edited my php.ini file to :
   extension_dir = "c:\php\ext"
   extension=php_mysql.dll - removed the ";"
   ... ive checked i only have 1 php.ini file!
3. The dll "libmysql.dll" is in the folder C:\php
4. The dll "php_mysql.dll" is in the folder c:\php\ext

I cant find any other tips, please help

thanks
Greg
Received on Tue Oct 18 02:30:33 2005