PHP ini not saving

Ask about a PHP problem here.
Post Reply
JelvinJS7
Posts: 341
Joined: Thu May 12, 2011 8:40 pm

PHP ini not saving

Post by JelvinJS7 »

i have mac OS 10.5.8, and XAMPP i think it's the newest version. i've tried to edit and save the PHP.ini file, but it says i don't have the privelage to do so. i open up privilages, and me, admin, and "everyone" has it set to "read and write". :?:
it still won't work. please help
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: PHP ini not saving

Post by EcazS »

Probably just a Mac issue...
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: PHP ini not saving

Post by jacek »

Try it as root.
Image
JelvinJS7
Posts: 341
Joined: Thu May 12, 2011 8:40 pm

Re: PHP ini not saving

Post by JelvinJS7 »

jacek wrote:Try it as root.

What does that mean?
Tino
Posts: 360
Joined: Thu May 05, 2011 8:55 pm
Location: The Netherlands

Re: PHP ini not saving

Post by Tino »

Try to edit it as the root user. That's what he means ;)
Please check out my CodeCanyon items.
JelvinJS7
Posts: 341
Joined: Thu May 12, 2011 8:40 pm

Re: PHP ini not saving

Post by JelvinJS7 »

Tino wrote:Try to edit it as the root user. That's what he means ;)

You mean, log into the admin's account on my computer?
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: PHP ini not saving

Post by jacek »

JelvinJS7 wrote:You mean, log into the admin's account on my computer?

I don’t really know how OS X works, but you can try

[syntax=text]sudo nano /path/to/php.ini[/syntax]
from the terminal.
Image
Post Reply