Skip to content

13 Comments

  1. harvey m.
    May 1, 2019 @ 7:53 pm

    Hi, I love your guides, they are super easy to follow for a beginner like me!

    I ran into a little issue after performing the commands in section “Other PHP configurations”, I tried resetting PHP using command “service php-fpm7.2 restart” and I got an error “Failed to restart php-fpm7.2.service: Unit php-fpm7.2.service not found.”

    Any idea why this is happening? I’m using your Rocket Stack with PHP 7.2. Is there another way to restart it?

    Thank you!

    Reply

    • Dave H.
      May 9, 2019 @ 4:29 pm

      Sounds like you might have updated to 7.3. In putty/ssh, type: service php7 then hit tab, it’ll complete the service name for you then add a space and the word restart.

      Reply

  2. harvey m.
    May 10, 2019 @ 8:21 pm

    Thank you. I confirmed that I am on php 7.2, but surprisingly it worked now. Take care.

    Reply

  3. Diego
    June 10, 2019 @ 3:39 pm

    Hello,

    i’ve tried everything to install geoip2 module, but no success so far.
    the link is down: https://kenkogeek.com/en/english-maxmind-geoip2-and-nginx-on-ubuntu-16-04/

    Could you help me ?

    Reply

  4. Chris Khoo
    August 15, 2019 @ 5:22 am

    If you are getting
    • Sorry but the jail ‘wordpress-soft’ does not exist
    • Sorry but the jail ‘wordpress-hard’ does not exist
    after
    • sudo fail2ban-client status wordpress-soft
    • sudo fail2ban-client status wordpress-hard
    Try
    • sudo service fail2ban restart

    Reply

    • Dave H.
      August 15, 2019 @ 11:48 am

      This means you didn’t copy the 2 files that exist in the fail2ban plugin folder. Look in the guide above for the cp command.

      Reply

  5. Chris Khoo
    August 15, 2019 @ 11:39 pm

    I’ve copied the 3 files (including wordpress-extra.conf) from filter.d previously
    It was only after I did sudo service fail2ban restart and re-enter the commands, that I got the below
    So all was good actually

    Status for the jail: wordpress-hard
    |- Filter
    | |- Currently failed: 0
    | |- Total failed: 0
    | `- File list: /var/log/auth.log
    `- Actions
    |- Currently banned: 0
    |- Total banned: 0
    `- Banned IP list:

    Status for the jail: wordpress-soft
    |- Filter
    | |- Currently failed: 0
    | |- Total failed: 0
    | `- File list: /var/log/auth.log
    `- Actions
    |- Currently banned: 0
    |- Total banned: 0
    `- Banned IP list:

    Reply

  6. Encify
    February 19, 2020 @ 8:54 am

    I wish the country code part worked – is this going to be updated or left broken?

    Reply

    • Dave H.
      March 9, 2020 @ 11:33 am

      What issue are you seeing with the country code part?

      Reply

  7. Vladimir Perepechenko
    March 5, 2020 @ 10:37 am

    Thank you! Great job.

    I suppose “Upgrading and optimising PHP” topic in this article you left without content… there is title only.

    It would be nice if you share this knowledge!

    Reply

    • Dave H.
      March 9, 2020 @ 11:30 am

      That’s a misplaced header. If you look further up the article you’ll see some PHP optimisations.

      Reply

  8. Jonathan d.
    January 23, 2021 @ 5:57 pm

    Hi Dave,

    I was just starting to test out Wordfence, for the most part to prevent username enumeration and also to add 2FA (2 factor authentication) to my wordpress sites, as I think both of these are important to protect against user hacking / data loss.
    If you recommend against Wordfence, can you make a recommendation to achieve those 2 things in its place?

    Many thanks!

    Reply

  9. Wilson Hauck
    February 7, 2021 @ 3:32 pm

    Dave,
    In this article, https://www.wpintense.com/2019/02/14/stack-configuration-customisation-and-optimisation-guide/

    the number of seconds in a year should be 86400*365 = 31536000 rather than 331536000.

    Thanks for sharing your tips.

    Your mention of our web site would be appreciated for MySQL or MariaDB performance tuning. We can reciprocate with a link to your site.
    Visit our Links page and give us text to include your wpintense.com

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

CYBERFUNDAY 40% discount coupon extended to Friday 9th December + join our Discord community and read the rules for an extra 20% discount coupon.