Reported by: Lars Veldscholte <lars@tuxplace.nl>
Date: Thu, 10 Jul 2014 13:27:01 UTC
Severity: normal
Tags: moreinfo
Found in version php5/5.6.0~rc2+dfsg-1
Fixed in version php5/5.6.0~rc2+dfsg-3
Done: Ondřej Surý <ondrej@debian.org>
Bug is archived. No further changes may be made.
Forwarded to https://bugs.php.net/bug.php?id=67606
View this report as an mbox folder, status mbox, maintainer mbox
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Thu, 10 Jul 2014 13:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Lars Veldscholte <lars@tuxplace.nl>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 10 Jul 2014 13:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-fpm Version: 5.6.0~beta4+dfsg-4 Severity: grave Justification: renders package unusable Dear Maintainer, After I upgraded php5 from 5.6.0~rc1+dfsg-1 to 5.6.0~rc2+dfsg-1, I noticed php didn't work anymore. I use Apache 2.4 with php5-fpm using fastcgi. This is my fastcgi config: AddHandler php5-fcgi .php Action php5-fcgi /php5-fcgi Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-fpm.sock -pass-header Authorization After the upgrade, every PHP page displays "file not found" and I get this error in /var/log/apache2/error.log: FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: Primary script unknown I downgraded to 5.6.0~beta4+dfsg-4 now and everything works as expected again. -- Package-specific info: ==== Additional PHP 5 information ==== ++++ PHP 5 SAPI (php5query -S): ++++ fpm cli ++++ PHP 5 Extensions (php5query -M -v): ++++ imap (Enabled for fpm by maintainer script) imap (Enabled for cli by maintainer script) curl (Enabled for fpm by maintainer script) curl (Enabled for cli by maintainer script) mysql (Enabled for fpm by maintainer script) mysql (Enabled for cli by maintainer script) pdo (Enabled for fpm by maintainer script) pdo (Enabled for cli by maintainer script) pdo_pgsql (Enabled for fpm by maintainer script) pdo_pgsql (Enabled for cli by maintainer script) snmp (Enabled for fpm by maintainer script) snmp (Enabled for cli by maintainer script) pdo_mysql (Enabled for fpm by maintainer script) pdo_mysql (Enabled for cli by maintainer script) mysqli (Enabled for fpm by maintainer script) mysqli (Enabled for cli by maintainer script) pdo_sqlite (Enabled for fpm by maintainer script) pdo_sqlite (Enabled for cli by maintainer script) sqlite3 (Enabled for fpm by maintainer script) sqlite3 (Enabled for cli by maintainer script) gd (Enabled for fpm by maintainer script) gd (Enabled for cli by maintainer script) pgsql (Enabled for fpm by maintainer script) pgsql (Enabled for cli by maintainer script) mysqlnd (Enabled for fpm by maintainer script) mysqlnd (Enabled for cli by maintainer script) pspell (Enabled for fpm by maintainer script) pspell (Enabled for cli by maintainer script) readline (Enabled for fpm by maintainer script) readline (Enabled for cli by maintainer script) json (Enabled for fpm by maintainer script) json (Enabled for cli by maintainer script) opcache (Enabled for fpm by maintainer script) opcache (Enabled for cli by maintainer script) mcrypt (Enabled for fpm by maintainer script) mcrypt (Enabled for cli by maintainer script) gmp (Enabled for fpm by maintainer script) gmp (Enabled for cli by maintainer script) intl (Enabled for fpm by maintainer script) intl (Enabled for cli by maintainer script) ++++ Configuration files: ++++ [PHP] engine = On short_open_tag = Off asp_tags = Off precision = 14 output_buffering = On zlib.output_compression = Off implicit_flush = Off unserialize_callback_func = serialize_precision = 17 disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, disable_classes = zend.enable_gc = On expose_php = On 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 track_errors = Off 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] [intl] [sqlite] [sqlite3] [Pcre] [Pdo] [Pdo_mysql] pdo_mysql.cache_size = 2000 pdo_mysql.default_socket= [Phar] [mail function] SMTP = localhost smtp_port = 25 mail.add_x_header = On [SQL] sql.safe_mode = 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" [MySQL] mysql.allow_local_infile = On mysql.allow_persistent = On mysql.cache_size = 2000 mysql.max_persistent = -1 mysql.max_links = -1 mysql.default_port = mysql.default_socket = mysql.default_host = mysql.default_user = mysql.default_password = mysql.connect_timeout = 60 mysql.trace_mode = Off [MySQLi] mysqli.max_persistent = -1 mysqli.allow_persistent = On mysqli.max_links = -1 mysqli.cache_size = 2000 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 [Sybase-CT] sybct.allow_persistent = On sybct.max_persistent = -1 sybct.max_links = -1 sybct.min_server_severity = 10 sybct.min_client_severity = 10 [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.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.hash_function = 0 session.hash_bits_per_character = 5 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" [MSSQL] mssql.allow_persistent = On mssql.max_persistent = -1 mssql.max_links = -1 mssql.min_error_severity = 10 mssql.min_message_severity = 10 mssql.compatibility_mode = Off mssql.secure_connection = Off [Assertion] [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 [mcrypt] [dba] [opcache] [curl] [openssl] **** /etc/php5/fpm/conf.d/20-mcrypt.ini **** extension=mcrypt.so **** /etc/php5/fpm/conf.d/20-curl.ini **** extension=curl.so **** /etc/php5/fpm/conf.d/10-mysqlnd.ini **** extension=mysqlnd.so **** /etc/php5/fpm/conf.d/10-pdo.ini **** extension=pdo.so **** /etc/php5/fpm/conf.d/20-gd.ini **** extension=gd.so **** /etc/php5/fpm/conf.d/20-pspell.ini **** extension=pspell.so **** /etc/php5/fpm/conf.d/20-intl.ini **** extension=intl.so **** /etc/php5/fpm/conf.d/20-sqlite3.ini **** extension=sqlite3.so **** /etc/php5/fpm/conf.d/20-pgsql.ini **** extension=pgsql.so **** /etc/php5/fpm/conf.d/05-opcache.ini **** zend_extension=opcache.so **** /etc/php5/fpm/conf.d/20-pdo_mysql.ini **** extension=pdo_mysql.so **** /etc/php5/fpm/conf.d/20-mysqli.ini **** extension=mysqli.so **** /etc/php5/fpm/conf.d/20-gmp.ini **** extension=gmp.so **** /etc/php5/fpm/conf.d/20-mysql.ini **** extension=mysql.so **** /etc/php5/fpm/conf.d/20-json.ini **** extension=json.so **** /etc/php5/fpm/conf.d/20-imap.ini **** extension=imap.so **** /etc/php5/fpm/conf.d/20-snmp.ini **** extension=snmp.so **** /etc/php5/fpm/conf.d/20-pdo_pgsql.ini **** extension=pdo_pgsql.so **** /etc/php5/fpm/conf.d/20-readline.ini **** extension=readline.so **** /etc/php5/fpm/conf.d/20-pdo_sqlite.ini **** extension=pdo_sqlite.so -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages php5-fpm depends on: ii dpkg 1.17.10 ii init-system-helpers 1.19 ii libbz2-1.0 1.0.6-5 ii libc6 2.19-4 ii libcomerr2 1.42.10-1.1 ii libdb5.3 5.3.28-5 ii libgssapi-krb5-2 1.12.1+dfsg-3 ii libk5crypto3 1.12.1+dfsg-3 ii libkrb5-3 1.12.1+dfsg-3 ii libmagic1 1:5.19-1 ii libonig2 5.9.5-2 ii libpcre3 1:8.31-5 ii libqdbm14 1.8.78-4 ii libssl1.0.0 1.0.1h-3 ii libsystemd-daemon0 204-14 ii libxml2 2.9.1+dfsg1-3 ii mime-support 3.56 ii php5-common 5.6.0~beta4+dfsg-4 ii php5-json 1.3.5-3 ii tzdata 2014e-1 ii ucf 3.0030 ii zlib1g 1:1.2.8.dfsg-1 php5-fpm recommends no packages. Versions of packages php5-fpm suggests: ii php-pear 5.6.0~beta4+dfsg-4 Versions of packages php5-common depends on: ii libc6 2.19-4 ii lsof 4.86+dfsg-1 ii psmisc 22.21-2 ii sed 4.2.2-4 ii ucf 3.0030 Versions of packages php5-common suggests: pn php5-user-cache <none> -- Configuration Files: /etc/php5/fpm/php-fpm.conf changed [not included] /etc/php5/fpm/pool.d/www.conf changed [not included] -- no debconf information
No longer marked as found in versions php5/5.6.0~beta4+dfsg-4.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Thu, 10 Jul 2014 13:45:08 GMT) (full text, mbox, link).
Marked as found in versions php5/5.6.0~rc2+dfsg-1.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Thu, 10 Jul 2014 13:45:09 GMT) (full text, mbox, link).
Severity set to 'important' from 'grave'
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Thu, 10 Jul 2014 13:48:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Thu, 10 Jul 2014 14:21:14 GMT) (full text, mbox, link).
Acknowledgement sent
to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 10 Jul 2014 14:21:14 GMT) (full text, mbox, link).
Message #16 received at 754384@bugs.debian.org (full text, mbox, reply):
Control: tags -1 + moreinfo Control: severity -1 normal I am sorry, but you are using mod_fastcgi info that is unsupported on Debian due non-DFSG-free licensing[0]. Moreover the mod_fastcgi doesn't support Apache 2.4 yet. And I have tried to compile the module with some custom ap2.4 patches, but I have failed to compile the module. On the other hand I can confirm that the php5-fpm works with nginx and mod_proxy_fcgid[2] in a clean sid chroot. Do you have correct permissions on /var/run/php5-fpm.sock? Or perhaps you can provide more debugging information? Personally I would suggest to switch to mod_proxy_fcgi in apache2.4 since it's supported by Apache itself, but I will do my best to fix your error if you can provide enough information to be able to debug it and fix it. 0. https://lists.debian.org/debian-legal/2000/12/msg00109.html 1. http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-debian-wheezy 2. https://wiki.apache.org/httpd/PHP-FPM O. On Thu, Jul 10, 2014, at 15:13, Lars Veldscholte wrote: > Package: php5-fpm > Version: 5.6.0~beta4+dfsg-4 > Severity: grave > Justification: renders package unusable > > Dear Maintainer, > > After I upgraded php5 from 5.6.0~rc1+dfsg-1 to 5.6.0~rc2+dfsg-1, I > noticed php didn't work anymore. I use Apache 2.4 with php5-fpm using > fastcgi. This is my fastcgi config: > > AddHandler php5-fcgi .php > Action php5-fcgi /php5-fcgi > Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi > FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket > /var/run/php5-fpm.sock -pass-header Authorization > > After the upgrade, every PHP page displays "file not found" and I get > this error in /var/log/apache2/error.log: > > FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: Primary script > unknown > > I downgraded to 5.6.0~beta4+dfsg-4 now and everything works as expected > again. > > -- Package-specific info: > ==== Additional PHP 5 information ==== > > ++++ PHP 5 SAPI (php5query -S): ++++ > fpm > cli > > ++++ PHP 5 Extensions (php5query -M -v): ++++ > imap (Enabled for fpm by maintainer script) > imap (Enabled for cli by maintainer script) > curl (Enabled for fpm by maintainer script) > curl (Enabled for cli by maintainer script) > mysql (Enabled for fpm by maintainer script) > mysql (Enabled for cli by maintainer script) > pdo (Enabled for fpm by maintainer script) > pdo (Enabled for cli by maintainer script) > pdo_pgsql (Enabled for fpm by maintainer script) > pdo_pgsql (Enabled for cli by maintainer script) > snmp (Enabled for fpm by maintainer script) > snmp (Enabled for cli by maintainer script) > pdo_mysql (Enabled for fpm by maintainer script) > pdo_mysql (Enabled for cli by maintainer script) > mysqli (Enabled for fpm by maintainer script) > mysqli (Enabled for cli by maintainer script) > pdo_sqlite (Enabled for fpm by maintainer script) > pdo_sqlite (Enabled for cli by maintainer script) > sqlite3 (Enabled for fpm by maintainer script) > sqlite3 (Enabled for cli by maintainer script) > gd (Enabled for fpm by maintainer script) > gd (Enabled for cli by maintainer script) > pgsql (Enabled for fpm by maintainer script) > pgsql (Enabled for cli by maintainer script) > mysqlnd (Enabled for fpm by maintainer script) > mysqlnd (Enabled for cli by maintainer script) > pspell (Enabled for fpm by maintainer script) > pspell (Enabled for cli by maintainer script) > readline (Enabled for fpm by maintainer script) > readline (Enabled for cli by maintainer script) > json (Enabled for fpm by maintainer script) > json (Enabled for cli by maintainer script) > opcache (Enabled for fpm by maintainer script) > opcache (Enabled for cli by maintainer script) > mcrypt (Enabled for fpm by maintainer script) > mcrypt (Enabled for cli by maintainer script) > gmp (Enabled for fpm by maintainer script) > gmp (Enabled for cli by maintainer script) > intl (Enabled for fpm by maintainer script) > intl (Enabled for cli by maintainer script) > > ++++ Configuration files: ++++ > [PHP] > engine = On > short_open_tag = Off > asp_tags = Off > precision = 14 > output_buffering = On > zlib.output_compression = Off > implicit_flush = Off > unserialize_callback_func = > serialize_precision = 17 > disable_functions = > pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, > disable_classes = > zend.enable_gc = On > expose_php = On > 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 > track_errors = Off > 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] > [intl] > [sqlite] > [sqlite3] > [Pcre] > [Pdo] > [Pdo_mysql] > pdo_mysql.cache_size = 2000 > pdo_mysql.default_socket= > [Phar] > [mail function] > SMTP = localhost > smtp_port = 25 > mail.add_x_header = On > [SQL] > sql.safe_mode = 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" > [MySQL] > mysql.allow_local_infile = On > mysql.allow_persistent = On > mysql.cache_size = 2000 > mysql.max_persistent = -1 > mysql.max_links = -1 > mysql.default_port = > mysql.default_socket = > mysql.default_host = > mysql.default_user = > mysql.default_password = > mysql.connect_timeout = 60 > mysql.trace_mode = Off > [MySQLi] > mysqli.max_persistent = -1 > mysqli.allow_persistent = On > mysqli.max_links = -1 > mysqli.cache_size = 2000 > 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 > [Sybase-CT] > sybct.allow_persistent = On > sybct.max_persistent = -1 > sybct.max_links = -1 > sybct.min_server_severity = 10 > sybct.min_client_severity = 10 > [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.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.hash_function = 0 > session.hash_bits_per_character = 5 > url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" > [MSSQL] > mssql.allow_persistent = On > mssql.max_persistent = -1 > mssql.max_links = -1 > mssql.min_error_severity = 10 > mssql.min_message_severity = 10 > mssql.compatibility_mode = Off > mssql.secure_connection = Off > [Assertion] > [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 > [mcrypt] > [dba] > [opcache] > [curl] > [openssl] > > **** /etc/php5/fpm/conf.d/20-mcrypt.ini **** > extension=mcrypt.so > > **** /etc/php5/fpm/conf.d/20-curl.ini **** > extension=curl.so > > **** /etc/php5/fpm/conf.d/10-mysqlnd.ini **** > extension=mysqlnd.so > > **** /etc/php5/fpm/conf.d/10-pdo.ini **** > extension=pdo.so > > **** /etc/php5/fpm/conf.d/20-gd.ini **** > extension=gd.so > > **** /etc/php5/fpm/conf.d/20-pspell.ini **** > extension=pspell.so > > **** /etc/php5/fpm/conf.d/20-intl.ini **** > extension=intl.so > > **** /etc/php5/fpm/conf.d/20-sqlite3.ini **** > extension=sqlite3.so > > **** /etc/php5/fpm/conf.d/20-pgsql.ini **** > extension=pgsql.so > > **** /etc/php5/fpm/conf.d/05-opcache.ini **** > zend_extension=opcache.so > > **** /etc/php5/fpm/conf.d/20-pdo_mysql.ini **** > extension=pdo_mysql.so > > **** /etc/php5/fpm/conf.d/20-mysqli.ini **** > extension=mysqli.so > > **** /etc/php5/fpm/conf.d/20-gmp.ini **** > extension=gmp.so > > **** /etc/php5/fpm/conf.d/20-mysql.ini **** > extension=mysql.so > > **** /etc/php5/fpm/conf.d/20-json.ini **** > extension=json.so > > **** /etc/php5/fpm/conf.d/20-imap.ini **** > extension=imap.so > > **** /etc/php5/fpm/conf.d/20-snmp.ini **** > extension=snmp.so > > **** /etc/php5/fpm/conf.d/20-pdo_pgsql.ini **** > extension=pdo_pgsql.so > > **** /etc/php5/fpm/conf.d/20-readline.ini **** > extension=readline.so > > **** /etc/php5/fpm/conf.d/20-pdo_sqlite.ini **** > extension=pdo_sqlite.so > > > -- System Information: > Debian Release: jessie/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages php5-fpm depends on: > ii dpkg 1.17.10 > ii init-system-helpers 1.19 > ii libbz2-1.0 1.0.6-5 > ii libc6 2.19-4 > ii libcomerr2 1.42.10-1.1 > ii libdb5.3 5.3.28-5 > ii libgssapi-krb5-2 1.12.1+dfsg-3 > ii libk5crypto3 1.12.1+dfsg-3 > ii libkrb5-3 1.12.1+dfsg-3 > ii libmagic1 1:5.19-1 > ii libonig2 5.9.5-2 > ii libpcre3 1:8.31-5 > ii libqdbm14 1.8.78-4 > ii libssl1.0.0 1.0.1h-3 > ii libsystemd-daemon0 204-14 > ii libxml2 2.9.1+dfsg1-3 > ii mime-support 3.56 > ii php5-common 5.6.0~beta4+dfsg-4 > ii php5-json 1.3.5-3 > ii tzdata 2014e-1 > ii ucf 3.0030 > ii zlib1g 1:1.2.8.dfsg-1 > > php5-fpm recommends no packages. > > Versions of packages php5-fpm suggests: > ii php-pear 5.6.0~beta4+dfsg-4 > > Versions of packages php5-common depends on: > ii libc6 2.19-4 > ii lsof 4.86+dfsg-1 > ii psmisc 22.21-2 > ii sed 4.2.2-4 > ii ucf 3.0030 > > Versions of packages php5-common suggests: > pn php5-user-cache <none> > > -- Configuration Files: > /etc/php5/fpm/php-fpm.conf changed [not included] > /etc/php5/fpm/pool.d/www.conf changed [not included] > > -- no debconf information > > _______________________________________________ > pkg-php-maint mailing list > pkg-php-maint@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint -- Ondřej Surý <ondrej@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Added tag(s) moreinfo.
Request was from Ondřej Surý <ondrej@sury.org>
to 754384-submit@bugs.debian.org.
(Thu, 10 Jul 2014 14:21:14 GMT) (full text, mbox, link).
Severity set to 'normal' from 'important'
Request was from Ondřej Surý <ondrej@sury.org>
to 754384-submit@bugs.debian.org.
(Thu, 10 Jul 2014 14:21:15 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Thu, 10 Jul 2014 15:00:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 10 Jul 2014 15:00:05 GMT) (full text, mbox, link).
Message #25 received at 754384@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Could you send me the package name (is it libapache2-mod-fastcgi) and output of: apt-cache policy <pkgname> ? Does that come from non-free? -- Ondřej Surý <ondrej@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server > On 10. 7. 2014, at 16:52, Lars Veldscholte <lars@tuxplace.nl> wrote: > > I was actually a bit surprised my self because most information sources > on the internet indeed say that mod_fastcgi isn't supported with Apache > 2.4, but mod_fastcgi is in the Debian packages and it installs and works > just fine. I didn't compile the module myself, I just installed it from > the Debian package manager. > > I'm not sure what you mean with mod_fastcgi info being unsupported due > to licensing issues. You mean that the package is removed and no longer > available now? That's a shame. > > Thanks for your advice but unfortunately, mod_proxy_fcgid is not a > viable option for me. I actually tried it before I went with > mod_fastcgi, but it has a lot of issues. You need to configure it for > every vhost separately, and it only works with URLs ending on *.php (so > http://site.com/ will fail, only http://site.com/index.php works), among > some other issues I can't exactly remember anymore. > > I checked the permissions on /var/run/php5-fpm.sock, and they are as > they should be (www-data:www-data). I tried to use a TCP socket as well, > but that didn't work either. > > More debugging info, well, I checked the logs but php5-fpm wasn't > outputting any weird things, the only errors I found was the error in > Apache's error log I put in the last mail. If I can help you with any > other debugging info, let me know :) > > Again thanks for helping me. > > Ondřej Surý schreef op 10/07/2014 16:20: >> Control: tags -1 + moreinfo >> Control: severity -1 normal >> >> I am sorry, but you are using mod_fastcgi info that is unsupported on >> Debian due non-DFSG-free licensing[0]. >> >> Moreover the mod_fastcgi doesn't support Apache 2.4 yet. And I have >> tried to compile the module with some custom ap2.4 patches, but I have >> failed to compile the module. >> >> On the other hand I can confirm that the php5-fpm works with nginx and >> mod_proxy_fcgid[2] in a clean sid chroot. >> >> Do you have correct permissions on /var/run/php5-fpm.sock? Or perhaps >> you can provide more debugging information? >> >> Personally I would suggest to switch to mod_proxy_fcgi in apache2.4 >> since it's supported by Apache itself, but I will do my best to fix your >> error if you can provide enough information to be able to debug it and >> fix it. >> >> 0. https://lists.debian.org/debian-legal/2000/12/msg00109.html >> 1. >> http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-debian-wheezy >> 2. https://wiki.apache.org/httpd/PHP-FPM >> >> O. >> >>> On Thu, Jul 10, 2014, at 15:13, Lars Veldscholte wrote: >>> Package: php5-fpm >>> Version: 5.6.0~beta4+dfsg-4 >>> Severity: grave >>> Justification: renders package unusable >>> >>> Dear Maintainer, >>> >>> After I upgraded php5 from 5.6.0~rc1+dfsg-1 to 5.6.0~rc2+dfsg-1, I >>> noticed php didn't work anymore. I use Apache 2.4 with php5-fpm using >>> fastcgi. This is my fastcgi config: >>> >>> AddHandler php5-fcgi .php >>> Action php5-fcgi /php5-fcgi >>> Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi >>> FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket >>> /var/run/php5-fpm.sock -pass-header Authorization >>> >>> After the upgrade, every PHP page displays "file not found" and I get >>> this error in /var/log/apache2/error.log: >>> >>> FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: Primary script >>> unknown >>> >>> I downgraded to 5.6.0~beta4+dfsg-4 now and everything works as expected >>> again. >>> >>> -- Package-specific info: >>> ==== Additional PHP 5 information ==== >>> >>> ++++ PHP 5 SAPI (php5query -S): ++++ >>> fpm >>> cli >>> >>> ++++ PHP 5 Extensions (php5query -M -v): ++++ >>> imap (Enabled for fpm by maintainer script) >>> imap (Enabled for cli by maintainer script) >>> curl (Enabled for fpm by maintainer script) >>> curl (Enabled for cli by maintainer script) >>> mysql (Enabled for fpm by maintainer script) >>> mysql (Enabled for cli by maintainer script) >>> pdo (Enabled for fpm by maintainer script) >>> pdo (Enabled for cli by maintainer script) >>> pdo_pgsql (Enabled for fpm by maintainer script) >>> pdo_pgsql (Enabled for cli by maintainer script) >>> snmp (Enabled for fpm by maintainer script) >>> snmp (Enabled for cli by maintainer script) >>> pdo_mysql (Enabled for fpm by maintainer script) >>> pdo_mysql (Enabled for cli by maintainer script) >>> mysqli (Enabled for fpm by maintainer script) >>> mysqli (Enabled for cli by maintainer script) >>> pdo_sqlite (Enabled for fpm by maintainer script) >>> pdo_sqlite (Enabled for cli by maintainer script) >>> sqlite3 (Enabled for fpm by maintainer script) >>> sqlite3 (Enabled for cli by maintainer script) >>> gd (Enabled for fpm by maintainer script) >>> gd (Enabled for cli by maintainer script) >>> pgsql (Enabled for fpm by maintainer script) >>> pgsql (Enabled for cli by maintainer script) >>> mysqlnd (Enabled for fpm by maintainer script) >>> mysqlnd (Enabled for cli by maintainer script) >>> pspell (Enabled for fpm by maintainer script) >>> pspell (Enabled for cli by maintainer script) >>> readline (Enabled for fpm by maintainer script) >>> readline (Enabled for cli by maintainer script) >>> json (Enabled for fpm by maintainer script) >>> json (Enabled for cli by maintainer script) >>> opcache (Enabled for fpm by maintainer script) >>> opcache (Enabled for cli by maintainer script) >>> mcrypt (Enabled for fpm by maintainer script) >>> mcrypt (Enabled for cli by maintainer script) >>> gmp (Enabled for fpm by maintainer script) >>> gmp (Enabled for cli by maintainer script) >>> intl (Enabled for fpm by maintainer script) >>> intl (Enabled for cli by maintainer script) >>> >>> ++++ Configuration files: ++++ >>> [PHP] >>> engine = On >>> short_open_tag = Off >>> asp_tags = Off >>> precision = 14 >>> output_buffering = On >>> zlib.output_compression = Off >>> implicit_flush = Off >>> unserialize_callback_func = >>> serialize_precision = 17 >>> disable_functions = >>> pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, >>> disable_classes = >>> zend.enable_gc = On >>> expose_php = On >>> 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 >>> track_errors = Off >>> 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] >>> [intl] >>> [sqlite] >>> [sqlite3] >>> [Pcre] >>> [Pdo] >>> [Pdo_mysql] >>> pdo_mysql.cache_size = 2000 >>> pdo_mysql.default_socket= >>> [Phar] >>> [mail function] >>> SMTP = localhost >>> smtp_port = 25 >>> mail.add_x_header = On >>> [SQL] >>> sql.safe_mode = 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" >>> [MySQL] >>> mysql.allow_local_infile = On >>> mysql.allow_persistent = On >>> mysql.cache_size = 2000 >>> mysql.max_persistent = -1 >>> mysql.max_links = -1 >>> mysql.default_port = >>> mysql.default_socket = >>> mysql.default_host = >>> mysql.default_user = >>> mysql.default_password = >>> mysql.connect_timeout = 60 >>> mysql.trace_mode = Off >>> [MySQLi] >>> mysqli.max_persistent = -1 >>> mysqli.allow_persistent = On >>> mysqli.max_links = -1 >>> mysqli.cache_size = 2000 >>> 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 >>> [Sybase-CT] >>> sybct.allow_persistent = On >>> sybct.max_persistent = -1 >>> sybct.max_links = -1 >>> sybct.min_server_severity = 10 >>> sybct.min_client_severity = 10 >>> [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.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.hash_function = 0 >>> session.hash_bits_per_character = 5 >>> url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" >>> [MSSQL] >>> mssql.allow_persistent = On >>> mssql.max_persistent = -1 >>> mssql.max_links = -1 >>> mssql.min_error_severity = 10 >>> mssql.min_message_severity = 10 >>> mssql.compatibility_mode = Off >>> mssql.secure_connection = Off >>> [Assertion] >>> [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 >>> [mcrypt] >>> [dba] >>> [opcache] >>> [curl] >>> [openssl] >>> >>> **** /etc/php5/fpm/conf.d/20-mcrypt.ini **** >>> extension=mcrypt.so >>> >>> **** /etc/php5/fpm/conf.d/20-curl.ini **** >>> extension=curl.so >>> >>> **** /etc/php5/fpm/conf.d/10-mysqlnd.ini **** >>> extension=mysqlnd.so >>> >>> **** /etc/php5/fpm/conf.d/10-pdo.ini **** >>> extension=pdo.so >>> >>> **** /etc/php5/fpm/conf.d/20-gd.ini **** >>> extension=gd.so >>> >>> **** /etc/php5/fpm/conf.d/20-pspell.ini **** >>> extension=pspell.so >>> >>> **** /etc/php5/fpm/conf.d/20-intl.ini **** >>> extension=intl.so >>> >>> **** /etc/php5/fpm/conf.d/20-sqlite3.ini **** >>> extension=sqlite3.so >>> >>> **** /etc/php5/fpm/conf.d/20-pgsql.ini **** >>> extension=pgsql.so >>> >>> **** /etc/php5/fpm/conf.d/05-opcache.ini **** >>> zend_extension=opcache.so >>> >>> **** /etc/php5/fpm/conf.d/20-pdo_mysql.ini **** >>> extension=pdo_mysql.so >>> >>> **** /etc/php5/fpm/conf.d/20-mysqli.ini **** >>> extension=mysqli.so >>> >>> **** /etc/php5/fpm/conf.d/20-gmp.ini **** >>> extension=gmp.so >>> >>> **** /etc/php5/fpm/conf.d/20-mysql.ini **** >>> extension=mysql.so >>> >>> **** /etc/php5/fpm/conf.d/20-json.ini **** >>> extension=json.so >>> >>> **** /etc/php5/fpm/conf.d/20-imap.ini **** >>> extension=imap.so >>> >>> **** /etc/php5/fpm/conf.d/20-snmp.ini **** >>> extension=snmp.so >>> >>> **** /etc/php5/fpm/conf.d/20-pdo_pgsql.ini **** >>> extension=pdo_pgsql.so >>> >>> **** /etc/php5/fpm/conf.d/20-readline.ini **** >>> extension=readline.so >>> >>> **** /etc/php5/fpm/conf.d/20-pdo_sqlite.ini **** >>> extension=pdo_sqlite.so >>> >>> >>> -- System Information: >>> Debian Release: jessie/sid >>> APT prefers testing >>> APT policy: (500, 'testing') >>> Architecture: amd64 (x86_64) >>> Foreign Architectures: i386 >>> >>> Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) >>> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) >>> Shell: /bin/sh linked to /bin/dash >>> >>> Versions of packages php5-fpm depends on: >>> ii dpkg 1.17.10 >>> ii init-system-helpers 1.19 >>> ii libbz2-1.0 1.0.6-5 >>> ii libc6 2.19-4 >>> ii libcomerr2 1.42.10-1.1 >>> ii libdb5.3 5.3.28-5 >>> ii libgssapi-krb5-2 1.12.1+dfsg-3 >>> ii libk5crypto3 1.12.1+dfsg-3 >>> ii libkrb5-3 1.12.1+dfsg-3 >>> ii libmagic1 1:5.19-1 >>> ii libonig2 5.9.5-2 >>> ii libpcre3 1:8.31-5 >>> ii libqdbm14 1.8.78-4 >>> ii libssl1.0.0 1.0.1h-3 >>> ii libsystemd-daemon0 204-14 >>> ii libxml2 2.9.1+dfsg1-3 >>> ii mime-support 3.56 >>> ii php5-common 5.6.0~beta4+dfsg-4 >>> ii php5-json 1.3.5-3 >>> ii tzdata 2014e-1 >>> ii ucf 3.0030 >>> ii zlib1g 1:1.2.8.dfsg-1 >>> >>> php5-fpm recommends no packages. >>> >>> Versions of packages php5-fpm suggests: >>> ii php-pear 5.6.0~beta4+dfsg-4 >>> >>> Versions of packages php5-common depends on: >>> ii libc6 2.19-4 >>> ii lsof 4.86+dfsg-1 >>> ii psmisc 22.21-2 >>> ii sed 4.2.2-4 >>> ii ucf 3.0030 >>> >>> Versions of packages php5-common suggests: >>> pn php5-user-cache <none> >>> >>> -- Configuration Files: >>> /etc/php5/fpm/php-fpm.conf changed [not included] >>> /etc/php5/fpm/pool.d/www.conf changed [not included] >>> >>> -- no debconf information >>> >>> _______________________________________________ >>> pkg-php-maint mailing list >>> pkg-php-maint@lists.alioth.debian.org >>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint >
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Thu, 10 Jul 2014 15:06:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Lars Veldscholte <lars@tuxplace.nl>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 10 Jul 2014 15:06:07 GMT) (full text, mbox, link).
Message #30 received at 754384@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I was actually a bit surprised my self because most information sources on the internet indeed say that mod_fastcgi isn't supported with Apache 2.4, but mod_fastcgi is in the Debian packages and it installs and works just fine. I didn't compile the module myself, I just installed it from the Debian package manager. I'm not sure what you mean with mod_fastcgi info being unsupported due to licensing issues. You mean that the package is removed and no longer available now? That's a shame. Thanks for your advice but unfortunately, mod_proxy_fcgid is not a viable option for me. I actually tried it before I went with mod_fastcgi, but it has a lot of issues. You need to configure it for every vhost separately, and it only works with URLs ending on *.php (so http://site.com/ will fail, only http://site.com/index.php works), among some other issues I can't exactly remember anymore. I checked the permissions on /var/run/php5-fpm.sock, and they are as they should be (www-data:www-data). I tried to use a TCP socket as well, but that didn't work either. More debugging info, well, I checked the logs but php5-fpm wasn't outputting any weird things, the only errors I found was the error in Apache's error log I put in the last mail. If I can help you with any other debugging info, let me know :) Again thanks for helping me. Ondřej Surý schreef op 10/07/2014 16:20: > Control: tags -1 + moreinfo > Control: severity -1 normal > > I am sorry, but you are using mod_fastcgi info that is unsupported on > Debian due non-DFSG-free licensing[0]. > > Moreover the mod_fastcgi doesn't support Apache 2.4 yet. And I have > tried to compile the module with some custom ap2.4 patches, but I have > failed to compile the module. > > On the other hand I can confirm that the php5-fpm works with nginx and > mod_proxy_fcgid[2] in a clean sid chroot. > > Do you have correct permissions on /var/run/php5-fpm.sock? Or perhaps > you can provide more debugging information? > > Personally I would suggest to switch to mod_proxy_fcgi in apache2.4 > since it's supported by Apache itself, but I will do my best to fix your > error if you can provide enough information to be able to debug it and > fix it. > > 0. https://lists.debian.org/debian-legal/2000/12/msg00109.html > 1. > http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-debian-wheezy > 2. https://wiki.apache.org/httpd/PHP-FPM > > O. > > On Thu, Jul 10, 2014, at 15:13, Lars Veldscholte wrote: >> Package: php5-fpm >> Version: 5.6.0~beta4+dfsg-4 >> Severity: grave >> Justification: renders package unusable >> >> Dear Maintainer, >> >> After I upgraded php5 from 5.6.0~rc1+dfsg-1 to 5.6.0~rc2+dfsg-1, I >> noticed php didn't work anymore. I use Apache 2.4 with php5-fpm using >> fastcgi. This is my fastcgi config: >> >> AddHandler php5-fcgi .php >> Action php5-fcgi /php5-fcgi >> Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi >> FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket >> /var/run/php5-fpm.sock -pass-header Authorization >> >> After the upgrade, every PHP page displays "file not found" and I get >> this error in /var/log/apache2/error.log: >> >> FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: Primary script >> unknown >> >> I downgraded to 5.6.0~beta4+dfsg-4 now and everything works as expected >> again. >> >> -- Package-specific info: >> ==== Additional PHP 5 information ==== >> >> ++++ PHP 5 SAPI (php5query -S): ++++ >> fpm >> cli >> >> ++++ PHP 5 Extensions (php5query -M -v): ++++ >> imap (Enabled for fpm by maintainer script) >> imap (Enabled for cli by maintainer script) >> curl (Enabled for fpm by maintainer script) >> curl (Enabled for cli by maintainer script) >> mysql (Enabled for fpm by maintainer script) >> mysql (Enabled for cli by maintainer script) >> pdo (Enabled for fpm by maintainer script) >> pdo (Enabled for cli by maintainer script) >> pdo_pgsql (Enabled for fpm by maintainer script) >> pdo_pgsql (Enabled for cli by maintainer script) >> snmp (Enabled for fpm by maintainer script) >> snmp (Enabled for cli by maintainer script) >> pdo_mysql (Enabled for fpm by maintainer script) >> pdo_mysql (Enabled for cli by maintainer script) >> mysqli (Enabled for fpm by maintainer script) >> mysqli (Enabled for cli by maintainer script) >> pdo_sqlite (Enabled for fpm by maintainer script) >> pdo_sqlite (Enabled for cli by maintainer script) >> sqlite3 (Enabled for fpm by maintainer script) >> sqlite3 (Enabled for cli by maintainer script) >> gd (Enabled for fpm by maintainer script) >> gd (Enabled for cli by maintainer script) >> pgsql (Enabled for fpm by maintainer script) >> pgsql (Enabled for cli by maintainer script) >> mysqlnd (Enabled for fpm by maintainer script) >> mysqlnd (Enabled for cli by maintainer script) >> pspell (Enabled for fpm by maintainer script) >> pspell (Enabled for cli by maintainer script) >> readline (Enabled for fpm by maintainer script) >> readline (Enabled for cli by maintainer script) >> json (Enabled for fpm by maintainer script) >> json (Enabled for cli by maintainer script) >> opcache (Enabled for fpm by maintainer script) >> opcache (Enabled for cli by maintainer script) >> mcrypt (Enabled for fpm by maintainer script) >> mcrypt (Enabled for cli by maintainer script) >> gmp (Enabled for fpm by maintainer script) >> gmp (Enabled for cli by maintainer script) >> intl (Enabled for fpm by maintainer script) >> intl (Enabled for cli by maintainer script) >> >> ++++ Configuration files: ++++ >> [PHP] >> engine = On >> short_open_tag = Off >> asp_tags = Off >> precision = 14 >> output_buffering = On >> zlib.output_compression = Off >> implicit_flush = Off >> unserialize_callback_func = >> serialize_precision = 17 >> disable_functions = >> pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, >> disable_classes = >> zend.enable_gc = On >> expose_php = On >> 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 >> track_errors = Off >> 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] >> [intl] >> [sqlite] >> [sqlite3] >> [Pcre] >> [Pdo] >> [Pdo_mysql] >> pdo_mysql.cache_size = 2000 >> pdo_mysql.default_socket= >> [Phar] >> [mail function] >> SMTP = localhost >> smtp_port = 25 >> mail.add_x_header = On >> [SQL] >> sql.safe_mode = 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" >> [MySQL] >> mysql.allow_local_infile = On >> mysql.allow_persistent = On >> mysql.cache_size = 2000 >> mysql.max_persistent = -1 >> mysql.max_links = -1 >> mysql.default_port = >> mysql.default_socket = >> mysql.default_host = >> mysql.default_user = >> mysql.default_password = >> mysql.connect_timeout = 60 >> mysql.trace_mode = Off >> [MySQLi] >> mysqli.max_persistent = -1 >> mysqli.allow_persistent = On >> mysqli.max_links = -1 >> mysqli.cache_size = 2000 >> 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 >> [Sybase-CT] >> sybct.allow_persistent = On >> sybct.max_persistent = -1 >> sybct.max_links = -1 >> sybct.min_server_severity = 10 >> sybct.min_client_severity = 10 >> [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.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.hash_function = 0 >> session.hash_bits_per_character = 5 >> url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" >> [MSSQL] >> mssql.allow_persistent = On >> mssql.max_persistent = -1 >> mssql.max_links = -1 >> mssql.min_error_severity = 10 >> mssql.min_message_severity = 10 >> mssql.compatibility_mode = Off >> mssql.secure_connection = Off >> [Assertion] >> [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 >> [mcrypt] >> [dba] >> [opcache] >> [curl] >> [openssl] >> >> **** /etc/php5/fpm/conf.d/20-mcrypt.ini **** >> extension=mcrypt.so >> >> **** /etc/php5/fpm/conf.d/20-curl.ini **** >> extension=curl.so >> >> **** /etc/php5/fpm/conf.d/10-mysqlnd.ini **** >> extension=mysqlnd.so >> >> **** /etc/php5/fpm/conf.d/10-pdo.ini **** >> extension=pdo.so >> >> **** /etc/php5/fpm/conf.d/20-gd.ini **** >> extension=gd.so >> >> **** /etc/php5/fpm/conf.d/20-pspell.ini **** >> extension=pspell.so >> >> **** /etc/php5/fpm/conf.d/20-intl.ini **** >> extension=intl.so >> >> **** /etc/php5/fpm/conf.d/20-sqlite3.ini **** >> extension=sqlite3.so >> >> **** /etc/php5/fpm/conf.d/20-pgsql.ini **** >> extension=pgsql.so >> >> **** /etc/php5/fpm/conf.d/05-opcache.ini **** >> zend_extension=opcache.so >> >> **** /etc/php5/fpm/conf.d/20-pdo_mysql.ini **** >> extension=pdo_mysql.so >> >> **** /etc/php5/fpm/conf.d/20-mysqli.ini **** >> extension=mysqli.so >> >> **** /etc/php5/fpm/conf.d/20-gmp.ini **** >> extension=gmp.so >> >> **** /etc/php5/fpm/conf.d/20-mysql.ini **** >> extension=mysql.so >> >> **** /etc/php5/fpm/conf.d/20-json.ini **** >> extension=json.so >> >> **** /etc/php5/fpm/conf.d/20-imap.ini **** >> extension=imap.so >> >> **** /etc/php5/fpm/conf.d/20-snmp.ini **** >> extension=snmp.so >> >> **** /etc/php5/fpm/conf.d/20-pdo_pgsql.ini **** >> extension=pdo_pgsql.so >> >> **** /etc/php5/fpm/conf.d/20-readline.ini **** >> extension=readline.so >> >> **** /etc/php5/fpm/conf.d/20-pdo_sqlite.ini **** >> extension=pdo_sqlite.so >> >> >> -- System Information: >> Debian Release: jessie/sid >> APT prefers testing >> APT policy: (500, 'testing') >> Architecture: amd64 (x86_64) >> Foreign Architectures: i386 >> >> Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) >> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) >> Shell: /bin/sh linked to /bin/dash >> >> Versions of packages php5-fpm depends on: >> ii dpkg 1.17.10 >> ii init-system-helpers 1.19 >> ii libbz2-1.0 1.0.6-5 >> ii libc6 2.19-4 >> ii libcomerr2 1.42.10-1.1 >> ii libdb5.3 5.3.28-5 >> ii libgssapi-krb5-2 1.12.1+dfsg-3 >> ii libk5crypto3 1.12.1+dfsg-3 >> ii libkrb5-3 1.12.1+dfsg-3 >> ii libmagic1 1:5.19-1 >> ii libonig2 5.9.5-2 >> ii libpcre3 1:8.31-5 >> ii libqdbm14 1.8.78-4 >> ii libssl1.0.0 1.0.1h-3 >> ii libsystemd-daemon0 204-14 >> ii libxml2 2.9.1+dfsg1-3 >> ii mime-support 3.56 >> ii php5-common 5.6.0~beta4+dfsg-4 >> ii php5-json 1.3.5-3 >> ii tzdata 2014e-1 >> ii ucf 3.0030 >> ii zlib1g 1:1.2.8.dfsg-1 >> >> php5-fpm recommends no packages. >> >> Versions of packages php5-fpm suggests: >> ii php-pear 5.6.0~beta4+dfsg-4 >> >> Versions of packages php5-common depends on: >> ii libc6 2.19-4 >> ii lsof 4.86+dfsg-1 >> ii psmisc 22.21-2 >> ii sed 4.2.2-4 >> ii ucf 3.0030 >> >> Versions of packages php5-common suggests: >> pn php5-user-cache <none> >> >> -- Configuration Files: >> /etc/php5/fpm/php-fpm.conf changed [not included] >> /etc/php5/fpm/pool.d/www.conf changed [not included] >> >> -- no debconf information >> >> _______________________________________________ >> pkg-php-maint mailing list >> pkg-php-maint@lists.alioth.debian.org >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint > >
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Thu, 10 Jul 2014 18:42:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Tobias Wich <tobias.wich@ecsec.de>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Thu, 10 Jul 2014 18:42:05 GMT) (full text, mbox, link).
Message #35 received at 754384@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hello together, I was hit by this issue today after upgrading one of my machines from 5.6.0~rc1+dfsg-1 to 5.6.0~rc2+dfsg-1. As Lars said the setup was working fine before. I included the update log from /var/log/apt/term.log for completeness. I basically have the same setup with the difference that I'm using a localhost connection rather than a socket to connect to the php processes. I tried both and that is not the problem. Access rights to the files are also fine. The thing why I'm using mod_fastcgi is that there is a problem concerning the paths with owncloud [1] when using mod_proxy_fcgi. There is a workaround available [2] which works just fine. However it removes the Authorization header which is needed for the owncloud client and any other tools accessing the data via webdav. That means calendar and contact syncing does not work with this approach. I didn't try mod_fcgid because I thought it is not possible to connect to already spawned processes such as php5-fpm. If there is anything I can do to help spot the bug please tell me. Best regards Tobias Wich [1] https://bugs.php.net/bug.php?id=65641 [2] https://gist.github.com/progandy/6ed4eeea60f6277c3e39/
[php_update.log (text/x-log, attachment)]
Set Bug forwarded-to-address to 'https://bugs.php.net/bug.php?id=67606'.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Fri, 11 Jul 2014 07:51:05 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Fri, 11 Jul 2014 07:51:09 GMT) (full text, mbox, link).
Reply sent
to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility.
(Fri, 11 Jul 2014 09:42:22 GMT) (full text, mbox, link).
Notification sent
to Lars Veldscholte <lars@tuxplace.nl>:
Bug acknowledged by developer.
(Fri, 11 Jul 2014 09:42:22 GMT) (full text, mbox, link).
Message #44 received at 754384-close@bugs.debian.org (full text, mbox, reply):
Source: php5 Source-Version: 5.6.0~rc2+dfsg-3 We believe that the bug you reported is fixed in the latest version of php5, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 754384@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ondřej Surý <ondrej@debian.org> (supplier of updated php5 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 11 Jul 2014 09:29:36 +0200 Source: php5 Binary: php5 php5-common libapache2-mod-php5 libapache2-mod-php5filter php5-cgi php5-cli php5-phpdbg php5-fpm libphp5-embed php5-dev php5-dbg php-pear php5-curl php5-enchant php5-gd php5-gmp php5-imap php5-interbase php5-intl php5-ldap php5-mcrypt php5-readline php5-mysql php5-mysqlnd php5-odbc php5-pgsql php5-pspell php5-recode php5-snmp php5-sqlite php5-sybase php5-tidy php5-xmlrpc php5-xsl Architecture: source all amd64 Version: 5.6.0~rc2+dfsg-3 Distribution: unstable Urgency: medium Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org> Changed-By: Ondřej Surý <ondrej@debian.org> Description: libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache 2 module) libapache2-mod-php5filter - server-side, HTML-embedded scripting language (apache 2 filter mo libphp5-embed - HTML-embedded scripting language (Embedded SAPI library) php-pear - PEAR - PHP Extension and Application Repository php5 - server-side, HTML-embedded scripting language (metapackage) php5-cgi - server-side, HTML-embedded scripting language (CGI binary) php5-cli - command-line interpreter for the php5 scripting language php5-common - Common files for packages built from the php5 source php5-curl - CURL module for php5 php5-dbg - Debug symbols for PHP5 php5-dev - Files for PHP5 module development php5-enchant - Enchant module for php5 php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) php5-gd - GD module for php5 php5-gmp - GMP module for php5 php5-imap - IMAP module for php5 php5-interbase - interbase/firebird module for php5 php5-intl - internationalisation module for php5 php5-ldap - LDAP module for php5 php5-mcrypt - MCrypt module for php5 php5-mysql - MySQL module for php5 php5-mysqlnd - MySQL module for php5 (Native Driver) php5-odbc - ODBC module for php5 php5-pgsql - PostgreSQL module for php5 php5-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary) php5-pspell - pspell module for php5 php5-readline - Readline module for php5 php5-recode - recode module for php5 php5-snmp - SNMP module for php5 php5-sqlite - SQLite module for php5 php5-sybase - Sybase / MS SQL Server module for php5 php5-tidy - tidy module for php5 php5-xmlrpc - XML-RPC module for php5 php5-xsl - XSL module for php5 Closes: 754384 Changes: php5 (5.6.0~rc2+dfsg-3) unstable; urgency=medium . * Remove Sean Finney from Uploaders; Thanks for all the hard work! * Revert upstream patch that broke mod_fastcgi (Closes: #754384) Checksums-Sha1: d9e4048b438679432046b22043e239b7d7f9cc74 5038 php5_5.6.0~rc2+dfsg-3.dsc d5f45318bc6c6d19300d4c9402c6ef60300c818d 116972 php5_5.6.0~rc2+dfsg-3.debian.tar.xz 0c2ff71fc378662168da1299d26454ca7c58ec61 1318 php5_5.6.0~rc2+dfsg-3_all.deb 9851ed29bb87eb79503398dc650bb9bb533862ff 267262 php-pear_5.6.0~rc2+dfsg-3_all.deb 11fc3eb229285511bf356363167d1d9ac4f29643 531342 php5-common_5.6.0~rc2+dfsg-3_amd64.deb 65ab528d56883a18f6d59a64d74da22fb654a12a 2179070 libapache2-mod-php5_5.6.0~rc2+dfsg-3_amd64.deb 87d14e8e6b4cd11bcbd78daf59ba06c0bae84b57 2175066 libapache2-mod-php5filter_5.6.0~rc2+dfsg-3_amd64.deb 4822f8c9aea154870c208a3b75af0c06f1b9ea48 4220920 php5-cgi_5.6.0~rc2+dfsg-3_amd64.deb 5437b5cda99293aea1d07929ca8c40dc05020dca 2148306 php5-cli_5.6.0~rc2+dfsg-3_amd64.deb e4feeeaf988a77f9363a9e9dabadc62e67f32296 2158534 php5-phpdbg_5.6.0~rc2+dfsg-3_amd64.deb 0221d6d89f6a52cb12544b9cdbda88d6906e0fc1 2162294 php5-fpm_5.6.0~rc2+dfsg-3_amd64.deb da537608fab8c9a83144383545c8cb2c373967b4 2178022 libphp5-embed_5.6.0~rc2+dfsg-3_amd64.deb 3470ab1fed12c2036528beac83e111598aadf73c 354738 php5-dev_5.6.0~rc2+dfsg-3_amd64.deb 176e7c374066b3a7e629d22021992b5996f62a1d 32178398 php5-dbg_5.6.0~rc2+dfsg-3_amd64.deb ad16f043b3e5445c6d718d7122d2fdf45b85354b 27420 php5-curl_5.6.0~rc2+dfsg-3_amd64.deb 50932a1edb6720be9baa2af863cfeff5ac454ceb 9272 php5-enchant_5.6.0~rc2+dfsg-3_amd64.deb 39e285a26b1e9323edfd3d33f783758b4c5767c7 28036 php5-gd_5.6.0~rc2+dfsg-3_amd64.deb 0178442e1aeb00335048220928341da498938c6d 19778 php5-gmp_5.6.0~rc2+dfsg-3_amd64.deb 9f574161cf88551ff59e24e49cd157340163f519 30696 php5-imap_5.6.0~rc2+dfsg-3_amd64.deb 88ce6e12be1635e2e4cc7f791702d76bb34146c3 42332 php5-interbase_5.6.0~rc2+dfsg-3_amd64.deb 22e117c6bcad996538a0ec1326f0359344c44a02 110394 php5-intl_5.6.0~rc2+dfsg-3_amd64.deb cc7ad867e688d1ef978335e60567ad5d0fdaf498 21660 php5-ldap_5.6.0~rc2+dfsg-3_amd64.deb cfeac012a4bd5c44639ca02a2b9f0d6b4e2e8b95 15084 php5-mcrypt_5.6.0~rc2+dfsg-3_amd64.deb e0ea26343a069d7afbc6ab9228f2e78d83491bdc 12322 php5-readline_5.6.0~rc2+dfsg-3_amd64.deb 356c262de0c248b784d14aa4d90354511ab8249c 63824 php5-mysql_5.6.0~rc2+dfsg-3_amd64.deb 12342da150a85c24755194aff28c921cb9edd6e0 139710 php5-mysqlnd_5.6.0~rc2+dfsg-3_amd64.deb b6a775cc2617a6cebdf5a34c3d1d4a1552a4b2b3 31094 php5-odbc_5.6.0~rc2+dfsg-3_amd64.deb 1a4bbb3c3406089dcaba5b71fd49046692b5b228 56462 php5-pgsql_5.6.0~rc2+dfsg-3_amd64.deb f789cb9a97d982e89f8384b5ef55a0cbd2defdf3 8206 php5-pspell_5.6.0~rc2+dfsg-3_amd64.deb c26638da0db65d669e5ab6bfd5fd8e4f56a6a602 5628 php5-recode_5.6.0~rc2+dfsg-3_amd64.deb 4a54dc9b4ea813e0009831ad31785dcc4e71c4ae 19340 php5-snmp_5.6.0~rc2+dfsg-3_amd64.deb d1776c2e58aeda0774f9245a63f89ab88b63c1cb 24204 php5-sqlite_5.6.0~rc2+dfsg-3_amd64.deb ce315a64bf01795668279374d5e6cbced4da23bc 24230 php5-sybase_5.6.0~rc2+dfsg-3_amd64.deb b970c5bc35ae00d2f0f6da65456f31a680176e87 16430 php5-tidy_5.6.0~rc2+dfsg-3_amd64.deb 9c28e2ef32eab632958a0411a473d101558bfd88 35548 php5-xmlrpc_5.6.0~rc2+dfsg-3_amd64.deb 34b207054ae38c1489438345256149e1f6812260 13968 php5-xsl_5.6.0~rc2+dfsg-3_amd64.deb Checksums-Sha256: 35bb3751cdd9de1c2e00aff4dfbc2935154ee70aeb32b25ffd751ca64fb24994 5038 php5_5.6.0~rc2+dfsg-3.dsc 6b0c4b80d4bc625ebb9b387fdb661e60eed4d66618b7a2cc84e5fc1bcfa58ba1 116972 php5_5.6.0~rc2+dfsg-3.debian.tar.xz ccf665158125b70ff8eeac9f01dda1f031be479204b8a24d10de25b6e5cb2fbc 1318 php5_5.6.0~rc2+dfsg-3_all.deb a229a2a006027db1cb0872fc4f29cc529521eafcc258fb54602a430d5a3bfcc7 267262 php-pear_5.6.0~rc2+dfsg-3_all.deb 21d406d319c7029104aa982781011582e5fefa063c9232a2b5db34e662c19fc4 531342 php5-common_5.6.0~rc2+dfsg-3_amd64.deb 087a7809504903f2abe42673cfe611516e53669594bfbdee79c652f148728f38 2179070 libapache2-mod-php5_5.6.0~rc2+dfsg-3_amd64.deb 3d85f844e4cc26d1d09e3b715b7d6897c6875120e4779fdcaf56412f0eb972fc 2175066 libapache2-mod-php5filter_5.6.0~rc2+dfsg-3_amd64.deb fda19653549545e5875dce7e81ff29b599875f0c50e5e582d238a094e242fcea 4220920 php5-cgi_5.6.0~rc2+dfsg-3_amd64.deb 4cfb55d7beb3998785f3b294f7b6e01223480f3546511b67591f394fb33cf20d 2148306 php5-cli_5.6.0~rc2+dfsg-3_amd64.deb 788f82a0c0fc95ce857e43c6337d124ba4fb39816816d10bc5aca25bfaa3e345 2158534 php5-phpdbg_5.6.0~rc2+dfsg-3_amd64.deb bf85f087e3fea9f8b00a296cfab606839ef9ac6fe84c5d842149fc347f9e4e7a 2162294 php5-fpm_5.6.0~rc2+dfsg-3_amd64.deb 97ad870ab3bb21b7e16b8dd215baec1e6185ceadd357ace5dc1657895c592006 2178022 libphp5-embed_5.6.0~rc2+dfsg-3_amd64.deb 2514ab31eb835a728d2333d1d02507054bbbcb6d15a839b472827d4a984d4bfb 354738 php5-dev_5.6.0~rc2+dfsg-3_amd64.deb 20bbbc11b371df6d7260edd2618756b35529f08453e8b18459c35b9cf4cd277f 32178398 php5-dbg_5.6.0~rc2+dfsg-3_amd64.deb 0ab13d08cd54c74e91e9fda30ff3687a3319df8589ec7b4091e871c325e7e05b 27420 php5-curl_5.6.0~rc2+dfsg-3_amd64.deb 15722766ec2b0587b67150819d9d567e42ea2f73102205eed22c5ab8e7fda799 9272 php5-enchant_5.6.0~rc2+dfsg-3_amd64.deb 54bcf7506ce0d03e56148ee0d3b899a10b9435dbb8ffed5ab43c9de65b5e5382 28036 php5-gd_5.6.0~rc2+dfsg-3_amd64.deb 79b1d07059aad1acfba4020199912a6e86d2fb93c5105ccea2bf11172764bcf3 19778 php5-gmp_5.6.0~rc2+dfsg-3_amd64.deb f86808b83673670c32a491c302ee6cdd47e8eb1e0a49433c3b77c65890846f98 30696 php5-imap_5.6.0~rc2+dfsg-3_amd64.deb 0182eba800084c48f01a862ebb27f06c17d5b23f136aef9d534e0e1c5049bb1e 42332 php5-interbase_5.6.0~rc2+dfsg-3_amd64.deb 8398f54be0fd4245557bbfecf6e15e4cb4d94496133a2666d05f9e26a5f3b84c 110394 php5-intl_5.6.0~rc2+dfsg-3_amd64.deb d44a5e18423394a2ac665bfc051b2f2581d8a3e5e6141a14872366f8e0ceb694 21660 php5-ldap_5.6.0~rc2+dfsg-3_amd64.deb d97a22e6dcc4c0ab02b852a9a0852ac1ea72e765037a572e5f1e356371c02749 15084 php5-mcrypt_5.6.0~rc2+dfsg-3_amd64.deb b4940f316e06dcf64c111d8aabedaaf67a7aefa74f4e31ddf2367b755d7617b2 12322 php5-readline_5.6.0~rc2+dfsg-3_amd64.deb 9796133763ab49b02bdcf8b9e1c1b3f611aa2580d84a15e112feaacdde767f9e 63824 php5-mysql_5.6.0~rc2+dfsg-3_amd64.deb 315f3d5988a900a226f7450b1e82490c0409b62969771953fc6dea93f7f80093 139710 php5-mysqlnd_5.6.0~rc2+dfsg-3_amd64.deb 542bab54a9293c9242c9e0acf561b2d46e389c268225de9bccd4c68b9be83033 31094 php5-odbc_5.6.0~rc2+dfsg-3_amd64.deb 7e7530e3db7388f19230b1d3a16c3770edba818d96e164e029679ba5ef8e355d 56462 php5-pgsql_5.6.0~rc2+dfsg-3_amd64.deb 59d5bf753509a547c64f87996c1e4889cf3c2412e0ad220ce5d24be749644c64 8206 php5-pspell_5.6.0~rc2+dfsg-3_amd64.deb 772aac4123553bc4ead6bd1fac7bb34ce6134d198a14e3a6b52e2ddeaa638d3e 5628 php5-recode_5.6.0~rc2+dfsg-3_amd64.deb 859569868c04b6fadb44b4729cd79b1d9489fa9510c171110256268ac0fec737 19340 php5-snmp_5.6.0~rc2+dfsg-3_amd64.deb 5b50432df39fcc2e30340339f92a4774dd03915ec99aa0ffd993f5b2a1946547 24204 php5-sqlite_5.6.0~rc2+dfsg-3_amd64.deb e6635cb6ad8e79c0acc12b87433d37f314024dcf97c413924c21b36629502f8d 24230 php5-sybase_5.6.0~rc2+dfsg-3_amd64.deb f007d49c5497c29ca1ad2f8ddaabf117ce4a0db56fb0d3e8929da73fdd0f8593 16430 php5-tidy_5.6.0~rc2+dfsg-3_amd64.deb edcb87d3f582df45dc5d4246366ecfc81143c6de151f07f8fe2286992410b614 35548 php5-xmlrpc_5.6.0~rc2+dfsg-3_amd64.deb de5d2af9dcc1ab8a6c3c5867aae487579bb712c71decc8ae223caa252e2e0785 13968 php5-xsl_5.6.0~rc2+dfsg-3_amd64.deb Files: 05e282c7a433b8b7902a911cfa2e7df1 1318 php optional php5_5.6.0~rc2+dfsg-3_all.deb 0ce22bd2e11f195a5c46ed2c8876b978 267262 php optional php-pear_5.6.0~rc2+dfsg-3_all.deb e4e4d51e618a0e0af795930017482789 531342 php optional php5-common_5.6.0~rc2+dfsg-3_amd64.deb 878bdbec9ec7993437d7e1a6734260b1 2179070 httpd optional libapache2-mod-php5_5.6.0~rc2+dfsg-3_amd64.deb 88fbf20e921aeb6cc006d12f4a2b21ee 2175066 httpd extra libapache2-mod-php5filter_5.6.0~rc2+dfsg-3_amd64.deb cf28cf635d8810ce28e7f0970b29a0d2 4220920 php optional php5-cgi_5.6.0~rc2+dfsg-3_amd64.deb bc60452f7f3fcf2de31672c2bdf1f1ae 2148306 php optional php5-cli_5.6.0~rc2+dfsg-3_amd64.deb 03190c6367bcc063178ed6a5369fd0a1 2158534 php optional php5-phpdbg_5.6.0~rc2+dfsg-3_amd64.deb 87e044db955a83b6f0e328a1e2e7a5a0 2162294 php optional php5-fpm_5.6.0~rc2+dfsg-3_amd64.deb 642056402475e203ce7f8874bd702f02 2178022 php optional libphp5-embed_5.6.0~rc2+dfsg-3_amd64.deb 624e8879752fc13b2db76b33c17d51b7 354738 php optional php5-dev_5.6.0~rc2+dfsg-3_amd64.deb f2f3d02b23dfbf7310b763103a801b27 32178398 debug extra php5-dbg_5.6.0~rc2+dfsg-3_amd64.deb f382979fd0fc2c3bdbc36df9d776fa3c 27420 php optional php5-curl_5.6.0~rc2+dfsg-3_amd64.deb e98b1bf60df951e428c282cc0e2e8b95 9272 php optional php5-enchant_5.6.0~rc2+dfsg-3_amd64.deb f97f838aa16e6478d9a3dec97e466725 28036 php optional php5-gd_5.6.0~rc2+dfsg-3_amd64.deb f4ba2a6bfdcef7f26004657d8eacbdf4 19778 php optional php5-gmp_5.6.0~rc2+dfsg-3_amd64.deb b1db222fb4f5a2e7181ff625c9f0d666 30696 php optional php5-imap_5.6.0~rc2+dfsg-3_amd64.deb cf604fc372d48d5c886d1e62d4a6e0d3 42332 php optional php5-interbase_5.6.0~rc2+dfsg-3_amd64.deb da7233d423c0a1d473bc0fb0e336fdcb 110394 php optional php5-intl_5.6.0~rc2+dfsg-3_amd64.deb 62cb877b8b1fce2a56dd952bb592486f 21660 php optional php5-ldap_5.6.0~rc2+dfsg-3_amd64.deb 44f1de819fc9798ba8922691ee07b51f 15084 php optional php5-mcrypt_5.6.0~rc2+dfsg-3_amd64.deb 21cb8d1d0c02fe6bcfd97ad693756eab 12322 php optional php5-readline_5.6.0~rc2+dfsg-3_amd64.deb 0ae2b48a3a53957dfa74ea0f10199870 63824 php optional php5-mysql_5.6.0~rc2+dfsg-3_amd64.deb 449521b1b9f081e56f3d744fadcce36e 139710 php extra php5-mysqlnd_5.6.0~rc2+dfsg-3_amd64.deb fc1f8f46045326f94f1e740fceab3a5f 31094 php optional php5-odbc_5.6.0~rc2+dfsg-3_amd64.deb 98364feb93f794ab334cc5ae6d79eff3 56462 php optional php5-pgsql_5.6.0~rc2+dfsg-3_amd64.deb 95d48e6ca5f4e3d90d1058f5b846feac 8206 php optional php5-pspell_5.6.0~rc2+dfsg-3_amd64.deb 9c18ac0df8660fe47e3572bbad2288d7 5628 php optional php5-recode_5.6.0~rc2+dfsg-3_amd64.deb ff0503600c11cc997ed8df15e755270d 19340 php optional php5-snmp_5.6.0~rc2+dfsg-3_amd64.deb d655bdd572ca37b52ba578552cefa1af 24204 php optional php5-sqlite_5.6.0~rc2+dfsg-3_amd64.deb 69581a6e0eeafd5f091c23ec4fc26774 24230 php optional php5-sybase_5.6.0~rc2+dfsg-3_amd64.deb 96c4d4bd54004c6939e403287ab797f4 16430 php optional php5-tidy_5.6.0~rc2+dfsg-3_amd64.deb af6ddc907309924e9cab0880985bfeda 35548 php optional php5-xmlrpc_5.6.0~rc2+dfsg-3_amd64.deb 3ed1ccf8e935d74d6880ba554e5d85e6 13968 php optional php5-xsl_5.6.0~rc2+dfsg-3_amd64.deb 67257be99bdcf3483eeb0cc73ba364d9 5038 php optional php5_5.6.0~rc2+dfsg-3.dsc 08d22bc8117346892df4c264cc54dba8 116972 php optional php5_5.6.0~rc2+dfsg-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJTv6FcAAoJEAyZtw70/LsH9qYP/0AEiiLxzRjBxiU3jBg/mPzy WBqI8FyRLi3eBw7eXEc8zcoP9yHqeSZzq9PGre2//TOvlUBf3S4CHc+MPFxycCnw wHnSFutw82wc9F5pm6140+iLfOqKYA/fD7/jvuZR0XDQVOJKL9jF6ZPWKePmPxuy 3ovLM+fZax+Ket4yBS7yZCzdhRjPooQbY15hV+kr8u7trEH8hXnnImACisv0AjuG G0A/vMWq6ITmqMlnWn7hlsJ1g4XQqfsjSnet8+mXa70d66nMDNvlRAiqL3/p1bmY 8iWiQ63UwuTcrBCWQu2LAYfg9kPgnj590UG3stL8VGlqEHlgauaG2/HxtlgHRMvk Qje5RG7mDhextKX+UVG8E0NqmGHyC82LnAMpy4M5H0yc+YhLLO4JDtmnRbjrlYZo zYiz+BwAU9uyrpVgm2iVwfroeY6X+fb2IAv/9znJufPZDbr5EcZE8mTU1ewR6n60 lz+h27sracMQyVUrBDOLhVZdH7Zeimw/zB2Csb40bVGG6qs/hKkX62pRxzKRL5Ya Rm+hfMPr8O3Iqme+7Ax/mycHN8SVM78xJB2pWmOGFt4eHDMJlQGCTH59hvYxV99t 4JaFGJEC80jhSSb/+3kapbNVSs0SigdmOjPQdjCOFYdsVFH2a2Rhk/+6hegX7e97 MlV6l5zxYmPIyTs98MjE =1bc8 -----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Fri, 11 Jul 2014 13:27:10 GMT) (full text, mbox, link).
Acknowledgement sent
to David Zuelke <dz@heroku.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Fri, 11 Jul 2014 13:27:10 GMT) (full text, mbox, link).
Message #49 received at 754384@bugs.debian.org (full text, mbox, reply):
The Authorization header is stripped by mod_proxy, this is documented behavior.
Simply add
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
to your config.
With https://gist.github.com/progandy/6ed4eeea60f6277c3e39 (or Apache 2.4.10+) and 5.6.0RC2+, there are no more issues like double slashes or errors when rewriting to PATH_INFO (see PR link below).
The "break" in question was caused by https://github.com/php/php-src/pull/694; it fixes the issue described therein.
mod_fastcgi is old, crappy, unmaintained, deprecated stuff. You should use mod_proxy_fcgi with Apache 2.4.
I'll try and see if I can figure out a way of fixing the original issue without causing the breakage described here.
Either way, I'm not sure reverting this patch without a decision upstream is a good idea; this is a release candidate after all…
David
P.S.
If you want to use UDS with mod_proxy_fcgi, do it like so:
# make sure the proxy is registered with the unix socket; we can then use just "fcgi://php-fcgi" in rewrites
# we have to do this because we can't rewrite to a UDS location; Apache will complain that no handler is loaded
# this is also a lot more convenient for use in many config locations
# http://thread.gmane.org/gmane.comp.apache.devel/52892
<Proxy "unix:/tmp/php-fpm.sock|fcgi://php-fpm">
# we must declare a parameter in here or it'll not register the proxy ahead of time
ProxySet disablereuse=off
</Proxy>
<FilesMatch \.php$>
SetHandler proxy:fcgi://php-fpm
</FilesMatch>
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Sat, 12 Jul 2014 20:48:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Lars Veldscholte <lars@tuxplace.nl>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sat, 12 Jul 2014 20:48:10 GMT) (full text, mbox, link).
Message #54 received at 754384@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
OK, so mod_fastcgi is deprecated.
If I switch to mod_proxy_fcgi with mod_proxy_handler like this:
<FilesMatch \.php$>
SetHandler "proxy:fcgi://127.0.0.1:9000/"
</FilesMatch>
I won't have the problems I encountered when I used mod_proxy_fcgi with
mod_proxy, right? (Like this:)
ProxyPassMatch ^/(.*\.php(/.*)?)$
fcgi://127.0.0.1:9000/path/to/your/documentroot/$1
If so, I guess I'm gonna try that.
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Sun, 13 Jul 2014 15:39:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Lars Veldscholte <lars@tuxplace.nl>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sun, 13 Jul 2014 15:39:08 GMT) (full text, mbox, link).
Message #59 received at 754384@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Alright, I'm using mod_proxy_fcgi and mod_proxy_handler now and I ditched mod_fastcgi. Although I had to compile mod_proxy_handler myself because it is not in the Debian package repos and Apache is still on 2.4.9 (both in testing and sid), it is not difficult at all if you use apxs2. I use it with UDS and if you configure it like in David's example, it works great. Also, no problems with mod_rewrite and such (which you do have if you use mod_proxy_fcgi with ProxyPass). I also upgraded to PHP 5.6.0~rc2+dfsg-1 again, and I have no issues with it. I recommend anyone hit by this bug to switch from mod_fastcgi to mod_proxy_handler.
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#754384; Package php5-fpm.
(Sat, 09 Aug 2014 06:39:08 GMT) (full text, mbox, link).
Acknowledgement sent
to David Zuelke <dz@heroku.com>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Sat, 09 Aug 2014 06:39:08 GMT) (full text, mbox, link).
Message #64 received at 754384@bugs.debian.org (full text, mbox, reply):
New PR for PHP to fix the breakage: https://github.com/php/php-src/pull/765 On 12 Jul 2014, at 22:46, Lars Veldscholte <lars@tuxplace.nl> wrote: > OK, so mod_fastcgi is deprecated. > > If I switch to mod_proxy_fcgi with mod_proxy_handler like this: > > <FilesMatch \.php$> > SetHandler "proxy:fcgi://127.0.0.1:9000/" > </FilesMatch> > > I won't have the problems I encountered when I used mod_proxy_fcgi with > mod_proxy, right? (Like this:) > > ProxyPassMatch ^/(.*\.php(/.*)?)$ > fcgi://127.0.0.1:9000/path/to/your/documentroot/$1 > > If so, I guess I'm gonna try that. >
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 06 Sep 2014 07:34:56 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.