views:

297

answers:

2

Hello

I have changed the php.ini file in the location (C:\xampp\apache\bin\php.ini) for Xampp and restart the server

I am sure it is the real php.ini file because I have checked with phpinfo()

however my changes does not take effect!

why?

update:


I have PHP Version 5.2.8

I have changed the file C:\xampp\php\php5.ini

but the problem still the same no effects

+1  A: 

It's possible that whatever change you made in php.ini is overridden at either one of 2 levels:

1) Apache virtual host setting

2) At runtime in php e.g. ini_set()

Check those out and see what you find.

What setting are you changing in php.ini?

Asaph
I am trying to enable this extension (extension=php_tidy.dll) and I am sure there are NO ini_set() in my script however I don't know what does virtual host setting means but I am running XAMPP package in my laptop .note(even when I changed the memory limit it did not take effect as well!!!)
ahmed
A: 

I found the solution

I used to restart the Apache using this file "xampp_restart.exe"

but now I figured out that I should right click on the file and chose "run as administrator"

Thanks

ahmed