Re: Re: newbie needs help in getting php and MySQL integrated
| From: | Philip Olson | Date: | Tue, 20 Jul 2004 14:55:18 +0000 |
| Subject: | Re: Re: newbie needs help in getting php and MySQL integrated | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191173@lists.php.net to get a copy of this message | ||
> > Windows XP SP1
> > Norton Antivirus and Internet Security
> > Apache 2
> > PHP 5
> > MySQL 4.0.16
> >
> > All seem to work. I can run PHP scripts on the Apache server without any trouble. I have
> > MySQL running as a service and the basic SQL command line commands and winmysqladmin shows all ok
> > (to my limited knowledge so far).
> >
> > So as the PHP installation instructions stated :
> >
> > Since PHP 4.0.5 MySQL, ODBC, FTP, Calendar, BCMath, COM, PCRE,
> > Session, WDDX and XML support is built-in. You don't need to
> > load any additional extensions in order to use these functions.
>
> MySQL extension is included with PHP5, BUT NOT BUILT IN - thankfully ;)
> It needs enabling in php.ini
>
> The next beginner step is 'phpinfo();' which should be your first page
> to build, THEN you will see what is actually loaded ;)
Actually the next step (or perhaps the first step :) would be to read the
following:
http://www.php.net/mysql
It links to this faq:
http://www.php.net/manual/en/faq.databases.php#faq.databases.mysql.php5
Which mentions the libmySQL.dll DLL, a very important DLL! This faq (or a
different/similar one) will soon mention this error and solution, and the
mysql docs will soon make it even clearer. The Windows extension docs
will also be updated, I am surpised they have not been.
Regards,
Philip