You are here: Re: How to use MySQL from PHP ? « PHP Programming Language « IT news, forums, messages
Re: How to use MySQL from PHP ?

Posted by Rik Wasmus on 01/03/08 18:58

On Thu, 03 Jan 2008 19:43:20 +0100, YoLed <invalid@nospam.org> wrote:

> In article <op.t4c8pntg5bnjuv@metallium.lan>, luiheidsgoeroe@hotmail.c=
om
> says...
>> On Thu, 03 Jan 2008 19:03:22 +0100, YoLed <invalid@nospam.org> wrote:=

>>
>> > I have to work with PHP and MySQL but I'm new with this environneme=
nt.
>> > So, I've started installing a plateform of mine. So under Windows,
>> > Apache, PHP5 and MySQL.
>>
>> Look at the installation instructions ar http://www.php.net/mysql
>> MySQL support is not included by default in PHP5 anymore.
>>
>
> Oops OK !
>
> So, I've uncommented the line below in php.ini :
>
> extension=3Dphp_mysql.dll
>
> Then, I've added "E:\php" to the PATH system variable.
> And I've create the variable PHPRC=3D"E:\php" to be sure php.ini be
> accessible by PHP.
>
> Now, I will reboot my PC and will be back to tell you if it's now OK..=
..

Restarting Apache would do.
Reading the _entire_ installation instruction helps though:
'A file named libmysql.dll is included in the Windows PHP distribution a=
nd =

in order for PHP to talk to MySQL this file needs to be available to the=
=

Windows systems PATH.'

Where is your libmysql.dll, and is it available in PATH?

And just to be sure:
'As with enabling any PHP extension (such as php_mysql.dll), the PHP =

directive extension_dir should be set to the directory where the PHP =

extensions are located. See also the Manual Windows Installation =

Instructions. An example extension_dir value for PHP 5 is c:\php\ext'
-- =

Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация