Linux版本:RedHat 7.2 安全安砚
Apache版本:httpd-2_0_16.tar.Z
PHP版本:是4.0
我的安砚咿程:
1)Mysql安砚ok,能用
2)安砚Apache and PHP
a,解?矿文件:
tar zxvf httpd-2_0_16.tar.Z
tar zxvf ...tar.gz
也ok,?注意安砚的路?在
/apacheandphp/apache/httpd-2_0_16/ 下是Apache
/apacheandphp/apache/php.4.0.6/ 下是PHP
b,配置apache安砚後的路?
cd /apacheandphp/apache/httpd-2_0_16
./configure --prefix=/usr/local/apache
一路ok!
c,邋锗檫始办生.......
咄入php的解?路?
cd /apacheandphp/apache/php.4.0.6
./configure --with-apache=../httpd-2_0_16 --with-myaql --disable-debug enabled-track-vars
(?注意../httpd-2_0_16表示apache的解?路?)
?在Configuring SAPI modules?
有邋锗:
Configure:error: Invalid Apache directory -unabled to find httpd.h under /apacheandphp/apache/httpd-2_0_16
在apache安砚的路?下?有找到httpd.h
我也?有找到,但我在/apacheandphp/apache/httpd-2_0_16/include下找到httpd.h,於是我把它拷到/apacheandphp/apache/httpd-2_0_16下,但是?是不行
各位仁兄,不知有何妙?,?忙解?!foreveryday007著咿各位