Re: path to php

From: Date: Thu, 23 Aug 2001 02:20:05 +0000
Subject: Re: path to php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64013@lists.php.net to get a copy of this message
On Thu, 23 Aug 2001 11:05, ReDucTor wrote: > does anyone know all the possible paths to php...because i can't seem > to find it on my current host...i have tried using the following > > php /path/to/script.php > /usr/php /path/to/script.php > /usr/local/bin/php /path/to/script.php > /usr/bin/php /path/to/script.php > > but i still can't seem to get it to work with out it saying that it > can't find the path to php...any one got any ideas?!? > > btw. i know php is on it.. > > I have tried contacting them, but they don't seem to want to reply... Have you tried which php or locate php? If you don't have shell access you'll have to fiddle around with backticks or whichever of system() and friends is appropriate. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Electricity was invented by rubbing cats backwards!

« previous php.general (#64013) next »