Incorrect path to PHP-FPM socket in vhost configuration #74

Closed
opened 2021-06-25 18:16:52 +02:00 by abenmiloud · 0 comments
Owner

I have installed Evoadmin-web in multiPHP mode.

The installation has only one PHP version: PHP7.0.

When I create a new website, the path to PHP-FPM socket in vhost configuration is incorrect:

<Proxy "unix:/home/user/php-fpm.sock|fcgi://localhost/" timeout=300>

instead of

<Proxy "unix:/home/user/php-fpm70.sock|fcgi://localhost/" timeout=300>

As a workaround, I have patched the /home/evoadmin/www/conf/config.local.php file like this:

-$localconf['php_versions'] = array(70);
+$localconf['php_versions'] = array(70, 70);

I can now choose between 70 and 70 when I create a website and the vhost configuration is all good.

I have installed Evoadmin-web in multiPHP mode. The installation has only one PHP version: PHP7.0. When I create a new website, the path to PHP-FPM socket in vhost configuration is incorrect: ``` <Proxy "unix:/home/user/php-fpm.sock|fcgi://localhost/" timeout=300> ``` instead of ``` <Proxy "unix:/home/user/php-fpm70.sock|fcgi://localhost/" timeout=300> ``` As a workaround, I have patched the `/home/evoadmin/www/conf/config.local.php` file like this: ```diff -$localconf['php_versions'] = array(70); +$localconf['php_versions'] = array(70, 70); ``` I can now choose between 70 and 70 when I create a website and the vhost configuration is all good.
abenmiloud added the
Bug
label 2021-06-25 18:16:52 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evoadmin-web#74
No description provided.