0

Hi all ,
I have collected php shell scripts on various sites on web. However the only script which works is this :

$ php helloWorld.php

<?php
$var = "honey";
print "hello $var"; 
echo "world";
?>

Any other script which has different commands doesn't work on the system ?? My PHP version is PHP 5.1.6 (cli) which comes with RedHat5 Server OS.
Any idea will be very very appreciated. Please urgent..

Edited by sheennave: n/a

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by sheennave
0

Some other scripts also work. But it would be good if somebody offers any good configuration for php.ini or httpd.conf

Edited by sheennave: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.