Daniel60
18/05/2016, 16h15
Merci pour ces précisions. Est-ce la raison pour laquelle un script Perl me retourne une erreur 500 en Web, alors qu'il fonctionne en SSH ? Il s'agit de AWstats 7.5
[Sun May 08 06:33:01 2016] [error] [client 10.0.55.91] [host xxxx.clusterxxx.ovh.net] request failed: error reading the headers [Sun May 08 06:45:02 2016] [error] [client 10.0.55.91] [host xxxx.clusterxxx.ovh.net] request failed: error reading the headers
#!/usr/local/php5.5/bin/php ?
[2016-05-06 06:33:02] ## OVH ## START - 2016-05-06 06:33:02.305382 executing: /usr/local/php5.5/bin/php /homez.63/xxxx/www/stats/logcopy2.php [2016-05-06 06:45:03] ## OVH ## START - 2016-05-06 06:45:03.249262 executing: /homez.63/xxxx/cgi-bin/awupdate.sh
#!/usr/local/bin/php
#!/usr/bin/env php ou #!/usr/local/php5..5/bin/php
[2016-05-05 06:33:02] ## OVH ## START - 2016-05-05 06:33:02.984082 executing: /usr/local/bin/php.ORIG.4 -c /usr/local/lib/php.ini /homez.63/xxxxxxxxxxxx/www/stats/logcopy2.php [2016-05-05 06:33:02] ## OVH ## ERROR command '/usr/local/bin/php.ORIG.4' not found [2016-05-05 06:33:02] [2016-05-05 06:33:02] ## OVH ## END - 2016-05-05 04:33:03.055013 exitcode: 255