RE: [PHP] Mysql_connect() and all Mysql functions fail under PHP
| From: | Sam Masiello | Date: | Tue, 28 Nov 2000 22:00:33 +0000 |
| Subject: | RE: [PHP] Mysql_connect() and all Mysql functions fail under PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27689@lists.php.net to get a copy of this message | ||
When you compiled PHP, you probably did not include the -with-mysql flag.
HTH
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Mig [mailto:mavem@usa.net]
Sent: Tuesday, November 28, 2000 5:00 PM
To: php-general@lists.php.net
Subject: [PHP] Mysql_connect() and all Mysql functions fail under PHP
Hello people, I got to run Apache, Mysql and PHP on linux. I checked some
'test.php' page using only echo $vars and it works ok, variable displaying
and PHP script executing ok.
I also checked Mysql , creating a tiny database (terminal mode) and also it
performs ok.
BUT when I try to execute any Mysql functions (the first being
Mysql_connect(user,db,password), it returns HTM page saying 'trying to use
some unsopported function mysql_connect()...'.
I checked with other Mysql functions and all of them returns same error.
Help, I checked PHP.INI and HTTP.CONF files , all appears to be ok.
Miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net