Re: Problem
| From: | Mike Frazer | Date: | Wed, 30 Jan 2002 16:55:47 +0000 |
| Subject: | Re: Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82734@lists.php.net to get a copy of this message | ||
First, I recommend installing PHP4. There's a host of new features.
Second, it sounds like your problem may be that you compiled PHP without
mysql support. The command for PHP4 is, I believe, "--with-mysql" when you
call the configure script.
Get PHP 4.1.1 from the site (I downloaded it from the default site and got a
busted file, so I recommend downloading it from a mirror). Look through the
Installation part of the manual for a complete list of config commands so
you can install everything you may need.
Mike Frazer
"Uma Shankari T." <umashankari@lantana.tenet.res.in> wrote in message
news:Pine.LNX.4.21.0201301549220.12838-100000@lantana.iitm.ernet.in...
>
>
> I have installed mysql and php successfully.While connecting with mysql it
> is giving error like this
>
> ss.php: No mySQL support on line 11
> $link=mysql_connect("$hostname","$username","$password");
>
> Manually i can connect mysql by giving like this
>
> mysql -uusername -ppassword
>
> It is connecting.If there any function to find out wheather php supporting
> mysql.
>
> If there is any problem with mysql means manually i can't connect know...
>
> I have tried this one also
>
> phpinfo();
>
> It is giving all the details about php line doc root,hostname.port address
> etc...
>
> Then where is the problem
>
> Tell me as soon as possible
>
> with Thanks & Regards,
> Uma
>
>