Package: libapache2-mod-php7.3 Version: 7.3.14-1~deb10u1 Severity: important
Dear Maintainer, When creating an .htaccess file with contents: php_value mail.force_extra_parameters "-fn...@xxxxxx.com" It has no effect. It can be confirmed by creating a php file in the same directory running phpinfo(), to see that the local value has not been set. Though setting other values with php_value in that same .htaccess file works without any issue. However setting mail.force_extra_parameters with php_admin_value instead inside the vhost works: php_admin_value mail.force_extra_parameters "-fn...@xxxxxx.com" I am trying to set this value in the .htaccess file at a directory level. On the official PHP documentation, mail.force_extra_parameters should be PHP_INI_PERDIR, which means should be supported by .htaccess. I also looked for special behavior that would restrict that option but haven't found any. Hope it is clear. Please let me know if you need any more information. Wadih -- Package-specific info: ==== Additional PHP 7.3 information ==== ++++ PHP 7.3 SAPI (php7.3query -S): ++++ ++++ PHP 7.3 Extensions (php7.3query -M -v): ++++ ++++ Configuration files: ++++ [PHP] engine = On short_open_tag = Off precision = 14 output_buffering = 4096 zlib.output_compression = Off implicit_flush = Off unserialize_callback_func = serialize_precision = -1 disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, disable_classes = zend.enable_gc = On expose_php = Off max_execution_time = 30 max_input_time = 60 memory_limit = 128M error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On html_errors = On variables_order = "GPCS" request_order = "GP" register_argc_argv = Off auto_globals_jit = On post_max_size = 8M auto_prepend_file = auto_append_file = default_mimetype = "text/html" default_charset = "UTF-8" doc_root = user_dir = enable_dl = Off file_uploads = On upload_max_filesize = 2M max_file_uploads = 20 allow_url_fopen = On allow_url_include = Off default_socket_timeout = 60 [CLI Server] cli_server.color = On [Date] [filter] [iconv] [imap] [intl] [sqlite3] [Pcre] [Pdo] [Pdo_mysql] pdo_mysql.default_socket= [Phar] [mail function] SMTP = localhost smtp_port = 25 mail.add_x_header = Off [ODBC] odbc.allow_persistent = On odbc.check_persistent = On odbc.max_persistent = -1 odbc.max_links = -1 odbc.defaultlrl = 4096 odbc.defaultbinmode = 1 [Interbase] ibase.allow_persistent = 1 ibase.max_persistent = -1 ibase.max_links = -1 ibase.timestampformat = "%Y-%m-%d %H:%M:%S" ibase.dateformat = "%Y-%m-%d" ibase.timeformat = "%H:%M:%S" [MySQLi] mysqli.max_persistent = -1 mysqli.allow_persistent = On mysqli.max_links = -1 mysqli.default_port = 3306 mysqli.default_socket = mysqli.default_host = mysqli.default_user = mysqli.default_pw = mysqli.reconnect = Off [mysqlnd] mysqlnd.collect_statistics = On mysqlnd.collect_memory_statistics = Off [OCI8] [PostgreSQL] pgsql.allow_persistent = On pgsql.auto_reset_persistent = Off pgsql.max_persistent = -1 pgsql.max_links = -1 pgsql.ignore_notice = 0 pgsql.log_notice = 0 [bcmath] bcmath.scale = 0 [browscap] [Session] session.save_handler = files session.use_strict_mode = 0 session.use_cookies = 1 session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.cookie_httponly = session.cookie_samesite = session.serialize_handler = php session.gc_probability = 0 session.gc_divisor = 1000 session.gc_maxlifetime = 1440 session.referer_check = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 session.sid_length = 26 session.trans_sid_tags = "a=href,area=href,frame=src,form=" session.sid_bits_per_character = 5 [Assertion] zend.assertions = -1 [COM] [mbstring] [gd] [exif] [Tidy] tidy.clean_output = Off [soap] soap.wsdl_cache_enabled=1 soap.wsdl_cache_dir="/tmp" soap.wsdl_cache_ttl=86400 soap.wsdl_cache_limit = 5 [sysvshm] [ldap] ldap.max_links = -1 [dba] [opcache] [curl] [openssl] **** /etc/php/7.3/apache2/conf.d/20-bcmath.ini **** extension=bcmath.so **** /etc/php/7.3/apache2/conf.d/20-sysvshm.ini **** extension=sysvshm.so **** /etc/php/7.3/apache2/conf.d/20-tokenizer.ini **** extension=tokenizer.so **** /etc/php/7.3/apache2/conf.d/20-imagick.ini **** extension=imagick.so **** /etc/php/7.3/apache2/conf.d/20-calendar.ini **** extension=calendar.so **** /etc/php/7.3/apache2/conf.d/20-xsl.ini **** extension=xsl.so **** /etc/php/7.3/apache2/conf.d/20-mbstring.ini **** extension=mbstring.so **** /etc/php/7.3/apache2/conf.d/20-fileinfo.ini **** extension=fileinfo.so **** /etc/php/7.3/apache2/conf.d/20-zip.ini **** extension=zip.so **** /etc/php/7.3/apache2/conf.d/20-pdo_mysql.ini **** extension=pdo_mysql.so **** /etc/php/7.3/apache2/conf.d/20-simplexml.ini **** extension=simplexml.so **** /etc/php/7.3/apache2/conf.d/20-sysvsem.ini **** extension=sysvsem.so **** /etc/php/7.3/apache2/conf.d/20-iconv.ini **** extension=iconv.so **** /etc/php/7.3/apache2/conf.d/20-ftp.ini **** extension=ftp.so **** /etc/php/7.3/apache2/conf.d/20-yaml.ini **** extension=yaml.so **** /etc/php/7.3/apache2/conf.d/20-ctype.ini **** extension=ctype.so **** /etc/php/7.3/apache2/conf.d/20-dom.ini **** extension=dom.so **** /etc/php/7.3/apache2/conf.d/20-curl.ini **** extension=curl.so **** /etc/php/7.3/apache2/conf.d/20-gd.ini **** extension=gd.so **** /etc/php/7.3/apache2/conf.d/20-exif.ini **** extension=exif.so **** /etc/php/7.3/apache2/conf.d/20-sockets.ini **** extension=sockets.so **** /etc/php/7.3/apache2/conf.d/20-readline.ini **** extension=readline.so **** /etc/php/7.3/apache2/conf.d/10-opcache.ini **** zend_extension=opcache.so **** /etc/php/7.3/apache2/conf.d/20-xmlwriter.ini **** extension=xmlwriter.so **** /etc/php/7.3/apache2/conf.d/20-xmlreader.ini **** extension=xmlreader.so **** /etc/php/7.3/apache2/conf.d/20-posix.ini **** extension=posix.so **** /etc/php/7.3/apache2/conf.d/20-json.ini **** extension=json.so **** /etc/php/7.3/apache2/conf.d/15-xml.ini **** extension=xml.so **** /etc/php/7.3/apache2/conf.d/20-gettext.ini **** extension=gettext.so **** /etc/php/7.3/apache2/conf.d/20-shmop.ini **** extension=shmop.so **** /etc/php/7.3/apache2/conf.d/20-mysqli.ini **** extension=mysqli.so **** /etc/php/7.3/apache2/conf.d/20-phar.ini **** extension=phar.so **** /etc/php/7.3/apache2/conf.d/20-wddx.ini **** extension=wddx.so **** /etc/php/7.3/apache2/conf.d/20-sysvmsg.ini **** extension=sysvmsg.so **** /etc/php/7.3/apache2/conf.d/10-pdo.ini **** extension=pdo.so **** /etc/php/7.3/apache2/conf.d/10-mysqlnd.ini **** extension=mysqlnd.so -- System Information: Debian Release: 10.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-cloud-amd64 (SMP w/2 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libapache2-mod-php7.3 depends on: ii apache2-bin [apache2-api-20120211] 2.4.38-3+deb10u3 ii libargon2-1 0~20171227-0.2 ii libc6 2.28-10 ii libmagic1 1:5.35-4+deb10u1 ii libpcre2-8-0 10.32-5 ii libsodium23 1.0.17-1 ii libssl1.1 1.1.1d-0+deb10u3 ii libxml2 2.9.4+dfsg1-7+b3 ii mime-support 3.62 ii php7.3-cli 7.3.14-1~deb10u1 ii php7.3-common 7.3.14-1~deb10u1 ii php7.3-json 7.3.14-1~deb10u1 ii php7.3-opcache 7.3.14-1~deb10u1 ii tzdata 2019c-0+deb10u1 ii ucf 3.0038+nmu1 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages libapache2-mod-php7.3 recommends: ii apache2 2.4.38-3+deb10u3 Versions of packages libapache2-mod-php7.3 suggests: pn php-pear <none> Versions of packages php7.3-common depends on: ii libc6 2.28-10 ii libssl1.1 1.1.1d-0+deb10u3 ii php-common 2:69 ii ucf 3.0038+nmu1 -- no debconf information