Open vovs03 opened 2 years ago
~/devops/php$ cat php.ini
[PHP]
allow_url_fopen = True
allow_url_include = 0
date.timezone = Europe/Moscow
display_errors = 0
expose_php = 0
extension = curl.so
extension = enchant.so
extension = gd.so
extension = gmp.so
extension = imagick.so
extension = imap.so
extension = intl.so
extension = ldap.so
extension = mailparse.so
extension = mcrypt.so
extension = memcache.so
extension = memcached.so
extension = mysqli.so
extension = odbc.so
extension = pdflib.so
extension = pdo.so
extension = pdo_dblib.so
extension = pdo_firebird.so
extension = pdo_mysql.so
extension = pdo_odbc.so
extension = pdo_pgsql.so
extension = pdo_sqlite.so
extension = pgsql.so
extension = pspell.so
extension = raphf.so
extension = redis.so
extension = snmp.so
extension = sqlite3.so
extension = tidy.so
extension = xsl.so
extension = yaml.so
extension = oauth.so
extension_dir = /opt/php80/lib/php/20200930
log_errors = 1
mail.add_x_header = 1
max_execution_time = 800
max_file_uploads = 1000
max_input_vars = 3000
memory_limit = 1024M
mssql.allow_persistent = True
mssql.compatability_mode = False
mssql.max_links = -1
mssql.max_persistent = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.secure_connection = False
opcache.max_accelerated_files = 100000
opcache.max_file_size = 2097252
opcache.memory_consumption = 512
opcache.revalidate_freq = 0
pcre.recursion_limit = 12000
post_max_size = 5000M
realpath_cache_size = 4096K
session.gc_maxlifetime = 86400
session.save_handler = files
session.save_path = /tmp
sql.safe_mode = False
upload_max_filesize = 5000M
upload_tmp_dir = /tmp
[Zend]
zend_extension = /opt/php80/lib/php/20200930/opcache.so
~/devops/php/myphpinfo.php
<?php
phpinfo();
?>
Img