uname -a
Код: Выделить всё
FreeBSD webserver.local 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Код: Выделить всё
Server version: Apache/2.4.18 (FreeBSD)
Server built: Jan 6 2016 15:51:20
Код: Выделить всё
PHP 5.6.16 (cli) (built: Jan 6 2016 16:46:34)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
Код: Выделить всё
[PHP Modules]
bz2
Core
ctype
curl
date
dom
ereg
exif
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcre
PDO
Phar
posix
Reflection
session
sockets
SPL
standard
tokenizer
zip
zlib
[Zend Modules]
PHP Fatal error: Maximum execution time of 300 seconds exceeded in .../script.php on line 449
Segmentation fault (core dumped)
Номер строчки в коде с ошибкой может быть разным, но всегда указывает на использование функции curl_exec($ch);
gdb -c php.core
Код: Выделить всё
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000008012a04ca in ?? ()