PHP INSTALLATION ON LINUX ?
Moderator: General Moderators
PHP INSTALLATION ON LINUX ?
Which is the easiest, fast, best , simple way to install php for the first time on linux ?? im confused...........
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Since I don't know what distro your running my only recommendation is to download the source (*.tar.gz) and run:
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
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 installYour best bet though, as timvw mentions, is to learn how your package manager works
Example.... on gentoo
Code: Select all
emerge php