|
|
#1 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Oct 2004
148 posts
Gave thanks: 2
Thanked 2 times
|
PHP5 on sh60?
I see that PHP5 is available on some servers.
How do I find out if PHP5 is available on "my" server, SH60. thanks, david
__________________
David Kaspar | SH60 |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Oct 2004
148 posts
Gave thanks: 2
Thanked 2 times
|
I just confirmed php5 is installed with a phpinfo.php5 file.
How can I execute PHP5 script from the command line (SSH)? So far I have been using Code:
/usr/local/bin/php thanks
__________________
David Kaspar | SH60 |
|
|
|
|
|
#3 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
|
are you running a file from the command line? just put the .php5 extension on it instead of .php
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#4 (permalink) |
|
Surpass Fan
Comfy Contributor
Joined in Oct 2004
148 posts
Gave thanks: 2
Thanked 2 times
|
Thanks bigjohn,
I tried that but it didn't work. In a shell script (command line) I am pointing to a specific php binary and that one is PHP4 for sure. Tested it with Code:
php -v I have been given the following location by support: Code:
/usr/local/php5/bin/php5
__________________
David Kaspar | SH60 |
|
|
|