Re: PHP not seeing MySQL functions
| From: | PHP Superman | Date: | Wed, 25 Jan 2006 00:44:19 +0000 |
| Subject: | Re: PHP not seeing MySQL functions | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229195@lists.php.net to get a copy of this message | ||
ah sorry, i assumed windows box
On 1/22/06, John Nichel <jnichel@by-tor.com> wrote:
>
> PHP Superman wrote:
> > did you uncomment the line that adds the proper php
> > module(mysqli_blahblahblah.dll)?
>
> How would loading the mysqli modules help the poster with the mysql
> functions?
>
> How would loading Windoze dll's help the poster on a Linux box?
>
> > On 1/16/06, Jonathan Duncan <jonathan@nacnud.com> wrote:
> >
> >>I just got a new web server with RedHat Enterprise Linux 4 on it. It
> came
> -----------------------------------------------------^^^^^
> >>with MySQL 4.1.x and PHP 4.3.9 on it. I uninstalled the MySQL 4 and put
> >>MySQL 5 on it. When I run a PHP script that has a DB connection in it I
> >>get:
> >>
> >>Fatal error: Call to undefined function: mysql_connect() in
> -------------------------------------------^^^^^
>
> OP, chance are, your RHEL box has the improved mysql (mysqli) libriaries
> set-up. Try mysqli_connect. If this isn't the case, then your
> libraries are not being loaded when you start Apache. Check your error
> logs.
>
> http://us2.php.net/mysqli
>
> --
> By-Tor.com
> ...it's all about the Rush
> http://www.by-tor.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!