[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Call to undefined function: mysql_connect()



Title: Message
Hi, when i add extension=mysql.so in php.ini, i have the following message after i restart Apache :
 
Starting web server: apachePHP Warning:  Unable to load dynamic library '/usr/lib/php4/20010901/msql.so' - /usr/lib/php4/20010901/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
 
any idea ?
 
 
On Wed, Aug 04, 2004 at 12:44:23PM +0800, Jarod wrote:
> I have install php4-mysql package using apt-get but when i ran my php script, it gave me the error "Call to undefined function:  mysql_connect()..."
> 
> Did I missed out anything?

  add extension=mysql.so in the right php.ini and then restart apache.

  I think the package do the first, but not the second.

  btw I don't think it's the right place to ask your question,
debian-user should be more appropriate.

cheers,
-- 
Pierre Habouzit                                   http://www.madism.org/
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
gpg : 1024D/A1EE761C  6045 409E 5CB5 2CEA 3E70  F17E C41E 995C C98C 90BE 
spam: mad.junk@madism.org

Attachment: signature.asc
Description: Digital signature


Reply to: