Page 1 of 1

PHP INSTALLATION ON LINUX ?

Posted: Thu Aug 25, 2005 1:26 pm
by vsaggu
Which is the easiest, fast, best , simple way to install php for the first time on linux ?? im confused...........

Posted: Thu Aug 25, 2005 1:33 pm
by feyd
on which flavor?

Posted: Thu Aug 25, 2005 7:55 pm
by timvw
As soon as you know how the package manager of your distro works it doesn't matter.. It's all easy...

Posted: Fri Aug 26, 2005 7:30 am
by Chris Corbyn
Since I don't know what distro your running my only recommendation is to download the source (*.tar.gz) and run:

Code: Select all

tar xvzf php*.tar.gz
cd php*
./configure --prefix=/wherever/you/want/it/to/go --other-options-found-by-reading-the-documents-(--enable-mysql-of-course)
make
su -
make install
If you have the redhat package manager installed you'll probably find a suitable rpm file which are incredibly easy to install....

Your best bet though, as timvw mentions, is to learn how your package manager works ;)

Example.... on gentoo

Code: Select all

emerge php

Posted: Wed Aug 31, 2005 10:53 am
by vsaggu
Thanks dude.......