DaveTheMinion
DaveTheMinion

Reputation: 664

Can't Save Edits to PHP Configuration File

I am trying to edit php.ini on my local testing server using Notepad++, but each time I try to save the changes, I get this error message...

php.ini Notepad++ Save Error

What do I have to do in order to edit the configuration file? Do I somehow have to shut off PHP and then turn it back on?

Upvotes: 0

Views: 1829

Answers (1)

Brad
Brad

Reputation: 163438

Your PHP.ini is likely in a location that requires administrator privileges to edit.

Close Notepad++. Go find its shortcut and right click while holding control. You should now have a "run as Administrator" option. Click that, and then try to edit the file.

Upvotes: 3

Related Questions