Changes between Version 2 and Version 3 of HowToReportABug/GenerateBacktrace
- Timestamp:
- 11/28/2007 02:14:02 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToReportABug/GenerateBacktrace
v2 v3 5 5 == If you don't have a core file yet == 6 6 Read [http://bugs.php.net/bugs-generating-backtrace.php generating a Backtrace] on php.net. 7 * config xcache.coredump_directory in /etc/php.ini 8 * Ensure that the xcache.coredump_directory has write permissions for the user who's running PHP .7 * config xcache.coredump_directory in /etc/php.ini, For apache + mod_php, you have CoreDumpDirectory in apache.conf 8 * Ensure that the xcache.coredump_directory has write permissions for the user who's running PHP 9 9 * Remove any limits you may have on core dump size from your shell: 10 10 * tcsh: unlimit coredumpsize … … 15 15 * PHP As Apache Module: Run httpd -X, and access the script that crashes PHP 16 16 == Once you have the core file == 17 check where the coredump is 17 First, check where the coredump is 18 ====== Checking where the coredump is ====== 18 19 {{{ 19 20 #!ShellExample … … 23 24 /tmp/core 24 25 }}} 25 ok, it's there26 26 27 27 * PHP as CGI/FastCGI: Run gdb with the path to the PHP or PHP-enabled httpd binary, and path to the core file, for example: 28 ====== Generating backtrace for PHP as CGI/FastCGI ====== 28 29 {{{ 29 30 #!ShellExample … … 36 37 37 38 * PHP As Webserver Module: Run gdb with the path to the PHP or PHP-enabled httpd binary, and path to the core file, for example: 39 ====== Generating backtrace for PHP as As Webserver Module ====== 38 40 {{{ 39 41 #!ShellExample

