Misconfiguration in php-fpm.conf

Originator:hanzo
Number:rdar://12282572 Date Originated:11-Sep-2012 11:31 PM
Status:Open Resolved:
Product:OS X Server Product Version:10.8.1 (12B19)
Classification:Medium Reproducible:n/a
 
Summary:
While troubleshooting other issue (Radar #12282536) discovered that php-fpm.conf appears to be reloading previously loaded extensions, then generation warnings and errors.

Enabling debug level logging and executing from cli reveals following errors:
[11-Sep-2012 19:39:53.156037] WARNING: pid 767, fpm_stdio_child_said(), line 166: [pool devicemgr] child 768 said into stderr: "NOTICE: sapi_cgi_log_message(), line 663: PHP message: PHP Warning:  Module 'apc' already loaded in Unknown on line 0"
[11-Sep-2012 19:39:53.156046] WARNING: pid 767, fpm_stdio_child_said(), line 166: [pool devicemgr] child 768 said into stderr: "ERROR: fpm_php_apply_defines(), line 129: Unable to set php_admin_value 'extension'"

Fix Action:
Possibly incorrect fix, but will suppress errors,

comment out lines 403 & 404 in /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/php/php-fpm.conf

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!