Page 1 of 1

PHP 5.5

Posted: Sun Sep 02, 2018 5:12 pm
by poempath
Hello,

I'm trying to create a site on my free mini hosting that requires PHP scripts to run in order to set it all up. It looks like Sonic doesn't support PHP 5.5 (and the support staff isn't trained in it). I did read on the wiki about adding a txt file via ftp to force the server to run as a higher PHP but that doesn't seem to have worked for me.

Solutions?

Thanks.

Re: PHP 5.5

Posted: Tue Sep 04, 2018 4:01 pm
by joemuller
You'll need to create/modify a .htaccess file in the main directory/folder for your website (details over here.

These lines should be at the top of the .htaccess file:

Code: Select all

Action php-cgi /cgi-bin/php55
AddHandler php-cgi .php