|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,788
|
Where is PHP on a server ?
do you know where the hell is php on a server (unix)
i need to know the path for a script or what command from a SSH session i need to type in to know where PHP is I ain't a server Guru ![]() |
|
|
|
|
|
#3 |
|
Triple OG nigga on GFY
Industry Role:
Join Date: Mar 2002
Location: in the BP4L family compound
Posts: 27,296
|
yeh i got php on mah server
|
|
|
|
|
|
#4 | |
|
Confirmed User
Join Date: Mar 2004
Location: on the run from everyone i owe money
Posts: 1,899
|
Quote:
i think you should quit ![]()
__________________
www.trafficoverdose.com. ICQ me 171848378 |
|
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,788
|
I did
it's my son asking me |
|
|
|
|
|
#6 | |
|
So Fucking Banned
Join Date: Apr 2003
Location: malta
Posts: 12,745
|
Quote:
"which php" minus quotes while logged into ssh should give you a good idea. |
|
|
|
|
|
|
#7 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,788
|
Thanks
i will tell him I will go play with my Atari again |
|
|
|
|
|
#8 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 712
|
probably usr/bin/php
|
|
|
|
|
|
#9 | |
|
Confirmed User
Join Date: Apr 2004
Location: NC
Posts: 8,323
|
Quote:
![]() |
|
|
|
|
|
|
#10 |
|
Is on the 1
Industry Role:
Join Date: Sep 2002
Location: Philly Burbs
Posts: 4,996
|
Down with PHP, yea, you know me
|
|
|
|
|
|
#11 |
|
Registered User
Join Date: Jun 2003
Location: Pornvalley
Posts: 67
|
You're probably looking for the php binary, so you can run a php script on the command line. It's usually installed in /usr/local/bin/php when someone compiles PHP from the sources. If you have a linux distribution that comes with everything pre-installed, it's probably somewhere else. If it's there, you can use this command to find it:
find / -name php
__________________
-Enigma ICQ: 142592982 |
|
|
|
|
|
#12 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,788
|
Ok to tell you the truth he is trying to install a trade script and it's asking for all these
// Path to perl $perlpath="/usr/bin/perl"; // Path to php $phppath="/usr/local/bin/php"; // Path to DATE service $datepath="/bin/date"; // Path to SH $shpath="/bin/sh"; // Path to FIND utility $findpath="/usr/bin/find"; // Path to RM utility $rmpath="/bin/rm"; Now i went and looked under usr/local/bin/ and saw only "rar" and "webalizer" So this is why i'm asking Plus it's all in RUSSIAN geeeeeeeeeee |
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Jun 2004
Location: born again
Posts: 653
|
ive lost mine it was there a minute ago
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text. |
|
|
|
|
|
#14 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,788
|
oh shit
you lost your databases ? yurkkkkkkkkkkkkkk sorry to hear that ![]() |
|
|
|
|
|
#15 |
|
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 4,788
|
/usr/bin/php
thanks for helping me out guys Damn i'm too old for this crap. I'll leave the server side to kiddoes instead ![]() |
|
|
|
|
|
#16 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,796
|
Theyre are a few files to help on this. You put them in the root directory:
phpinfo.php in the cgi-bin: server.cgi and a few others.... These files will let you see ALL your pathhs, and what is installed on the server. If needed, I could today or tomorrow post them on my server....
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT ! But I can't figure out how he can breathe or type , at the same time .... |
|
|
|
|
|
#17 | |
|
Confirmed User
Join Date: May 2004
Location: CA
Posts: 440
|
Quote:
but use the phpinfo script people already posted
__________________
ICQ # 916111 |
|
|
|
|
|
|
#18 |
|
So Fucking Banned
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
|
typically /usr/local/php (sometimes with the version, ie: /usr/local/php-4.3.6)
if it's for running crontabs it would be a different path |
|
|
|