Skip to content

Instantly share code, notes, and snippets.

View jlaptechnologies's full-sized avatar

Justin Patchett jlaptechnologies

View GitHub Profile
@jlaptechnologies
jlaptechnologies / opcache.ini
Created February 21, 2023 19:48
opcache.ini php8 with jit
zend_extension=opcache
[opcache]
opcache.blacklist_filename = ""
opcache.consistency_checks = 0
opcache.dups_fix = 0
opcache.enable = 1
opcache.enable_cli = 0
opcache.enable_file_override = 0
opcache.error_log =
opcache.file_cache =
@jlaptechnologies
jlaptechnologies / php8_xdebug3_ufw_dev.txt
Last active January 7, 2021 15:51
PHP8 Xdebug3 Quick Configs for VM / Container (including ufw firewall rules for dev)
# Star this Gist if it helped you, cheers!
# In order to get PHP8 working with Xdebug3, use the following settings (PHPStorm)
# (P.S make sure xdebug is installed and module loaded, check your php.ini)
1. Edit your xdebug ini file. This could be in /etc/php/conf.d/{nn}-xdebug.ini or /etc/php/8.0/fpm/conf.d/{nn}-xdebug.ini
2. Use the following to get started:
zend_extension=xdebug.so