Re: PHP-MySQL connector installation problem on Windows
| From: | Rory M Larson | Date: | Wed, 07 Nov 2007 22:23:07 +0000 |
| Subject: | Re: PHP-MySQL connector installation problem on Windows | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18348@lists.php.net to get a copy of this message | ||
Hi Jerome,
Yes, the mysql command line comes up fine on both machines, so we should
be able to work with that.
Also, on the XP which has C:\Program Files\PHP\php.ini as the Loaded
Configuration File according to phpinfo, the C:\Program Files\PHP\
directory is listed in the PATH variable.
Thanks,
Rory
j.kaluza@redcross-transfusion.be
11/06/2007 11:59 PM
To
Rory M Larson <rlarson@unlnotes.unl.edu>
cc
php-install@lists.php.net
Subject
Re: [PHP-INSTALL] PHP-MySQL connector installation problem on Windows
Hi Rory,
Yes actually the php.ini file should always be taken from the windows
directory, but i think you can also put it in a place that is in the PATH
variable.
I use windows2K here and the ini file is in the WINNT folder.
Copuld you tell us if your mysql is worker with the command line client ?
Jerôme Kaluza
Service du Sang
Service Informatique
Croix-Rouge de Belgique
rue de Stalle 96 - 5e étage
B-1180 Bruxelles
Tél. : + 32 (0)2 371 35 27
Fax : + 32 (0)2 371 35 23
j.kaluza@redcross-transfusion.be
http://www.transfusion.be
Rory M Larson <rlarson@unlnotes.unl.edu>
06/11/2007 14:48
A
j.kaluza@redcross-transfusion.be
cc
php-install@lists.php.net
Objet
Re: [PHP-INSTALL] PHP-MySQL connector installation problem on Windows
> try to add a backslash at the end of your extension_dir config line in
your php.ini like : C:\php\extensions\ and reload ur phpinfo script to see
what's the result
>
> Jerôme Kaluza
Thanks for the suggestion. I've tried adding the backslash, restarting
Apache, and reloading phpinfo on both machines. It doesn't seem to make a
difference.
One more thing I've noticed is that there are two data items listed in
phpinfo referring to php.ini. First there is the Configuration File
(php.ini) Path, and then there is the Loaded Configuration File. I
thought the php.ini file was supposed to be taken from the PHP root
directory, which is C:\Program Files\PHP\ on my machines. But the
Configuration File (php.ini) Path on both machines is listed as
C:\Windows. In fact, there is a php.ini file there as well as in the PHP
root directory. I've been updating that one too, though it still doesn't
seem to make a difference. On the Vista machine, the Loaded Configuration
File is C:\Windows\php.ini, but on the XP it is C:\Program
Files\PHP\php.ini. This is another mystery to me.
Thanks,
Rory