简体   繁体   中英

how can I edit PHP INI file if I am using UWAMP

I found that PHP INI is located in C:\UwAmp\bin\apache\php.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

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

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 technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM