Re: php-mysql problem
| From: | Curt Zirzow | Date: | Thu, 13 May 2004 16:31:36 +0000 |
| Subject: | Re: php-mysql problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186116@lists.php.net to get a copy of this message | ||
* Thus wrote Jianping Zhu (jzhu@fisher.forestry.uga.edu):
>
>
> I have redhat 9.0 and Server version: Apache/2.0.40.
> i have installed rpms php-4.2.2-17.2.i386.rpm
> php-mysql-4.2.2-17.2.i386.rpm
You do know that 4.2.2 was released in July 2002? Current version
of php is php 4.3.6 released April 2004.
> ...
>
> but i got error message with:
> http://coopunit.forestry.uga.edu:8080/testdb.php
> the error is:
> Fatal error: Call to undefined function:
> mysql_connect() in /var/www/html/testdb.php on line 13
>
> How can Fix this problem? Thanks
Did you restart your webserver?
I would suggest compiling php from source yourself.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."