Failed to execute: No such file or directory
when execute a php agi script
my test.php script is given below :
#!usr/bin/php
<?php echo "***testing***"; ?>what is going wrong
Failed to execute: No such file or directory
when execute a php agi script
my test.php script is given below :
#!usr/bin/php
<?php echo "***testing***"; ?>what is going wrong
problem solved.
its because creating file in window and uploading it to linux. so its opening as dos file.
when used vi editor it starts working
[quote=“php2”]Failed to execute: No such file or directory
when execute a php agi script
my test.php script is given below :
#!usr/bin/php
<?php echo "***testing***"; ?>what is going wrong[/quote]
You can use dos2unix on linux to convert your file