Hi all,
I am trying to get PHP7.1 working on a subdomain. Default is PHP5.5 for that domain.
I use custombuild 2 and when I use the PHP selector to change the PHP version for the domain it works as expected. But I need PHP 7.1 for the subdomain new.domain.com and not the default PHP 5.5 for testing.
I have this in de options.conf
#PHP Settings
php1_release=5.5
php1_mode=mod_php
php2_release=7.1
php2_mode=php-fpm
I have tried adding this to the custom hhtpd.conf of that domain.
According to a forum post here, but is does not work, running phpinfo on the new subdomain it gives me still PHP 5.5
I think I am doing something wrong... But what?
Who can point me in the right direction.
I am trying to get PHP7.1 working on a subdomain. Default is PHP5.5 for that domain.
I use custombuild 2 and when I use the PHP selector to change the PHP version for the domain it works as expected. But I need PHP 7.1 for the subdomain new.domain.com and not the default PHP 5.5 for testing.
I have this in de options.conf
#PHP Settings
php1_release=5.5
php1_mode=mod_php
php2_release=7.1
php2_mode=php-fpm
I have tried adding this to the custom hhtpd.conf of that domain.
Code:
<Directory |DOCROOT|/new/>
<FilesMatch "\.(inc|php|phtml|phps|php|PHP2_RELEASE|)$">
AddHandler "proxy:unix:/usr/local/php|PHP2_RELEASE|/sockets/|USER|.sock|fcgi://localhost" .php|PHP2_RELEASE|
</FilesMatch>
</Directory>
According to a forum post here, but is does not work, running phpinfo on the new subdomain it gives me still PHP 5.5
I think I am doing something wrong... But what?
Who can point me in the right direction.
Last edited: