some help with CentOS PHP issue please!
I have a php script which works in Red hat 9, fedora cores which basically executes a program off a PHP website. For some odd reason, this script just doesn't work on CentOS 4.0, I am not sure what it could be.. anyone know why my php script may not be able to execute? PHP "seems" install as php website does load...
any help would be great, thanks for reading |
Is it just this particular php script that doesn't run?
Have you tried a phpinfo() page? Are there any errors in your error_log file? |
hmmm the other difference I see is.. this is using apache 2, how can I make it run with old apache 1 version ?
|
Install apache 1.
To be honest that shouldn't really make a difference with php though. |
Make sure your php script is compatible with the newer version of PHP that comes with CentOS. ;)
|
guys :( I don't know how to install old php or convert my "very simple script" to work for the new php.
here is my script: <?php include("var.php"); ?> <p align="center"><b><a href="javascript:history.back()">Click here once finish$ <br> <?php print $user; passthru("/etc/init.d/file $user restart"); ?></p> |
All times are GMT -5. The time now is 07:05 PM. |