Re: mysql_connect error
| From: | Rasmus Lerdorf | Date: | Tue, 10 Jun 2003 19:56:31 +0000 |
| Subject: | Re: mysql_connect error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28504@lists.php.net to get a copy of this message | ||
You have to load the extension in your php.ini file. eg.
extension=mysql.so
-Rasmus
On Tue, 10 Jun 2003, Sparky Kopetzky wrote:
> Good afternoon!
>
> I have Apache w/php installed on one server. I have mysql installed on a windows machine. I
> keep getting this error
> 'Call to undefined function: mysql_connect()' in my php script. Now, according to
> what the Redhat RPM is telling me about php-mysql is that I have to have mysql RUNNING on the web
> server just so I can talk to the other windows server. That doesn't make any darned sense!!!
> PHP runs perfectly on the web server until it hits the mysql code.
>
> What am I missing here as I'm REALLY dumb when it comes to Linux.
>
> Robin E. Kopetzky
> Black Mesa Computers/Internet Services
> www.blackmesa-isp.net
>
>