Gentoo Archives: gentoo-user

From: "Mateusz A. Mierzwiński" <mateuszmierzwinski@××.pl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache2 + PHP5 problem
Date: Wed, 21 May 2008 23:10:41
Message-Id: 4834ADFB.20901@o2.pl
In Reply to: Re: [gentoo-user] Apache2 + PHP5 problem by kashani
1 kashani pisze:
2 > Mateusz A. Mierzwiñski wrote:
3 >> Can anybody tell me what happend with PHP5 under (Linux athene
4 >> 2.6.23-gentoo-r3 #1 PREEMPT RT Sun Dec 9 01:12:25 Local time zone
5 >> must be set--se x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel
6 >> GNU/Linux) Gentoo? My server runs with error (and white pages after
7 >> accessing):
8 >>
9 >> [Tue May 20 13:59:11 2008] [notice] child pid 2554 exit signal
10 >> Segmentation fault (11)
11 >> [Tue May 20 13:59:11 2008] [notice] child pid 2556 exit signal
12 >> Segmentation fault (11)
13 >> [Tue May 20 13:59:13 2008] [notice] child pid 2611 exit signal
14 >> Segmentation fault (11)
15 >>
16 >> After unloading PHP5 modules (moving 70_php5_mod) and restarting
17 >> Apache everything is OK but... without PHP. What's up. This is PHP
18 >> build flags:
19 >>
20 >> [ebuild R ] dev-lang/php-5.2.6_rc4 USE="apache2 berkdb bzip2 cgi
21 >> cli crypt ftp gd hash iconv imap iodbc mysql mysqli ncurses nls odbc
22 >> pcntl pcre pic posix readline session simplexml soap sockets ssl
23 >> sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib
24 >
25 > Is your Apache also built with threads? If it is not I would rebuild
26 > PHP without threads and try again.
27 >
28 > kashani
29 This are (after restore backup done before update) flags for compiling
30 apache2 and PHP:
31
32 [ebuild R ] www-servers/apache-2.2.8 USE="ssl suexec threads -debug
33 -doc -ldap (-selinux) -sni -static" APACHE2_MODULES="actions alias asis
34 auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm
35 authn_default authn_file authz_dbm authz_default authz_groupfile
36 authz_host authz_owner authz_user autoindex cache cern_meta charset_lite
37 dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires
38 ext_filter file_cache filter headers ident imagemap include info
39 log_config log_forensic logio mem_cache mime mime_magic negotiation
40 proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http
41 rewrite setenvif speling status unique_id userdir usertrack version
42 vhost_alias" APACHE2_MPMS="worker -event -itk -peruser -prefork" 4,746 kB
43
44 [ebuild R ] dev-lang/php-5.2.5_p20080206-r3 USE="apache2 berkdb
45 bzip2 cgi cli crypt ftp gd hash iconv iodbc mysql mysqli ncurses nls
46 odbc pcntl pcre pic posix readline session simplexml snmp soap sockets
47 ssl sysvipc threads unicode xml xmlreader xmlrpc xmlwriter zip zlib
48 (-adabas) -bcmath (-birdstep) -calendar -cdb -cjk -concurrentmodphp
49 -ctype -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path
50 -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk)
51 -filter (-firebird) -flatfile -force-cgi-redirect (-frontbase)
52 -gd-external -gdbm -gmp -imap -inifile -interbase -ipv6 (-java-external)
53 -json -kerberos -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql
54 -oci8 (-oci8-instant-client) -pdo -postgres -qdbm -recode -reflection
55 -sapdb -sharedext -sharedmem (-solid) -spell -spl -sqlite -suhosin
56 (-sybase) (-sybase-ct) -tidy -tokenizer -truetype -wddx -xpm -xsl -yaz
57 -zip-external" 8,861 kB
58
59 As You see every thing is OK. Flags are set same for apache and PHP.
60 This is not a problem.
61
62
63 --
64 gentoo-user@l.g.o mailing list