Re: Php 5 and Mysql on Windows
| From: | brian dot kejser at protexis dot com | Date: | Tue, 03 Oct 2006 22:28:21 +0000 |
| Subject: | Re: Php 5 and Mysql on Windows | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42467@lists.php.net to get a copy of this message | ||
Hey
I tried that but I still get the error.
-----Original Message-----
From: "Dave W" <dabbaking@gmail.com>
Sent: Tue, October 3, 2006 14:33
To: brian.kejser@protexis.com
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Php 5 and Mysql on Windows
You might want to try php.ini-recommended instead of php.ini-dist.
On 10/3/06, brian.kejser@protexis.com <brian.kejser@protexis.com> wrote:
>
> Hey
>
> I did that already. Step (8) of setting up php.
>
> Do I need to move any files around or add anything else to the path?
>
>
>
>
> -----Original Message-----
> From: "Stut" <stuttle@gmail.com>
> Sent: Tue, October 3, 2006 14:12
> To: brian.kejser@protexis.com
> Cc: php-db@lists.php.net
> Subject: Re: [PHP-DB] Php 5 and Mysql on Windows
>
> brian.kejser@protexis.com wrote:
> > I setup Mysql as follows:
> >
> > 1. Download the 5.x installer
> > 2. Run the installer
> > 3. Run the configuration tool ater the installer
> >
> > When I run the following script, the error "Fatal error: Call to
> > undefined function mysql_connect() in Test.php on line 3" is returned.
> >
> > $conn = mysql_connect('localhost', 'root', 'password')
>
> Installing MySQL is not enough - you need to enable the mysql extension
> in your php.ini.
>
> -Stut
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Dave W