kashani pisze:
Mateusz A. Mierzwiński wrote:
Can anybody tell me what happend with PHP5 under (Linux athene
2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone
must be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel
GNU/Linux) Gentoo? My server runs with error (and white pages after
accessing):
[Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal
Segmentation fault (11)
[Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal
Segmentation fault (11)
[Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal
Segmentation fault (11)
After unloading PHP5 modules (moving 70_php5_mod) and restarting
Apache everything is OK but... without PHP. What's up. This is PHP
build flags:
[ebuild R ] dev-lang/php-5.2.6_rc4 USE="apache2 berkdb bzip2 cgi
cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc
pcntl pcre pic posix readline session simplexml soap sockets ssl
sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib
Is your Apache also built with threads? If it is not I would rebuild
PHP without threads and try again.
kashani
This are (after restore backup done before update) flags for compiling
apache2 and PHP:
[ebuild R ] www-servers/apache-2.2.8 USE="ssl suexec threads -debug
-doc -ldap (-selinux) -sni -static" APACHE2_MODULES="actions alias asis
auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile
authz_host authz_owner authz_user autoindex cache cern_meta charset_lite
dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires
ext_filter file_cache filter headers ident imagemap include info
log_config log_forensic logio mem_cache mime mime_magic negotiation
proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http
rewrite setenvif speling status unique_id userdir usertrack version
vhost_alias" APACHE2_MPMS="worker -event -itk -peruser -prefork" 4,746 kB
[ebuild R ] dev-lang/php-5.2.5_p20080206-r3 USE="apache2 berkdb
bzip2 cgi cli crypt ftp gd hash iconv iodbc mysql mysqli ncurses nls
odbc pcntl pcre pic posix readline session simplexml snmp soap sockets
ssl sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib
(-adabas) -bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp
-ctype -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path
-doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk)
-filter (-firebird) -flatfile -force-cgi-redirect (-frontbase)
-gd-external -gdbm -gmp -imap -inifile -interbase -ipv6 (-java-external)
-json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql
-oci8 (-oci8-instant-client) -pdo -postgres -qdbm -recode -reflection
-sapdb -sharedext -sharedmem (-solid) -spell -spl -sqlite -suhosin
(-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx -xpm -xsl -yaz
-zip-external" 8,861 kB
As You see every thing is OK. Flags are set same for apache and PHP.
This is not a problem.
--
[email protected] mailing list