Last active
July 20, 2023 09:01
-
-
Save szabacsik/afa5cb8b4ff34704e2c82c6270e58c4a to your computer and use it in GitHub Desktop.
This php.ini contains settings for use in my development environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; PHP 7 | |
extension = gd2 | |
;https://windows.php.net/downloads/pecl/releases/trader/ | |
;extension = php_trader.dll | |
; Xdebug 2 | |
zend_extension = php_xdebug.dll | |
xdebug.remote_port = 9000 | |
xdebug.remote_enable = On | |
xdebug.remote_autostart = On | |
xdebug.idekey = PHPSTORM | |
xdebug.remote_mode = req | |
xdebug.remote_host = 127.0.0.1 | |
xdebug.remote_connect_back = On | |
; PHP 8 | |
error_reporting = E_ALL | |
display_errors = On | |
display_startup_errors = On | |
mysqlnd.collect_memory_statistics = On | |
memory_limit = -1 | |
extension_dir = "ext" | |
extension = curl | |
extension = ftp | |
extension = mbstring | |
extension = mysqli | |
extension = openssl | |
extension = pdo_mysql | |
extension = fileinfo | |
extension = gd | |
extension = intl | |
log_errors = On | |
error_log = c:\code\php\error.log | |
max_execution_time = 300 | |
memory_limit = -1 | |
date.timezone = Europe/Budapest | |
; https://curl.haxx.se/ca/cacert.pem | |
curl.cainfo = cacert.pem | |
; Xdebug 3 | |
; https://xdebug.org/docs/upgrade_guide | |
; Xdebug's default debugging port has changed from 9000 to 9003 | |
zend_extension = php_xdebug.dll | |
xdebug.mode = debug | |
xdebug.start_with_request = yes | |
add-apt-repository ppa:ondrej/php | |
apt update | |
apt install php8.2 -y --no-install-recommends | |
apt install php8.2-{cli,common,curl,gd,mbstring,mysql,xml,intl,uuid,yaml,zip,xdebug,ssh2} -y --no-install-recommends | |
curl https://getcomposer.org/download/latest-stable/composer.phar --output /usr/local/bin/composer && chmod +x /usr/local/bin/composer | |
curl https://phar.phpunit.de/phpunit-10.2.6.phar --output /usr/local/bin/phpunit && chmod +x /usr/local/bin/phpunit | |
apt-get purge php* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment