-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephen wrote: > On Thu, Aug 17, 2006 at 12:28:22PM +0200 or thereabouts, Paolo Pantaleo wrote: > > [...] > >> I think the error says that PHP doesn't know the function, not that >> there is an error executing the function. >> >> So, finally googling around I found the solution: >> >> in /etc/php/apache2/php.in >> >> I uncommented the line >> >> extension=mysql.so >> >> This is because [so I read] the mysql support is bult-in for version >> 4, but not for version 5.
Take a look in your phpinfo. make a file with the follow code: <?php phpinfo(); ?> There you can see your PHP-Configuration and which modules are enabled. You can also see the path of the modules. Check the path for your mysql extension and the socket path. PHP is connecting over the mysql.sock with the function mysql_connect(). PHPmyAdmin is connecting directly with the mysql.sock. i hope this can help you. Sorry my English is not the best :( Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE5GVRFxoGn/ckUGURAqliAJ9vDs3Dq48KJO1dspqBrz2lYSD3HgCfTLNV 5UpPsb8LX2uBQVaoKD5bQLs= =wxUi -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]