• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Recent content by goomba

  1. G

    Question Best way to block bad user agents in global Nginx configuration?

    I have tried the following in a file like /etc/nginx/conf.d/bad_bots.conf, but it still allows successful HTTP response. map $http_user_agent $bad_user_agent { default 0; ~*MJ12bot 1; ~*coccocbot-image 1; ~*Baiduspider 1; } server { if...
  2. G

    Question How can I get debug symbols for PHP to use gdb on core dumps?

    4-minute edit timer is kind of lame. But anyways, I have an application generating segmentation faults but is not generating core dumps via PHP-FPM. I tried invoking it via CLI which did get a core dump. gdb /opt/plesk/php/8.0/bin/php core.16561 gdb /opt/plesk/php/8.0/bin/phpdbg core.16561 gdb...
  3. G

    Question How can I get debug symbols for PHP to use gdb on core dumps?

    Looks like plesk-php80-debuginfo got me some info at least: Core was generated by `/opt/plesk/php/8.0/bin/php index.php'. Program terminated with signal 11, Segmentation fault. #0 php_charmask (mask=0x7ffd5526e020 "", len=2, input=0x7f1f03bf1378 "/\\") at ext/standard/string.c:710 710...
  4. G

    Question How can I get debug symbols for PHP to use gdb on core dumps?

    [root@host httpdocs]# gdb /opt/plesk/php/8.0/bin/php core.16561 GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and...
Back
Top