電腦系統:win10 php
Wamp版本: WampServer Version 3.0.4 32bit html
Apache 2.4.18 - PHP 7.3.7 - MySQL 5.7.11 apache
PHP 5.6.19 for CLI (Command-Line Interface) php7
------------------------- 學習
按照常規網上操做方法,出錯: spa
apache啓動時報以下錯誤: 3d
httpd.exe: Syntax error on line 184 of D:/wamp/bin/apache/apache2.4.18/conf/httpd.conf: Cannot load D:/wamp/bin/php/php7.3.7/php7apache2_4.dll into server: %1 \xb2\xbb\xca\xc7\xd3\xd0\xd0\xa7\xb5\xc4 Win32 \xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xa1\xa3 server
header('Content-type: text/html;charset=GBK'); htm
echo "\xb2\xbb\xca\xc7\xd3\xd0\xd0\xa7\xb5\xc4 Win32 \xd3\xa6\xd3\xc3\xb3\xcc\xd0\xf2\xa1\xa3"; blog
不是有效的 Win32 應用程序。
問題解決了,由於我下載的php是64位的,雖然個人電腦系統是64位的,可是安裝的wamp是32位的。
從新下載32位php
綠啦!!!
詳細教程:搜索WAMP本地環境升級php7.*
文章來源:外星人來地球
歡迎關注,有問題一塊兒學習歡迎留言、評論