Tutorials tells me to put the php.ini file in the Windows directory, but I format the windows partition quite often, and sometimes I forget to backup the php.ini file.

Anyway, can I put php.ini file in the root directory of PHP, the same place as php.exe?

My PHP is installed at E:\Apache\modules\mod_php4 , I change the session.save_path in the ini file, restart server, and it doesn't take effect, unless the file is in the Windows directory.