Bug #53695 [NEW]: Bugs are not outputed when using php-fpm
| From: | szoftos at freemail dot hu | Date: | Sat, 08 Jan 2011 12:01:48 +0000 |
| Subject: | Bug #53695 [NEW]: Bugs are not outputed when using php-fpm | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-157757@lists.php.net to get a copy of this message | ||
From:
Operating system: FreeBSD
PHP version: 5.3.5
Package: FPM related
Bug Type: Bug
Bug description:Bugs are not outputed when using php-fpm
Description:
------------
Hi, when i was trying to see an error message because of a syntax error (or
any other error) using php-fpm, it simply won't output. Sometimes i get
nothing, and other times i get an '500 Server error'.
When i use php-cli, i get the error message.
my configure line (comes from freebsd ports): './configure'
'--with-layout=GNU' '--localstatedir=/var'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--with-libxml-dir=/usr/local'
'--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr'
'--program-prefix='
'--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www'
'--with-regex=php' '--with-zend-vm=CALL' '--enable-zend-multibyte'
'--prefix=/usr/local' '--mandir=/usr/local/man'
'--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd8.1'
The following extensions are compiled in:
[root@wwwjail ~]# cat /var/db/ports/php5-extensions/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for php5-extensions-1.4
_OPTIONS_READ=php5-extensions-1.4
WITHOUT_BCMATH=true
WITH_BZ2=true
WITH_CALENDAR=true
WITH_CTYPE=true
WITHOUT_CURL=true
WITHOUT_DBA=true
WITH_DOM=true
WITH_EXIF=true
WITHOUT_FILEINFO=true
WITHOUT_FILTER=true
WITHOUT_FRIBIDI=true
WITH_FTP=true
WITH_GD=true
WITH_GETTEXT=true
WITH_GMP=true
WITH_HASH=true
WITH_ICONV=true
WITH_IMAP=true
WITHOUT_INTERBASE=true
WITH_JSON=true
WITHOUT_LDAP=true
WITH_MBSTRING=true
WITHOUT_MCRYPT=true
WITHOUT_MSSQL=true
WITH_MYSQL=true
WITHOUT_MYSQLI=true
WITHOUT_ODBC=true
WITH_OPENSSL=true
WITHOUT_PCNTL=true
WITH_PDF=true
WITH_PDO=true
WITH_PDO_SQLITE=true
WITHOUT_PGSQL=true
WITH_POSIX=true
WITH_PSPELL=true
WITHOUT_READLINE=true
WITHOUT_RECODE=true
WITH_SESSION=true
WITHOUT_SHMOP=true
WITH_SIMPLEXML=true
WITHOUT_SNMP=true
WITH_SOAP=true
WITHOUT_SOCKETS=true
WITH_SQLITE=true
WITHOUT_SYBASE_CT=true
WITHOUT_SYSVMSG=true
WITHOUT_SYSVSEM=true
WITHOUT_SYSVSHM=true
WITHOUT_TIDY=true
WITH_TOKENIZER=true
WITHOUT_WDDX=true
WITH_XML=true
WITH_XMLREADER=true
WITH_XMLRPC=true
WITH_XMLWRITER=true
WITHOUT_XSL=true
WITHOUT_YAZ=true
WITH_ZIP=true
WITH_ZLIB=true
The related php-fpm.conf snippet is:
php_admin_value[error_reporting] = "E_ALL"
php_admin_flag[display_errors] = On
php_admin_flag[display_startup_errors] = On
Test script:
---------------
<?php
asdlkl;k
phpinfo();
?>
Expected result:
----------------
PHP Parse error: syntax error, unexpected T_STRING in test.php on line 3
Actual result:
--------------
Nothing, or a '500 Internal server error' result.
--
Edit bug report at http://bugs.php.net/bug.php?id=53695&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53695&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53695&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53695&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53695&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53695&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53695&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53695&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53695&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53695&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53695&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53695&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53695&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53695&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53695&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53695&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53695&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53695&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53695&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53695&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53695&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53695&r=mysqlcfg