RE: [PHP] where php at?

2006-03-28 Thread Ryan A
Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php Thanks Ryan, but that failed to work as well. tedd -- Sorry to hear that, you might ask them to install CURL on your system along with PEAR if you dont already have them, both are very very

RE: [PHP] where php at?

2006-03-28 Thread Jay Blanchard
[snip] Sorry to hear that, you might ask them to install CURL on your system along with PEAR if you dont already have them, both are very very useful even if you dont need them right now. Not to be a jackass and repeat what others have said but you might also want to look into other hosts who are

RE: [PHP] where php at?

2006-03-28 Thread tedd
Jay said: I know that you have searched Google for cPanel cron jobs and that lot's of folks here have tried to help. Where are you on this and can we help? You guys have been Great! At the moment, I sent a trouble ticket to my host -- I'll see what he says, if anything. Please don't

[PHP] where php at?

2006-03-27 Thread tedd
Hi: Related to my cron problem -- where do you get the path to php? My phpinfo() says: http://www.xn--ovg.com/info.php reports it as: /usr/lib/php:/usr/local/lib/php That can't be right, right? Or am I reading this wrong? In any event, where's it at? Thanks. tedd --

Re: [PHP] where php at?

2006-03-27 Thread Warren Vail
Looks like you have a unix machine, if you have a shell account you may be able to use the command; which php to identify it's path. hope this helps, Warren Vail At 10:45 AM 3/27/2006, tedd wrote: Hi: Related to my cron problem -- where do you get the path to php? My phpinfo() says:

Re: [PHP] where php at?

2006-03-27 Thread John Meyer
tedd wrote: Hi: Related to my cron problem -- where do you get the path to php? My phpinfo() says: http://www.xn--ovg.com/info.php reports it as: /usr/lib/php:/usr/local/lib/php If you're on a linux box, have you tried which php? -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] where php at?

2006-03-27 Thread tedd
Warren Vail said: Looks like you have a unix machine, if you have a shell account you may be able to use the command; which php to identify it's path. John Meyer said: If you're on a linux box, have you tried which php? Where do I type in which php? I'm dealing with a host account and

RE: [PHP] where php at?

2006-03-27 Thread Jay Blanchard
[snip] Where do I type in which php? [/snip] At the command line on the host. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] where php at?

2006-03-27 Thread tedd
At 1:19 PM -0600 3/27/06, Jay Blanchard wrote: [snip] Where do I type in which php? [/snip] At the command line on the host. Aarrrg -- no disrespect meant. I'm totally and absolutely clueless and frustrated. It must be my age because I haven't seen a command line since my Apple][ days

RE: [PHP] where php at?

2006-03-27 Thread Jay Blanchard
[snip] Aarrrg -- no disrespect meant. I'm totally and absolutely clueless and frustrated. It must be my age because I haven't seen a command line since my Apple][ days -- let alone one while doing web work. I'm sitting in front of my computer accessing my remote web site via ftp (GoLive)

Re: [PHP] where php at?

2006-03-27 Thread Dusty Bin
tedd wrote: At 1:19 PM -0600 3/27/06, Jay Blanchard wrote: [snip] Where do I type in which php? [/snip] At the command line on the host. Aarrrg -- no disrespect meant. I'm totally and absolutely clueless and frustrated. It must be my age because I haven't seen a command line since

Re: [PHP] where php at?

2006-03-27 Thread Warren Vail
ah, perhaps you don't have a shell account. With a shell account you would telnet to the server and enter the which command on the command line right after your prompt, once you were logged on. try creating a file called which.php have it contain the following; ?php $result = exec(which

RE: [PHP] where php at?

2006-03-27 Thread tedd
Dagnabit! Contact your host provider, they will tell you. 10 Been there 20 Done that 30 GOTO 10 Thanks anyway. tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] where php at?

2006-03-27 Thread tedd
I know nothing of cpanel, but if you can use cpanel to execute your script, can you not use cpanel to say 'which php'?? HTH... Dusty Dusty: Nope, it doesn't appear to work that way. Everything I've read thus far is that you must somehow enter the exact command you would via a command line

Re: [PHP] where php at?

2006-03-27 Thread Joe Henry
On Monday 27 March 2006 12:31 pm, tedd wrote: At 1:19 PM -0600 3/27/06, Jay Blanchard wrote: [snip] Where do I type in which php? [/snip] At the command line on the host. Aarrrg -- no disrespect meant. I'm totally and absolutely clueless and frustrated. It must be my age because I

RE: [PHP] where php at?

2006-03-27 Thread Jim Moseby
Dagnabit! Contact your host provider, they will tell you. 10 Been there 20 Done that 30 GOTO 10 Thanks anyway. ?PHP if(!$host_provider_instructions){ echo If your host provider can't tell you how to connect to _their_ server, what makes you think someone in php_general will be

Re: [PHP] where php at?

2006-03-27 Thread Kevin Kinsey
tedd wrote: Warren Vail said: Looks like you have a unix machine, if you have a shell account you may be able to use the command; which php to identify it's path. John Meyer said: If you're on a linux box, have you tried which php? Where do I type in which php? I'm dealing with a

Re: [PHP] where php at?

2006-03-27 Thread Richard Davey
On 27 Mar 2006, at 20:47, tedd wrote: Dagnabit! Contact your host provider, they will tell you. 10 Been there 20 Done that 30 GOTO 10 40 Gosub 'get decent web host' Cheers, Rich -- http://www.corephp.co.uk Zend Certified Engineer PHP Development Services -- PHP General Mailing List

Re: [PHP] where php at?

2006-03-27 Thread tedd
try creating a file called which.php have it contain the following; ?php $result = exec(which php); echo $result; ? Upload it to your website and execute it in your browser. I uploaded it to my RedHat Linux server and it showed the following; /usr/local/bin/php Warren: Bingo -- that

Re: [PHP] where php at?

2006-03-27 Thread Kevin Kinsey
Jay Blanchard wrote: [snip] Aarrrg -- no disrespect meant. I'm totally and absolutely clueless and frustrated. It must be my age because I haven't seen a command line since my Apple][ days -- let alone one while doing web work. I'm sitting in front of my computer accessing my remote

RE: [PHP] where php at?

2006-03-27 Thread tedd
At 2:50 PM -0500 3/27/06, Jim Moseby wrote: Dagnabit! Contact your host provider, they will tell you. 10 Been there 20 Done that 30 GOTO 10 Thanks anyway. ?PHP if(!$host_provider_instructions){ echo If your host provider can't tell you how to connect to _their_ server, what

RE: [PHP] where php at?

2006-03-27 Thread Jay Blanchard
[snip] /usr/local/bin/php Now, to figure out what command I need to run a php script from there. [/snip] http://www.unixgeeks.org/security/newbie/unix/cron-1.html Now, you can do this one of two ways 17 8 * * * /usr/local/bin/php /path/to/your/script.php Or you can add a bash line to the

RE: [PHP] where php at?

2006-03-27 Thread tedd
At 2:50 PM -0500 3/27/06, Jim Moseby wrote: Dagnabit! Contact your host provider, they will tell you. 10 Been there 20 Done that 30 GOTO 10 Thanks anyway. ?PHP if(!$host_provider_instructions){ echo If your host provider can't tell you how to connect to _their_ server, what

RE: [PHP] where php at?

2006-03-27 Thread Jay Blanchard
[snip] http://www.unixgeeks.org/security/newbie/unix/cron-1.html Now, you can do this one of two ways 17 8 * * * /usr/local/bin/php /path/to/your/script.php Or you can add a bash line to the top of your file and then make sure to have one blank line after the bash line #!/usr/local/bin/php

RE: [PHP] where php at?

2006-03-27 Thread Ryan A
[/clip] http://www.unixgeeks.org/security/newbie/unix/cron-1.html Now, you can do this one of two ways 17 8 * * * /usr/local/bin/php /path/to/your/script.php [/clip] Now, I might be coming in a bit late here...but I have worked with cpanel and using their simplified version of setting

Re: [PHP] where php at?

2006-03-27 Thread Rory Browne
Jim Moseby: On second thought, I'm really not sorry to have brother you -- you don't have to reply to any request for help on this list. Two-Faced SOB - One minute you're sorry, the next you're not. Make up your gd Mind. Furthermore, I'm not asking you to provide me with how to connect

Re: [PHP] where php at?

2006-03-27 Thread Anthony Ettinger
On 3/27/06, Rory Browne [EMAIL PROTECTED] wrote: Jim Moseby: On second thought, I'm really not sorry to have brother you -- you don't have to reply to any request for help on this list. Two-Faced SOB - One minute you're sorry, the next you're not. Make up your gd Mind.

Re: [PHP] where php at?

2006-03-27 Thread Ryan A
Two-Faced SOB - One minute you're sorry, the next you're not. Make up your gd Mind. I'll add more to this tomorrow morning when I'm sober. DAMN! I love this listother than two people on the list I think everyone else is gonna have a smile on their faces. My $0.2 :-p -- PHP

RE: [PHP] where php at?

2006-03-27 Thread Ryan A
Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but sometimes it can be usefulyou should have CURL installed of course. The good thing about the above is it does not

Re: [PHP] where php at?

2006-03-27 Thread Jon Anderson
Anthony Ettinger wrote: In a related question, I have php5 installed on my box (works fine with Apache2)...but I can't seem to find php5 on the command line. Is there a separate package I need (fyi: I'm using Gentoo). Enable the cli USE flag in either /etc/make.conf or /etc/portage/package.use

Re: [PHP] where php at?

2006-03-27 Thread Anthony Ettinger
On 3/27/06, Ryan A [EMAIL PROTECTED] wrote: Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but sometimes it can be usefulyou should have CURL installed of

Re: [PHP] where php at?

2006-03-27 Thread Warren Vail
I believe the command portion of your chron entry is /usr/local/bin/php /full/path/to/myscript.php (separated by a space) My Cpanel allows two methods scheduling (updating cron.tab file), if you are using the unix option, you have the ability to schedule the execution at a certain time of

Re: [PHP] where php at?

2006-03-27 Thread Anthony Ettinger
On 3/27/06, Anthony Ettinger [EMAIL PROTECTED] wrote: On 3/27/06, Ryan A [EMAIL PROTECTED] wrote: Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but sometimes

RE: [PHP] where php at?

2006-03-27 Thread tedd
At 11:26 PM +0200 3/27/06, Ryan A wrote: Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but sometimes it can be usefulyou should have CURL installed of course. The

Re: [PHP] where php at?

2006-03-27 Thread Chris
tedd wrote: At 11:26 PM +0200 3/27/06, Ryan A wrote: Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but sometimes it can be usefulyou should have CURL installed

Re: [PHP] where php at?

2006-03-27 Thread tedd
At 12:45 PM +1100 3/28/06, Chris wrote: tedd wrote: At 11:26 PM +0200 3/27/06, Ryan A wrote: Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but sometimes it can be

Re: [PHP] where php at?

2006-03-27 Thread Chris
tedd wrote: At 12:45 PM +1100 3/28/06, Chris wrote: tedd wrote: At 11:26 PM +0200 3/27/06, Ryan A wrote: Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel its a long way round but