从新记了一边:
打开终端:
进入/home/(一个文件夹)/php5.0.4/
然后
1,如果执行以下命令(google出来的,mysql+php+perl安装的说明):
./configure --prefix=/usr/local/php --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/lib --enable-track-vars --with-xml --with-mysql
终端提示:
check for AOLserver support.. no
chech for Apache 1.x modulesupport via DSO through APXS
Sorry,I was not able to successfully run APXS,Possible reasons:
1,Perl is not install
2,Apache was not in your path,Try to use --with-apxs=/path/to/apxs
3,"apxs"is not in your path,try to use --with-apsx=/path/to/apxs
2,如果执行以下命令(kbs的安装说明):
./configure --with-apxs=/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
终端提示:
1,Perl is not install
2,Apache was not compiled with DSO support(--enable-module=so)
3"apxs"is not in your path try to use --with-apsx=/path/to/apxs
The output /apxs follows:
./configure:line 3351:/apsx:NO such file or directory
configure:error:Aborting
问题:
1,php一定要装perl吗?
2,DSO support是什么东西?
3,上面的2次操作都不能安装成功php,并且不能
make
make install
问题出在那里了?怎么解决??
谢谢了~~!
【 在 liangls (精灵射手) 的大作中提到: 】
: 错误提示如下:
: Sorry,I was not able to successfully run APX,Posible reason:
: 1,perl is not install
: ...................
--
FROM 219.238.245.*