15,064
edits
(→PHP 錯誤訊息: 不知道載入哪一個 php.ini 設定檔) |
|||
| Line 39: | Line 39: | ||
== PHP 錯誤訊息 == | == PHP 錯誤訊息 == | ||
=== 不知道載入哪一個 php.ini 設定檔 === | |||
使用 console command | |||
* {{kbd | key = <nowiki>php --ini</nowiki>}} | |||
<pre> | |||
> php --ini | |||
Configuration File (php.ini) Path: C:\Windows | |||
Loaded Configuration File: C:\xampp\php\php.ini | |||
Scan for additional .ini files in: (none) | |||
Additional .ini files parsed: (none) | |||
</pre> | |||
=== 執行PHP時顯示原始碼的錯誤 === | === 執行PHP時顯示原始碼的錯誤 === | ||
* 確認伺服器是否能執行 PHP。驗證: [http://php.net/manual/en/function.phpinfo.php phpinfo]/ [http://www.commandlinefu.com/commands/view/818/phpinfo-from-the-command-line phpinfo from the command line | commandlinefu.com] | * 確認伺服器是否能執行 PHP。驗證: [http://php.net/manual/en/function.phpinfo.php phpinfo]/ [http://www.commandlinefu.com/commands/view/818/phpinfo-from-the-command-line phpinfo from the command line | commandlinefu.com] | ||