El lun, 04-08-2003 a las 02:45, Vincent Danen escribió:
> On Mon Aug 04, 2003 at 01:52:16AM -0300, Damian Gatabria wrote:
> 
> > I'm trying to learn some php/mysql and i've came across this
> > error message whenever i try to load a one-line php file
> > that connects to a local mysql database:
> > 
> > Fatal error: Call to undefined function: mysql_connect() in
> > /var/www/html/test2.php on line 3
> > 
> > 
> > I've googled a bit and it seems that my php module was
> > not compiled with mysql support enabled? 
> > 
> > I'm using stock mdk packages libphp_common430-430-11mdk
> > mod_php-4.3.1-1mdk, has anyone here got mysql working with these?
> > could this be a config problem?
> 
> You need to install php-mysql.  "urpmi php-mysql" should do the trick.

Hot damn! "urpmi -a php" skipped that one! could that be a glitch
in urpmi?

btw, thanks Vincent!

Damian


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to