RE: [PHP-DB] Zend to MySql
| From: | Sam Masiello | Date: | Wed, 26 Jul 2000 13:00:42 +0000 |
| Subject: | RE: [PHP-DB] Zend to MySql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1509@lists.php.net to get a copy of this message | ||
When you compiled PHP, did you remember to use the "-with-mysql" flag? If
you did not include this, then MySQL support was not compiled into PHP and
you will need to recompile it.
Also, if you compiled PHP as a static module for Apache, then you will need
to compile Apache again as well.
HTH
Sam Masiello
System Analyst
Chek.Com
(716) 853-1362 x289
smasiello@chekinc.com
-----Original Message-----
From: Solutions [mailto:Affordable@ausworld.net]
Sent: Wednesday, July 26, 2000 9:45 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Zend to MySql
I keep getting this:
Fatal error: Call to undefined function: mysql_connect() in
/usr/local/share/apache/htdocs/test/index.php on line 4
Is there some action needed to call the MySQl functions in?
Searching the net all i've found are a dozen pages where people are getting
the same "undefined function: mysql_connect()" message on their attempted
php
pages.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net