- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2010-5-21
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
前面安装lnmp正常,安装apache就安装不上了。
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 whether to enable Apache 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/apache/bin/apxs follows:
configure: error: Aborting
cp: cannot stat `/usr/local/apache/build/libtool': No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
package.xml
memcache-3.0.5/config.m4
memcache-3.0.5/config9.m4
memcache-3.0.5/config.w32
memcache-3.0.5/CREDITS
memcache-3.0.5/example.php
memcache-3.0.5/memcache.c
memcache-3.0.5/memcache_pool.c
memcache-3.0.5/memcache_queue.c
memcache-3.0.5/memcache_session.c
memcache-3.0.5/memcache_ascii_protocol.c
memcache-3.0.5/memcache_binary_protocol.c
./apache.sh: line 166: /usr/local/php/bin/phpize: No such file or directory
memcache-3.0.5/memcache_standard_hash.c
memcache-3.0.5/memcache_consistent_hash.c
memcache-3.0.5/memcache.dsp
memcache-3.0.5/php_memcache.h
memcache-3.0.5/memcache_pool.h
memcache-3.0.5/memcache_queue.h
memcache-3.0.5/README
memcache-3.0.5/memcache.php
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for egrep... (cached) grep -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for icc... no
checking for suncc... no
checking whether gcc and cc understand -c and -o together... (cached) yes
checking for system library directory... lib
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
/bin/sh /root/lnmp0.7-full/memcache-3.0.5/libtool --mode=install cp ./memcache.la /root/lnmp0.7-full/memcache-3.0.5/modules
cp ./.libs/memcache.so /root/lnmp0.7-full/memcache-3.0.5/modules/memcache.so
cp ./.libs/memcache.lai /root/lnmp0.7-full/memcache-3.0.5/modules/memcache.la
PATH="$PATH:/sbin" ldconfig -n /root/lnmp0.7-full/memcache-3.0.5/modules
----------------------------------------------------------------------
Libraries have been installed in:
/root/lnmp0.7-full/memcache-3.0.5/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
package2.xml
PDO_MYSQL-1.0.2/config.m4
PDO_MYSQL-1.0.2/CREDITS
PDO_MYSQL-1.0.2/mysql_driver.c
PDO_MYSQL-1.0.2/mysql_statement.c
PDO_MYSQL-1.0.2/pdo_mysql.c
PDO_MYSQL-1.0.2/php_pdo_mysql.h
PDO_MYSQL-1.0.2/php_pdo_mysql_int.h
PDO_MYSQL-1.0.2/php_pdo_mysql_sqlstate.h
package.xml
./apache.sh: line 173: /usr/local/php/bin/phpize: No such file or directory
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for egrep... (cached) grep -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for icc... no
checking for suncc... no
checking whether gcc and cc understand -c and -o together... (cached) yes
checking for system library directory... lib
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH
/bin/sh /root/lnmp0.7-full/PDO_MYSQL-1.0.2/libtool --mode=install cp ./pdo_mysql.la /root/lnmp0.7-full/PDO_MYSQL-1.0.2/modules
cp ./.libs/pdo_mysql.so /root/lnmp0.7-full/PDO_MYSQL-1.0.2/modules/pdo_mysql.so
cp ./.libs/pdo_mysql.lai /root/lnmp0.7-full/PDO_MYSQL-1.0.2/modules/pdo_mysql.la
PATH="$PATH:/sbin" ldconfig -n /root/lnmp0.7-full/PDO_MYSQL-1.0.2/modules
----------------------------------------------------------------------
Libraries have been installed in:
/root/lnmp0.7-full/PDO_MYSQL-1.0.2/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/
--2011-05-03 14:10:50-- http://soft.vpser.net/web/zend/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
The file is already fully retrieved; nothing to do.
ZendOptimizer-3.3.9-linux-glibc23-x86_64/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/md5
ZendOptimizer-3.3.9-linux-glibc23-x86_64/Inventory.xml
ZendOptimizer-3.3.9-linux-glibc23-x86_64/EULA-ZendOptimizer
ZendOptimizer-3.3.9-linux-glibc23-x86_64/README-ZendOptimizer
ZendOptimizer-3.3.9-linux-glibc23-x86_64/LICENSE
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_3_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_3_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_1_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_1_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_0_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_0_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_4_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_4_x_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/poweredbyoptimizer.gif
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_0_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/4_2_0_comp/ZendOptimizer.so
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_x_comp/
ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_x_comp/ZendOptimizer.so
Download new Apache init.d file......
--2011-05-03 14:10:50-- http://soft.vpser.net/lnmp/ext/init.d.httpd
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4027 (3.9K) [application/octet-stream]
Saving to: `init.d.httpd'
100%[======================================>] 4,027 --.-K/s in 0.01s
2011-05-03 14:10:51 (334 KB/s) - `init.d.httpd' saved [4027/4027]
Stop Nginx......
Test Nginx Confgure.....
the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
configuration file /usr/local/nginx/conf/nginx.conf test is successful
Starting Nginx......
Starting Apache.....
/etc/init.d/httpd: line 98: /usr/local/apache/bin/httpd: No such file or directory
Remove old startup files and Add new startup file.....
====================== Upgrade to LNMPA completed ===================== |
|