|  | Posted by Rik Wasmus on 01/03/08 19:00 
On Thu, 03 Jan 2008 19:58:13 +0100, Rik Wasmus  =
 <luiheidsgoeroe@hotmail.com> wrote:
 
 > On Thu, 03 Jan 2008 19:43:20 +0100, YoLed <invalid@nospam.org> wrote:
 >
 >> In article <op.t4c8pntg5bnjuv@metallium.lan>, luiheidsgoeroe@hotmail.=
 com
 >> 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  =
 
 >>> environnement.
 >>> > 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=
 =
 
 > and 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'
 
 
 And as an added bonus: examine the output of phpinfo(), is the php.ini  =
 
 file you edited the actual php.ini file used?
 -- =
 
 Rik Wasmus
  Navigation: [Reply to this message] |