Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Rex Irvin Carpen
Rex Irvin Carpen
3,314 Points

I am using windows and i use the command line "sudo vi I:\xampp\php\php.ini" but does not work?

I am also using XAMPP instead of MAMP

1 Answer

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

sudo vi is for *nix operating systems not windows (vi is for VIM a text editor and sudo is basically the equivalent of run as administrator).

It appears like you are attempting to update your php.ini file in XAMPP to change a parameter or two. On windows you should just use your editor of choice (even notepad/wordpad) to make your change. You might need admin permissions but I never have needed them for xampp changes on windows.

Rex Irvin Carpen
Rex Irvin Carpen
3,314 Points

yeah i want to edit it using php.ini so i just edit some staff in the notepad and save it?

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

Short answer - Yes. --- FYI - make a backup - restart apache for the changes to take effect - verify changes with phpinfo()