|
|
我用redhat 9.0安装A.M.P。
先安装mysql,服务器,客户端,开发包都已成功安装,然后装了个webmin,也ok了.都是rpm很快就安装完成。
然后安装apache也正常了,用编译方式安装的
tar zxvf httpd-2.2.0.tar.gz
configure --prefix=/etc/httpd \
> --enable-module=so
make
make install
service httpd start
然后安装gd库
jpeg ttf zlib png gd,然后更新了xml到2.6.23都成功了,重启httpd也都ok了。问题就出在php上,大家帮我看看,我是这样安装的:
tar解压,然后
#configure --prefix=/usr/local/php \
> --with apxs2=/etc/httpd/bin/apxs --with-gd \
> --with-jpeg-dir --with-ttf --with-zlib-dir --with-png-dir \
> --with-mysql --enable-track-vars
#make
#make install
安装完成后重启httpd服务器就出问题了:
说:/etc/httpd/conf/httpd.conf中有一行错误,查看后是LoadModule php5_module modules/libphp5.so
API module structure 'php5_module' in file /etc/httpd/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?
这么说是php5模块与Apache之间有问题了,我哪里做错了,怎么修改
版本信息:
MySQL-server-5.0.18-0.i386.rpm
MySQL-client-5.0.18-0.i386.rpm
MySQL-devel-5.0.18-0.i386.rpm
httpd-2.2.0.tar.gz
php-5.1.2.tar.gz
都是最新的版本...
:ask :ask :ask |
|