2011-06-30 68 views
0

這使我瘋狂!新電腦,不是兩天大的新鮮安裝的OS X 10.6.7。Apache未啓動OSX 10.6.7

我在系統預置檢查>共享> Web共享:在

當我去:http://192.168.1.13/http://192.168.1.13/~gorteks/有消息稱:

Safari can’t open the page 「http://192.168.1.13/~gorteks/」 because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again."

在終端我試着鍵入:$ sudo apachectl configtest

錯誤返回爲:httpd: Syntax error on line 493 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv\n Referenced from: /usr/local/php5/lib/libintl.8.dylib\n Expected in: /usr/lib/libiconv.2.dylib\n

每個人,我都不知道如何解決這個問題,因爲我對所有這些都是如此的贊成。任何人都可以解釋一下這個問題嗎?非常感激!!

DD

回答

-1

我建議你使用MAMP http://www.mamp.info這是一個阿帕奇+ PHP + MySQL的已配置的解決方案。強烈建議使用。

另一方面,它說在httpd.conf文件中存在語法錯誤。它必須在/etc/apache2/httpd.conf之下。你可以發佈該文件的某個地方,然後嘗試修復493行左右的錯誤。

+0

Thankyou,這是輸出:http://www.pastie.org/2143149 – David

+0

我已經加載了MAMP。工作正常,但不知道在哪裏放置我的工作文件,查看我的工作文件等。有人請解釋?謝謝! – David

+0

你可以在MAMP窗口中的Preferences按鈕中選擇它(Apache-> Document root)如果你這麼認爲,請標記爲正確。 –