Menu
blog.headdesk.me
blog.headdesk.me

Tag: php

Upgrade to php-7.3

That caused my WordPress plugin Crayon Syntax Highlighter to fail. Some googling suggests php-7.3 switched to pcre2, which is more restrictive in terms of escaping special characters.

php debugging

There are a couple ways to debug php applications. We can enable core dump and/or install Xdebug. Enable php core dump on php-fpm First instruct the kernel to write core dumps to /tmp. On some system, dumps are fed to abrtd. echo ‘/tmp/core-%e.%p’ > /proc/sys/kernel/core_pattern In php-fpm.conf, add the following rlimit_core = unlimited Restart php-fpm…

Create CSR with SANs on php

Ever tried generating CSR with SANs? It is tedious work. It involves populating an openssl config file with the additional domain names. Put it on a webapp, it does not eliminate the work, but only require minimal coding once.

  • aws (8)
  • coffee (1)
  • headfi (1)
  • linux (6)
  • others (58)
  • security (2)
  • tech (36)
  • wordpress (2)

apache aws awscli azure backup clearlinux cloud coffee docker DOCP ec2 EL8 epyc espresso featured gpg jenkins kernel lelit linux lvm meltdown memory MFA mikrotik php python rdp Redhat RHEL roasting rpm Ryzen site-to-site snapshot spectre tech terraform tuning ubuntu ubuntu upgrade vim vpn wordpress xdotool

©2023 blog.headdesk.me | Powered by SuperbThemes & WordPress