Apache + MySQL + PHP (99レス)
上下前次1-新
抽出解除 レス栞
リロード規制です。10分ほどで解除するので、他のブラウザへ避難してください。
57(5): 2008/03/09(日)12:40 AAS
php CLIを実行するとプロセスが終了しなくなっうんだけど原因わかるひといますか?
#uname -a
Linux hoge.example.com 2.6.9-67.0.4.EL #1 Sun Feb 3 06:53:29 EST 2008 i686 i686 i386 GNU/Linux
# /usr/local/apache2/bin/httpd -v
Server version: Apache/2.2.8 (Unix)
Server built: Feb 25 2008 15:39:03
# /usr/local/apache2/bin/httpd -l
Compiled in modules:
core.c mod_ssl.c worker.c http_core.c mod_so.c
# /usr/local/mysql/bin/mysql -V
省15
58: 57 2008/03/09(日)12:52 AAS
<?php die(); ?>
のような超簡単なスクリプトも帰ってこない。(ノД`)シクシク
ついでに eacceleratorのencoder.php も簡単なスクリプト以外が
エンコードできない。こいつも帰ってこなくなるんだがな。
59: 57 2008/03/09(日)13:30 AAS
apacheのエラーログには
[Sun Mar 09 13:16:22 2008] [notice] child pid 14771 exit signal Segmentation fault (11)
[Sun Mar 09 13:16:22 2008] [notice] child pid 14773 exit signal Segmentation fault (11)
[Sun Mar 09 13:16:22 2008] [notice] child pid 15427 exit signal Segmentation fault (11)
[Sun Mar 09 13:16:22 2008] [notice] child pid 15457 exit signal Segmentation fault (11)
[Sun Mar 09 13:16:23 2008] [notice] child pid 15456 exit signal Segmentation fault (11)
ん〜なんだろ。
セグメンテーションフォルトが出てた。
mpm関係なのだろうか?
apacheを再起動しようとすると
省14
60: 57 2008/03/09(日)14:52 AAS
GDBしてみた。
# cd /usr/local/src/php-5.2.5/
# gdb ./sapi/cli/php
GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh)
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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
省7
61: 57 2008/03/09(日)14:52 AAS
つずき
<?php
print "test"; exit;
test
Program received signal SIGTSTP, Stopped (user).
[Switching to Thread -1209026880 (LWP 2462)]
0x005df7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0 0x005df7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x0076e3de in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
省5
62: 57 2008/03/09(日)15:28 AAS
原因判明!!!!!!!!!
--with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config
この設定でクライアントライブラリがコンフリクトしていることが判明!
拡張なんかつかっていないので取り合えず、--with-mysqli=/usr/local/mysql/bin/mysql_config を
削除したら動いた
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.023s