koen
koen

Reputation:

loaded php.ini file doesn't 'work'

The php.ini file that is loaded (checked through phpinfo) does not seem to have any effect when I change something (after restarting apache). I'm using vista for this (please no answers about use linux, I use that too, I want to have it work on vista also).

edit: version 5.3 VC6 x86 Thread Safe, apache 2.2 edit2: version 5.2.10 VC6 x86 Thread Safe works normal

Upvotes: 0

Views: 1132

Answers (3)

DeNix
DeNix

Reputation: 11

call phpinfo() function or in CLI php -i and check "Loaded Configuration File" to see exact php.ini file loaded

Upvotes: 1

KahWee Teng
KahWee Teng

Reputation: 14178

There could be multiple php.ini. In the case of XAMPP, there is one at "U:\xampp\php\" and one in "U:\xampp\apache\bin". The former is for PHP CLI.

Upvotes: 0

Timotei
Timotei

Reputation: 1909

Are you sure that the php.ini file is placed in the correct place? Are you using IIS with PHP or just apache?

You could try to reinstall the webserver.

Upvotes: 0

Related Questions