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
可靠的人