• Hi !
    On my VPS running4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) x86_64 GNU/Linux i have upgraded to php7.4 and i have turned Apache/2.4.25 to use php7.4-fpm .
    This is how actually my LAMP sytem is configured:

    • https://www.klanmuziklab.com/info.php
    • .
      The conflicts begin on wordpress plugins page after the above upgrade.
      I have two websites hosted on the same Debian VPS.
      One website while installing a plugin before hand asks for some ftp credentials i never came across and i didn’t expect to have to deal with in any possible future and on yhe other website i have troubles on removing plugins, wordpress doesn’t delete them … (???)
      I did not have a ftp daemon installed.
      On my vps i only login by ssh.
      I don’t want to have a cPanel.
      I have installed proftpd and i’m having trouble on configuring it, but this is another story.
      Permissions for the www/DocumentRoot dirs are 755 (i have tried also 777) and 644 for files.
      My question is:
      WTH are these FTP credentials all of a sudden ???
      I’m afraid bu these “good news” are making me strugle.
      Have a nice day !!!
      Thanks

    • This topic was modified 4 years, 1 month ago by Gab.
    • This topic was modified 4 years, 1 month ago by Gab.
    • This topic was modified 4 years, 1 month ago by Gab.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dion

    (@diondesigns)

    This has nothing to do with WordPress, but…check your PHP-FPM configuration and make sure the FPM pool is running as the same user that owns the /var/www/klanmuziklab web filesystem. Make sure to restart PHP-FPM after making changes to its configration.

    You should also update Apache. The version you are using is three years out of date and is quite slow compared to the most recent version (2.4.46).

    Thread Starter Gab

    (@gabrix73)

    Launching this command
    egrep '^(user|group|listen|export APACHE_RUN_[UG])' /etc/apache2/envvars /etc/php/7.4/fpm/pool.d/www.conf

    /etc/apache2/envvars:export APACHE_RUN_USER=toroseduto
    /etc/apache2/envvars:export APACHE_RUN_GROUP=toroseduto
    /etc/php/7.4/fpm/pool.d/www.conf:user = www-data
    /etc/php/7.4/fpm/pool.d/www.conf:group = www-data
    /etc/php/7.4/fpm/pool.d/www.conf:listen = /run/php/php7.4-fpm.sock
    /etc/php/7.4/fpm/pool.d/www.conf:listen.owner = www-data
    /etc/php/7.4/fpm/pool.d/www.conf:listen.group = www-data

    I found out php7.4-fpm considers www-data as running apache2.
    Instead the apache2 on my VPS is owned by toroseduto, unprivileged user i created.
    I will change all the instances in fpm/pool.d/www.conf file about user, group and owner from www-data to toroseduto and permissions to /run/php/php7.4-fpm.sock accordingly.

    # ls -la /run/php/php7.4-fpm.sock
    srw-rw----  1 www-data www-data    0 ott 17 16:26 php7.4-fpm.sock

    # chown toroseduto:toroseduto /run/php/php7.4-fpm.sock

    • This reply was modified 4 years, 1 month ago by Gab.
    • This reply was modified 4 years, 1 month ago by Gab.
    • This reply was modified 4 years, 1 month ago by Gab.
    • This reply was modified 4 years, 1 month ago by Gab.
    Thread Starter Gab

    (@gabrix73)

    It’s not asking ftp credentials anymore but since after php7.4-fpm upgrade, wordpress has not stopped unexpected behaviors.

    Thread Starter Gab

    (@gabrix73)

    At the moment, every time I reload the page, a removed plugin return to the list of available plugins, others that I had deactivated, have been reactivated. I try to add products to the shop but in vain … wordpress + php7.4-fpm for me is not working as expected.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘FTP Login ???’ is closed to new replies.