Posted by Jerry Stuckle on 10/22/51 11:53
Ivan Marsh wrote:
> On Thu, 20 Jul 2006 10:00:44 -0700, g.sharpe wrote:
>
>
>>I tried using the setup.php script (in the scripts directory: sudo
>>./setup.php) but it returns command not found.
>>
>>Any ideas?
>
>
> A few...
>
> setup.php isn't set to executable (see: chmod).
>
..php files are not executables. The php program is the executable. It
just reads the files.
But it could be that the pointer to the php executable isn't in the
beginning of the file or it points to the wrong one.
Try sudo path_to_php_executable/php setup.php
> setup.php is probably supposed to be run in a web browser after it's
> installed on a webserver that supports PHP.
>
That could be.
> No one has any idea what setup.php is supposed to do since you've added no
> detail or explanation to your post and for all we know returning the
> string "command not found" is what setup.php is supposed to do.
>
That's true.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|