php5.2 xampp,使用XAMPP,如何將PHP 5.3替換為PHP 5.2?

24

Thanks for the answer. I just got this working on Windows XP, with a few modifications. Here are my steps.

感謝你的回答。我剛剛在Windows XP上工作,只做了一些修改。這是我的步驟。

Download and install latest xampp to G:\xampp. As of 2010/03/12, this is 1.7.3.

下載並安裝最新的xampp到G:\ xampp。截至2010年3月12日,這是1.7.3。

Download the zip of xampp-win32-1.7.0.zip, which is the latest xampp distro without php 5.3. Extract somewhere, e.g. G:\xampp-win32-1.7.0\

下載xampp-win32-1.7.0.zip的zip,這是沒有php 5.3的最新xampp發行版。提取某處,例如G:\ XAMPP-win32-1.7.0 \

Remove directory G:\xampp\php

刪除目錄G:\ xampp \ php

Remove G:\xampp\apache\modules\php5apache2_2.dll and php5apache2_2_filter.dll

刪除G:\ xampp \ apache \ modules \ php5apache2_2.dll和php5apache2_2_filter.dll

Copy G:\xampp-win32-1.7.0\xampp\php to G:\xampp\php.

將G:\ xampp-win32-1.7.0 \ xampp \ php復制到G:\ xampp \ php。

Copy G:\xampp-win32-1.7.0\xampp\apache\bin\php* to G:\xampp\apache\bin

將G:\ xampp-win32-1.7.0 \ xampp \ apache \ bin \ php *復制到G:\ xampp \ apache \ bin

Edit G:\xampp\apache\conf\extra\httpd-xampp.conf.

Immediately after the line, add the lines

緊接在該行之后,

添加行

編輯G:\ xampp \ apache \ conf \ extra \ httpd-xampp.conf。緊接在該行之后,

添加行

(snip)

(剪斷)

LoadModule php5_module "/xampp/apache/bin/php5apache2_2.dll"

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

AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .phpt

php_admin_flag safe_mode off

(Note that this is taken from the same file in the 1.7.0 xampp distribution. If you run into trouble, check that conf file and make the new one match it.)

(請注意,這是從1.7.0 xampp發行版中的同一文件中獲取的。如果遇到問題,請檢查該conf文件並使其與新文件匹配。)

You should then be able to start the apache server with PHP 5.2.8. You can tail the G:\xampp\apache\logs\error.log file to see whether there are any errors on startup. If not, you should be able to see the XAMPP splash screen when you navigate to localhost.

然后,您應該能夠使用PHP 5.2.8啟動Apache服務器。您可以拖尾G:\ xampp \ apache \ logs \ error.log文件以查看啟動時是否有任何錯誤。如果沒有,當您導航到localhost時,您應該能夠看到XAMPP啟動畫面。

Hope this helps the next guy.

希望這有助於下一個人。

cheers,

干杯,

Jake

可靠的人

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值