niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » PHP
setup.php
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
g.sharpe
*nix forums beginner


Joined: 20 Jul 2006
Posts: 1

PostPosted: Thu Jul 20, 2006 5:00 pm    Post subject: setup.php Reply with quote

I tried using the setup.php script (in the scripts directory: sudo
../setup.php) but it returns command not found.

Any ideas?
Back to top
Ivan Marsh
*nix forums beginner


Joined: 18 Mar 2005
Posts: 35

PostPosted: Thu Jul 20, 2006 9:36 pm    Post subject: Re: setup.php Reply with quote

On Thu, 20 Jul 2006 10:00:44 -0700, g.sharpe wrote:

Quote:
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).

setup.php is probably supposed to be run in a web browser after it's
installed on a webserver that supports PHP.

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.

--
The USA Patriot Act is the most unpatriotic act in American history.
Feingold-Obama '08 - Because the Constitution isn't history,
It's the law.
Back to top
flamer
*nix forums beginner


Joined: 06 Jul 2006
Posts: 36

PostPosted: Thu Jul 20, 2006 9:38 pm    Post subject: Re: setup.php Reply with quote

g.sharpe wrote:

Quote:
I tried using the setup.php script (in the scripts directory: sudo
./setup.php) but it returns command not found.

Any ideas?

setup for what??

Flamer.
Back to top
Jerry Stuckle
*nix forums Guru


Joined: 24 Feb 2005
Posts: 1515

PostPosted: Thu Jul 20, 2006 10:14 pm    Post subject: Re: setup.php Reply with quote

Ivan Marsh wrote:
Quote:
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

Quote:
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.

Quote:
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 top
Kimmo Laine
*nix forums Guru Wannabe


Joined: 25 Mar 2005
Posts: 209

PostPosted: Fri Jul 21, 2006 10:59 am    Post subject: Re: setup.php Reply with quote

"g.sharpe" <gmsharpe@gmail.com> wrote in message
news:1153414844.819140.165900@i42g2000cwa.googlegroups.com...
Quote:
I tried using the setup.php script (in the scripts directory: sudo
./setup.php) but it returns command not found.

Any ideas?

sudo php setup.php

--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis
spam@outolempi.net || Gedoon-S @ IRCnet || rot13(xvzzb@bhgbyrzcv.arg)
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 1:23 pm | All times are GMT
navigation Forum index » Programming » PHP
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix setup Lionc Postfix 0 Sun Apr 13, 2008 5:00 am
No new posts re-build physical standby in DG setup EdStevens Server 3 Thu Jul 20, 2006 4:37 pm
No new posts A new reader? Welcome to comp.os.linux.setup, read this f... FAQ (bi-weekly) Setup 0 Tue Jul 18, 2006 11:10 pm
No new posts debian setup PCI devices Michael Dahrouge Setup 4 Tue Jul 18, 2006 1:11 am
No new posts Simple webuser setup msiner@gmail.com PostgreSQL 6 Mon Jul 17, 2006 12:12 am

Mortgage Calculator | Shopping 2007 | Loan | Mortgages | Credit Counseling
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3237s ][ Queries: 16 (0.1839s) ][ GZIP on - Debug on ]