LinuxÒÁµéÔ°ÂÛ̳'s Archiver

tomp2530 ·¢±íÓÚ 2007-10-16 15:23

php+apache+mysqlÔÚFC7ϰ²×°Ê±³öÏÖµÄÎÊÌâ

´ó¼ÒºÃ£¬ÎÒÔÚFC7ϰ²×°Ê±£¬APACHEºÍMYSQL¶¼×°ÉÏÁË£¬¿ÉÄܱàÒëPHPʱ³öÏÖÁËÒÔÏÂÎÊÌ⣬ÄÄÃǸßÊÖÄܽâ¾ö°¡£¿£¿×ż±×ÅÓÃÄØ

[root@localhost php-4.4.7]# ./configure --with-apxs2=/usr/local/www/bin/apxs --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-dom --with-gd --with-freetype-dir=/usr/lib --with-png-dir --with-iconv --with-jpeg-dir --with-zlib --enable-track-vars --with-mysql
loading cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.33 (ok)
checking whether byte ordering is bigendian... no
checking whether to force non-PIC code in shared modules... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/local/www/bin/apxs follows:
/usr/local/www/bin/httpd: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/www/bin/httpd'..
configure: error: Aborting

bwb ·¢±íÓÚ 2007-10-16 22:20

[quote]Ô­ÌûÓÉ [i]tomp2530[/i] ÓÚ 2007-10-16 15:23 ·¢±í [url=http://www.linuxeden.com/forum/redirect.php?goto=findpost&pid=590043&ptid=159771][img]http://www.linuxeden.com/forum/images/common/back.gif[/img][/url]
´ó¼ÒºÃ£¬ÎÒÔÚFC7ϰ²×°Ê±£¬APACHEºÍMYSQL¶¼×°ÉÏÁË£¬¿ÉÄܱàÒëPHPʱ³öÏÖÁËÒÔÏÂÎÊÌ⣬ÄÄÃǸßÊÖÄܽâ¾ö°¡£¿£¿×ż±×ÅÓÃÄØ

[root@localhost php-4.4.7]# ./configure --with-apxs2=/usr/local/www/bin/apxs --disa ... [/quote]
apxs2 NOT=apxs

linuxedenli ·¢±íÓÚ 2007-10-17 11:10

ͬÉÏ bwb ÕæÊǸßÈË¡£¡£

Èç¹ûÂ¥Ö÷ÎÊÌâ ½â¾öÁË ¼ÇµÃ  ¸úÌù  

˵һÏ ÎÊÌâ½â¾öûÓÐ

tomp2530 ·¢±íÓÚ 2007-10-17 16:46

ÒѾ­½â¾öÁË,¼ÓÒ»¸öÁ¬½Ó¾ÍÐÐ,ÆäËûµÄµØ·½²»ÓøĵÄ,ºÇºÇ
ln -s  /usr/local/lib/libiconv.so.2 /usr/lib/
ÕâÊÇÎÒÔÚ°²×°kbsbbsʱÅöµ½µÄÎÊÌâ,ÁíÍâÇë½ÌÒ»ÏÂÈç¹û°²×°µÄÊÇmysql5.0.37-2.rpmÈç¹ûÔÙ°²×°mysql devel5.0.37--0.rpm¿É²»¿ÉÒÔ°¡???

bwb ·¢±íÓÚ 2007-10-17 16:51

[quote]Ô­ÌûÓÉ [i]tomp2530[/i] ÓÚ 2007-10-17 16:46 ·¢±í [url=http://www.linuxeden.com/forum/redirect.php?goto=findpost&pid=590242&ptid=159771][img]http://www.linuxeden.com/forum/images/common/back.gif[/img][/url]
ÒѾ­½â¾öÁË,¼ÓÒ»¸öÁ¬½Ó¾ÍÐÐ,ÆäËûµÄµØ·½²»ÓøĵÄ,ºÇºÇ
ln -s  /usr/local/lib/libiconv.so.2 /usr/lib/
ÕâÊÇÎÒÔÚ°²×°kbsbbsʱÅöµ½µÄÎÊÌâ,ÁíÍâÇë½ÌÒ»ÏÂÈç¹û°²×°µÄÊÇmysql5.0.37-2.rpmÈç¹ûÔÙ°²×°mysql devel5.0. ... [/quote]
²»ÐУ¬°æ±¾ÒªÒ»Ö¡£

tomp2530 ·¢±íÓÚ 2007-10-18 10:49

ÖªµÀÁË,ллÀ²,ºÇºÇ
ÄܸæËßÎÒQQÂð,ÒÔºó?**±½ÓÕÒÄ

bwb ·¢±íÓÚ 2007-10-18 13:05

ÎÒÓÐÕâ¸ö£º[img]http://www.linuxeden.com/forum/images/default/yahoo.gif[/img]¿ÉÒÔ·¢ÐÅ£¬Ò²¿ÉÒÔ¹Ògaim¡£

tomp2530 ·¢±íÓÚ 2007-10-18 17:26

ÎÒÖ´ÐÐÈçÏÂÃüÁîµÄʱºò³öÏÖÕâ¸öÌáʾ
[root@localhost bin]# ./miscd daemon
can't load sysconf image![root@localhost bin]#

£¬ÎªÊ²Ã´°¡£¿£¿£¿Ð»Ð»À²

bwb ·¢±íÓÚ 2007-10-18 20:00

[quote]Ô­ÌûÓÉ [i]tomp2530[/i] ÓÚ 2007-10-18 17:26 ·¢±í [url=http://www.linuxeden.com/forum/redirect.php?goto=findpost&pid=590467&ptid=159771][img]http://www.linuxeden.com/forum/images/common/back.gif[/img][/url]
ÎÒÖ´ÐÐÈçÏÂÃüÁîµÄʱºò³öÏÖÕâ¸öÌáʾ
[root@localhost bin]# ./miscd daemon
can't load sysconf image![root@localhost bin]#

£¬ÎªÊ²Ã´°¡£¿£¿£¿Ð»Ð»À² [/quote]
ÊDz»ÊÇGD¿âûÓа²×°?

Ò³: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.