I found that PHP INI is located in C:UwAmpbinapachephp.ini
If I edit this file, and restart apache server, the file is restored automatically to the last version
any ideas? I am using UWAMP
thank you
I found that PHP INI is located in C:UwAmpbinapachephp.ini
If I edit this file, and restart apache server, the file is restored automatically to the last version
any ideas? I am using UWAMP
thank you
2
Answers
You need to open notepad as “Run as administrator” then locate the below path and open php.ini, edit and save, restart apache server.
The php in the apache directory is dynamically created at every run of uwamp
You need to edit the bin/php/php_[version]/php_uwamp.ini
You can do this manually with the textedit or just run the uwamp gui and select the icon next to the phpconfig button .
This should open your notepad with the correct php_uwamp.ini file
Then when it detects changes apache restarts and creates a php.ini from the above file