This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP / suPHP Internal Server Error - ParsingException in Configuration.cpp:163:[SOLVED]
« on: February 23, 2016, 06:20:50 PM »
Hi,
After (I suspect) upgrade PHP to version 7-devel suPHP fails on execute any php script on server and throw this error in apache log located at /usr/local/apache/log/error.log
ParsingException in Configuration.cpp:163: Unknown option "full_php_process_display" in section [global]
After some research I can get PHP works again commenting line 178 of /usr/local/src/apache-rebuild.sh
; Normally suPHP only displays the PHP binary in process lists (ps aux and top).
; Setting this option to 'true' will cause suPHP to display both the
; PHP binary and the script filename.
;full_php_process_display=true
and executing again the script with # sh ./apache-rebuild.sh
If you switch apache version, the file apache-rebuild.sh needs to be modified again.
Seems the directive "full_php_process_display" aren't implemented in suPHP version downloaded from repositories.
After (I suspect) upgrade PHP to version 7-devel suPHP fails on execute any php script on server and throw this error in apache log located at /usr/local/apache/log/error.log
ParsingException in Configuration.cpp:163: Unknown option "full_php_process_display" in section [global]
After some research I can get PHP works again commenting line 178 of /usr/local/src/apache-rebuild.sh
; Normally suPHP only displays the PHP binary in process lists (ps aux and top).
; Setting this option to 'true' will cause suPHP to display both the
; PHP binary and the script filename.
;full_php_process_display=true
and executing again the script with # sh ./apache-rebuild.sh
If you switch apache version, the file apache-rebuild.sh needs to be modified again.
Seems the directive "full_php_process_display" aren't implemented in suPHP version downloaded from repositories.
Pages: [1]