作者CHAOS316 (波奇)
看板PHP
標題[請益] PHP Expert Editor 執行問題
時間Tue Dec 23 12:51:43 2008
不好意思我想請問一下
我下載安裝好 appserv後
沒有改任何設定
連上
http://localhost/ 也可顯示網頁
安裝沒問題
可是用PHP Expert Editor 練習範本的程式時
執行後跑出
PHP Path Error!
The probable reasons:
Not installed PHP on your computer.
PHP is installed, but not specified the path to php.exe in Run Options
這是為甚麼呢@@"
用
http://localhost/XXX.php 去連
則是會出現
Parse error: syntax error, unexpected T_STRING in
C:\AppServ\www\XXX.php on line 21
是語法本身錯了嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 134.208.38.125
※ 編輯: CHAOS316 來自: 134.208.38.125 (12/23 13:03)
1F:→ weiyucsie :1. 在PHP Expert Editor的Run Options設定php路徑 12/23 13:26
3F:→ weiyucsie :以上純粹根據內容的訊息回答:p 12/23 13:27
4F:→ CHAOS316 :請問要怎麼改路徑呢? 12/23 13:28
5F:→ CHAOS316 :語法本身我後來要看了好幾次 有抓到錯囧" 12/23 13:28
6F:推 icehorng :把範本丟到www子目錄下就可以了 12/23 13:53
7F:推 icehorng :你把原始檔放上來看看 12/23 13:57