Index: [Article Count Order] [Thread]

Date:  Wed, 15 Dec 2004 19:17:35 +0000
From:  Raul Carvalho <raulcarvalho (at mark) redirect.pt>
Subject:  [coba-e:01697] Re: PHP + Mysql (again ...)
To:  coba-e (at mark) bluequartz.org
Message-Id:  <41C08DCF.5060903 (at mark) redirect.pt>
In-Reply-To:  <7ECAEE9C5D2AD34893C7FC07786892551A9B@fox1>
References:  <7ECAEE9C5D2AD34893C7FC07786892551A9B@fox1>
X-Mail-Count: 01697


It might have to do with the "extensions_dir" config file variable.
Check if this variable is set and also if it contains the path to mysql.so

Cheers,
Raul

Bob Noordam wrote:

>>I have all the RPMs connected to MySQL
>>
>>mysql-bench-3.23.58-4
>>mysql-server-3.23.58-4
>>php-mysql-4.3.4-1.1
>>MySQL-3.23.54-1
>>MySQL-shared-3.23.54-1
>>perl-DBD-MySQL-2.9002-1
>>MySQL-client-3.23.54-1
>>MySQL-devel-3.23.54-1
>>
>>I still get the error "Call to undefined function: mysql_connect() "
>>
>>    
>>
>
>
>the error is not related to your php install, it is related to the mysql.so
>not begin loaded.
>I observed on several systems that a simple  'extension=mysql.so' did *not*
>do the job, a complete path did.  ( extension=/usr/lib/php4/mysql.so in my
>case)
>
>you can also get the same problem if you are running mysql 4.1.x and still
>have a php with 3.23 support (not in your case obviously)
>
>Bob.
>

	

1697_2.html (attatchment)