Click to See Complete Forum and Search --> : Very Simple Question! Which directory do I install PHP?


blastbum
08-02-2004, 11:36 PM
Hi,

I'm running a Linux emulator (Cygwin) on my machine (Win98SE). I really need some guidance in which directory folder to unzip (tar.gz) and install PHP 5.0.0.
Is it 'bin', 'etc', 'home', 'lib', 'tmp', 'usr' or 'var' or do I create my own directory to place the files?

Any help will be GREATLY appreciated!

Blastbum :cool:

Choozo
08-03-2004, 01:50 AM
Untar the *.tar.gz wherever you like - /home/[username]/downloads is a good a place as any.
Then when doing ./configure && make && make install, it will install itself in the appropriate directory (doing 'make install' as root). Have a look in the Makefile to see where it goes.

posterboy
08-05-2004, 07:51 AM
I found it much easier (for me) to install one of the packaged things that gives you a full-blown Apache, PHP and MySQL all in one ball. I used the "lampp" project, very satisfactory, however, there are many others untried by me.