软件测试实习报告
; ② cd php-4.4.4
③ ./configure--prefix=/usr/local/php4
--with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/php4
--with-xml
--with-libxml-dir=/usr/lib
--enable-track-vars
④ make
⑤ make install
⑥ cp php.ini-dist /usr/local/lib/php.ini
5)php 和 apache 配置文件
l 修改/usr/local/lib/php.ini
register-golbals=on
l 修改/usr/local/appche/conf/httpd-conf
diretoryindex index.php index.phtml index.php3 index.html index.htm
loadmodule php4_module modules/libphp4.so
addtype application/x-httpd-php .php .phtml .php4 .inc
addtype application/x-httpd-php-source /phps
6)以上安装全部结束,编写程序进行测试:
<?echo “hello,wanglu”?>保存此文件于/usr/loca
测试报告