Web Hosting Talk







View Full Version : Where was PHP installed?


xp101
03-02-2004, 06:50 PM
I got a dedicated server and try to figure the path to where PHP was installed. I looked at the path on phpinfo() and got this: .:/usr/lib/php:/usr/local/lib/php
Notice these 2 directories contains different set of files.

Also the php.ini is in /usr/local/Zend/etc

So, where is php physically be?

amc-james
03-02-2004, 09:09 PM
Try one of these to try to pin down where the php binary is.


locate php

which php

find / -name php -type f

chrisS
03-03-2004, 12:47 AM
cd php4.x.xsrc
cat Makefile | grep ^prefix

nightwar
03-07-2004, 11:56 AM
try this:

whereis php