My host is the type pro (OVH)
I have a problem with laravel 5.1 in Ovh when I type php artisan
I get
X-Powered-By: PHP/4.4.9
Content-type: text/html
<br />
<b>Warning</b>: Unexpected character in input: '\' (ASCII=92) state=1 in <b>/home/obliviushc/petite-enfance/artisan</b> on line <b>31</b><br />
<br />
<b>Parse error</b>: syntax error, unexpected T_STRING in <b>/home/obliviushc/petite-enfance/artisan</b> on line <b>31</b><br />
and as you see the version of php is 4.4.9
and i followed the instructions from the site of OVH to change the version of php
and i added .ovhconfig
in public/ file and it contains these lines
app.engine=php
app.engine.version=5.6
http.firewall=none
environment=production
and i tested inside a view file with <?php phpinfo() ?>
and I get 5.6.15
now is this due to the php of version or what ?
please help me I'm Stuck!