Hi All,
Sorry this is not directly related to PHP. But I know everybody here has
done this before.
I recently installed Red Hat Linux 9.0 server. It installed Apache with PHP
and Mysql by default. I can connect to mysql, create databases, tables fine.
I can also program php and access it through Apache.
Problem is when I try to connect to MySql it gives me the error
"Call to undefined function: mysql_connect() "
I ran phpinfo and found "--with-mysql=shared".
I checked and all the deamons are running (httpd, mysqld)
Do anybody know what is missing?
I usually love to troubleshoot these things, but right now too tired to do
this.
thanks in advance
sanjay
Sorry this is not directly related to PHP. But I know everybody here has
done this before.
I recently installed Red Hat Linux 9.0 server. It installed Apache with PHP
and Mysql by default. I can connect to mysql, create databases, tables fine.
I can also program php and access it through Apache.
Problem is when I try to connect to MySql it gives me the error
"Call to undefined function: mysql_connect() "
I ran phpinfo and found "--with-mysql=shared".
I checked and all the deamons are running (httpd, mysqld)
Do anybody know what is missing?
I usually love to troubleshoot these things, but right now too tired to do
this.
thanks in advance
sanjay
Comment