Hi,
I'm using Custombuild 2.0.0 (rev: 2434) and have enabled 2 PHP versions:
I followed this thread to add the php2_release to a subdomain:
How to use a different PHP version on a subdomain with custombuild 2?
But I had to add the version in as text instead of dynamically with the token PHP2_RELEASE. Because that's apparently giving me 0 back:

I eventually got the httpd.conf to work by adding this to CUSTOM3:
But now on the subdomain I'm getting a
503 Service Unavailable
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
After checking the logs of the subdomain, it gives the following error:
[Wed Mar 11 18:44:50.704231 2020] [proxy:error] [pid 13255:tid 140090535659264] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php73/sockets/admin.sock (*) failed
When I check the folder:
/usr/local/php73/sockets/
The only socket in it, is:
webapps.sock
So the error makes sence that the file admin.sock can't be found.
I checked if php-fpm is running for php73:
Which gives me:

Also when I check the services, it says it's running properly:
So the question is how can I fix that I don't get the 503 error?
How to fix that Apache isn't creating the admin.sock file?
Thanks in advance,
Cheers,
Ruben
I'm using Custombuild 2.0.0 (rev: 2434) and have enabled 2 PHP versions:
I followed this thread to add the php2_release to a subdomain:
How to use a different PHP version on a subdomain with custombuild 2?
But I had to add the version in as text instead of dynamically with the token PHP2_RELEASE. Because that's apparently giving me 0 back:
I eventually got the httpd.conf to work by adding this to CUSTOM3:
Code:
|*if SUB="test"|
<FilesMatch "\.(inc|php|phtml|phps|php73)$">
<If "-f %{REQUEST_FILENAME}">
AddHandler "proxy:unix:/usr/local/php73/sockets/|USER|.sock|fcgi://localhost" .inc .php .phtml .php73
</If>
</FilesMatch>
</Directory>
# Dummy to override default php version
<Directory |DOCROOT|/test/php56/>
|*endif|
But now on the subdomain I'm getting a
503 Service Unavailable
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
After checking the logs of the subdomain, it gives the following error:
[Wed Mar 11 18:44:50.704231 2020] [proxy:error] [pid 13255:tid 140090535659264] (13)Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php73/sockets/admin.sock (*) failed
When I check the folder:
/usr/local/php73/sockets/
The only socket in it, is:
webapps.sock
So the error makes sence that the file admin.sock can't be found.
I checked if php-fpm is running for php73:
Code:
/usr/local/php73/bin/php -v
Which gives me:
Also when I check the services, it says it's running properly:
So the question is how can I fix that I don't get the 503 error?
How to fix that Apache isn't creating the admin.sock file?
Thanks in advance,
Cheers,
Ruben