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@xxxxxxxxxxxxxxxxxxxxxxx
11/06/2007 11:59 PM |
|
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@xxxxxxxxxxxxxxxxxxxxxxx
http://www.transfusion.be
Rory M Larson <rlarson@xxxxxxxxxxxxxxxx>
06/11/2007 14:48 |
|
> 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
- References:
- Re: PHP-MySQL connector installation problem on Windows
- From: j . kaluza
- Re: PHP-MySQL connector installation problem on Windows
- Prev by Date: Re: PHP-MySQL connector installation problem on Windows
- Next by Date: make test segfaults immediately
- Previous by thread: Re: PHP-MySQL connector installation problem on Windows
- Next by thread: daylight saving time issue
- Index(es):