I'm using shared hosting, can create .htaccess
and php.ini
and have access to ssh.
I have PHP 5.6 installed to ~/public_html/php56
and can use this path with ssh
, cron
and exec()
but not on the web.
Apache uses php 5.4 because it's set in .htaccess
:
AddHandler application/x-httpd-php54s .php
Is it possible to specify full php path using maybe AddHandler, Action, CGI etc.?
AddHandler
application/x-httpd-php54\53\52 etc. but it uses root php installs – mu3 Oct 22 '14 at 11:50