PDA

View Full Version : I'm trying to save php.ini.default as php.ini



Peter Mount
21st March 2008, 08:56 PM
Hi

I don't know how to save a copy of php.ini.default as php.ini as I don't know how to get root access with the Finder. I know how to do it in Kubuntu, i.e. in the Terminal I'd type "kdesu Konqueror".

How do I do this in Leopard? Do I use the Terminal?

I'm trying to setup a local testing environment for apache, php and mysql. I"ve found a tutorial here (http://mymacinations.com/2007/10/28/apache-php-and-mysql-on-leopard/)

Thanks

Linux_insidev2
21st March 2008, 08:58 PM
Hi

I don't know how to save a copy of php.ini.default as php.ini as I don't know how to get root access with the Finder. I know how to do it in Kubuntu, i.e. in the Terminal I'd type "kdesu Konqueror".

How do I do this in Leopard? Do I use the Terminal?

I'm trying to setup a local testing environment for apache, php and mysql. I"ve found a tutorial here (http://mymacinations.com/2007/10/28/apache-php-and-mysql-on-leopard/)

Thanks

do it from the terminal

sudo mv php.ini.default php.ini

purana
21st March 2008, 09:07 PM
do it from the terminal

sudo mv php.ini.default php.ini

It might be a wise idea to use cp (instead of mv in the line above)

Otherwise you will have no php.ini.default left over to use again, since mv = move and cp = copy.

Peter Mount
21st March 2008, 09:29 PM
Thanks for the replies.

Happy Easter.