I have installed MySql on a Windows 98 workstation. I start the service
with the command: mysqld
I can connect to the database and see tables, etc.
I have installed Apache Ver 1.X with PHP ver 5.0.0b1
Simple PHP scripts work fine.
When I try to connect to the Mysql database I get this error from PHP in my
browser
Fatal error: Call to undefined function: mysql_connect() in c:\program
files\apache group\apache\ht docs\secretdb.p hp on line 30
With this version it is my understanding the MySql and ODBC support are
internal to PHP and I do not have to enable Windows extensions within the
PHP.ini file.. Anyone have any idea on why this function seems to be
undefined in PHP when it is internal? Should I download and install ver 4.x
I have updated MDAC to ver 2.7.
I am NEW to PHP, MySql and Apache and having fun!!!!!!
Regards,
Bob
with the command: mysqld
I can connect to the database and see tables, etc.
I have installed Apache Ver 1.X with PHP ver 5.0.0b1
Simple PHP scripts work fine.
When I try to connect to the Mysql database I get this error from PHP in my
browser
Fatal error: Call to undefined function: mysql_connect() in c:\program
files\apache group\apache\ht docs\secretdb.p hp on line 30
With this version it is my understanding the MySql and ODBC support are
internal to PHP and I do not have to enable Windows extensions within the
PHP.ini file.. Anyone have any idea on why this function seems to be
undefined in PHP when it is internal? Should I download and install ver 4.x
I have updated MDAC to ver 2.7.
I am NEW to PHP, MySql and Apache and having fun!!!!!!
Regards,
Bob
Comment