Reputation: 118
Is there any way to modify the php.ini file in Mac OSX.. I'm using XAMPP and i need to change the upload-tmp-dir path. Whenever I try to edit and save the file, it shows some error that I am not authorised to do so. Please help!
Upvotes: 2
Views: 7818
Reputation: 11
1.open php.ini with superuser
sudo vim php.ini
2.press i to change somthing
3.press Esc and :wq to save and exit
4.restart your web server
Maybe step 4 is the reason "But my uploads are still not working.. ".
Upvotes: 0
Reputation: 11039
What if you try to copy php.ini file to your Desktop, make changes, save it, and replace back?
Upvotes: 0