faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

38 of 56 people (68%) answered Yes
Recently 0 of 10 people (0%) answered Yes

Entry

Running Apache 1.3.6, MySQL 3.22.30, and PHP 3.0.12 on Linux, I get this error: "Call to unsupported or undefined function mysql_connect()". Why?

Jun 7th, 2000 20:33
Chris Cosentino, Kit Plummer, Ben Di Maggio,


Your php_mysql.so module is not loaded.
It also probably means that you didn't compile PHP3 with the --with-
mysql option.
If you forget to add --with-mysql to your configure line, then the 
mysql functions won't show up.