盾怪网教程:是一个免费提供流行杀毒软件教程、在线学习分享的学习平台!

PHP在linxu下的安装与设置

时间:2024/12/16作者:未知来源:盾怪网教程人气:

[摘要]tar xvf - cd apache_1.3.x ./configure --prefix=/www cd ../php-4.0.x ./configure --with-mysql --with...
tar xvf -
cd apache_1.3.x
./configure --prefix=/www
cd ../php-4.0.x
./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars
make
make install
cd ../apache_1.3.x
./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
make
make install
cd ../php-4.0.x
cp php.ini-dist /usr/local/lib/php.ini
在 httpd.conf 或 srm.conf 加入

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

而 PHP 4.x 版中对 Apache 服务器加入了新的环境变量配置项。

php_value [PHP directive name] [value]
php_flag [PHP directive name] [On

关键词:PHP在linxu下的安装与设置




Copyright © 2012-2018 盾怪网教程(http://www.dunguai.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版