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

Re: Help with PHP an mySQL



Hello,


On Thu, 2 Nov 2000 webconcept@home.com wrote:

> 
> Hello,
> 
> Recently I needed help with mysql and php4. When i wrote a script
> that tried to connect to mySQL i got:
> 
> mySQL_connect : unknown function
> 
> I was told that I have to load a module to use mySQL in php.
> But I have been unable to find a module to load. Could some explain
> this to me (how to get mySQL working in php)

apt-get install php4-mysql
echo "extension=mysql.so" > /etc/php4/apache/php.ini

You may want to adjust some other settings in php.ini as well. Wenn you're
done with that issue a

/etc/init.d/apache restart



Regards

Torsten


-- 
Media Online Internet Services & Marketing GmbH
Torsten Krueger           torsten@nrw-online.de
fon: 49-231-5575100        fax: 49-231-55751098
Ruhrallee 39                   D-44137 Dortmund



Reply to: