Menu

Conf file doesn't create anymore

Help
Mat L
2020-09-07
2020-09-07
  • Mat L

    Mat L - 2020-09-07

    Hello,

    I have two web sevrer running webmin with a shared file storage for the web sources and the confiig files.
    By looking the logs I see that since few days the file /etc/opt/remi/php71/php-fpm.d/<id>.conf is note created anymore after create a new vhost. This file is normaly moved by a script into the shared storage but the file doesn't exist so it can't be moved. For exemple this is the content of an old conf file created :</id>


    [157355157215917]
    user = <server-name>
    group = <server-name>
    listen = 8175
    pm = dynamic
    pm.max_children = 9999
    pm.start_servers = 1
    pm.min_spare_servers = 1
    pm.max_spare_servers = 5
    php_admin_value[upload_tmp_dir] = /storage/<server-name>/tmp
    php_admin_value[session.save_path] = /storage/<server-name>/tmp</server-name></server-name></server-name></server-name>


    I tought about create manually the file to test if it's works but I m affraid of port collision...

    If someone can help me I appreciate a lot, our production if blocked...

    Thanks !

     
  • Ilia

    Ilia - 2020-09-07

    Hi,

    That PHP config is used, if PHP execution mode is set to FPM under Server Configuration > Website Options. Later you can control current PHP version configuration under Services > PHP 7.x Configuration.

     
  • Mat L

    Mat L - 2020-09-07

    Hi Ilia,

    Thanks for your response, yes the PHP works with FPM, but I can't change the PHP version as you said, I think because we are running an outdated version (webmin 1.930 & virtualmin 6.07).

    Moreover, I create the missing file, incremented the port and it works !! So the problem comes from there. I think I gonna modify the script which is running after vhost creation to create this file. Ugly solution but it will work...

     

Log in to post a comment.

MongoDB Logo MongoDB