I'm the root. and as i've mentioned before i can execute /var/www/htdocs/sendsms.php from the cli but not from the web
The file permissions on /var/www/htdocs/msg.pl are 755 .
i've tried this code, from the cli the output is /var/www/htdocs/sendsms.php is executable, from the web i have /var/www/htdocs/sendsms.php is not executable
$file = '/var/www/htdocs/sendsms.php';
echo $file.' is executable';
echo $file.' is not executable';
i've also tried this code,from the cli the output is root from the web the output is "OS Error: 127."
if($error) echo ("OS Error :$error.<br/>\n");
Concerning my server (apache), in the httpd.conf i have
maybe that switching to apache so changing the user cause problems ?
thank you anyway !