|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
PHP.INI which one.
I hope this is the last simple problem I have. I am having trouble finding out which php.ini is used. I put one in the c:\windows directory (but PHPINFO() said it was using that even when there was none there). I also have copies in the c:\php and c:\php-gtk2 directories.
If anyone can shed some light on this I would be grateful. TIA |
|
#2
|
||||
|
||||
|
The Configuration File (php.ini) Path in the phpinfo() output is just the default location where php looks.
The Loaded Configuration File is where php.ini is actually loaded from (if any.) If there is no php.ini found, none is loaded, and all the default values are used. I think but don't know if this line in the phpinfo() output is blank in that case. |
|
#3
|
||||
|
||||
|
try the one in c:\php just a guess. The easiest way would be to change a setting in one of the files, restart apache (make sure you do this or the settings may not change), then look to see if the setting you change shows up correctly in phpinfo(), if this is the case the you have found your php.ini
__________________
Ubuntu User #13389 |
|
#4
|
|||
|
|||
|
Quote:
Finally fixed my problem by moving my php.ini to the c:\windows directory. And renaming the others. At first it did not work, but after a re-start it did. I don't know if windows or something else is caching directories, but I'm up for now. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP.INI which one. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|