php79 / stack

PHP 5.3 ~ 8.4 + Nginx + Let's Encrypt + MariaDB + 앱 자동 설치
https://www.php79.com
MIT License
90 stars 32 forks source link

PHP 8.0 추가 지원 #77

Closed ibin79 closed 3 years ago

ibin79 commented 3 years ago

PHP 8.0 출시

https://www.php.net/ChangeLog-8.php#8.0.0

Remi 저장소 지원

https://blog.remirepo.net/post/2020/11/26/PHP-version-8.0.0-is-released

lovelycbm commented 3 years ago

항상 잘 사용하고 있습니다. 감사합니다~

ibin79 commented 3 years ago

php-fpm pool 설정은 7.4 와 차이 없음.

# diff -iwB www.conf ../../php74/php-fpm.d/www.conf 
38c38
< listen = 127.0.0.1:9080
---
> listen = 127.0.0.1:9074
75c75
< ; or group is different than the master process user. It allows to create process
---
> ; or group is differrent than the master process user. It allows to create process
144c144
< ; recognized as a status page. It shows the following information:
---
> ; recognized as a status page. It shows the following informations:
274c274
< ;      - %{milliseconds}d
---
> ;      - %{miliseconds}d
280c280
< ;      variable. Some examples:
---
> ;      variable. Some exemples:
325c325
< slowlog = /var/opt/remi/php80/log/php-fpm/www-slow.log
---
> slowlog = /var/opt/remi/php74/log/php-fpm/www-slow.log
371c371
< ; Note: on highloaded environment, this can cause some delay in the page
---
> ; Note: on highloaded environement, this can cause some delay in the page
423c423
< php_admin_value[error_log] = /var/opt/remi/php80/log/php-fpm/www-error.log
---
> php_admin_value[error_log] = /var/opt/remi/php74/log/php-fpm/www-error.log
436,438c436,438
< php_value[session.save_path]    = /var/opt/remi/php80/lib/php/session
< php_value[soap.wsdl_cache_dir]  = /var/opt/remi/php80/lib/php/wsdlcache
< ;php_value[opcache.file_cache]  = /var/opt/remi/php80/lib/php/opcache
---
> php_value[session.save_path]    = /var/opt/remi/php74/lib/php/session
> php_value[soap.wsdl_cache_dir]  = /var/opt/remi/php74/lib/php/wsdlcache
> ;php_value[opcache.file_cache]  = /var/opt/remi/php74/lib/php/opcache

php.ini 도 큰 차이 없는듯...

# diff -iwB php.ini ../php70/php.ini |more

phpinfo

image