2014-02-08 47 views
0

。看來我無法讓它工作。該config.php文件的文件顯示了一些我一直沒能在別處找到幫助:symfony config.php問題中的主要問題:安裝Wampserver,composer和Symfony後,getHelpHtml()

Major problems 

Major problems have been detected and must be fixed before continuing: 

getHelpHtml() ?> 

Recommendations 

Additionally, toTo enhance your Symfony experience, it’s recommended that you fix the following: 

getHelpHtml() ?> 

hasPhpIniConfigIssue()): ?> 

* getPhpIniConfigPath()): ?> Changes to the php.ini file must be done in "getPhpIniConfigPath() ?>". To change settings, create a "php.ini". 

當繞過配置和準備歡迎頁我得到了一個空白頁面,這一點:

loadClassCache(); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response); 

任何ffedback將受到高度讚賞。我卡住了。

回答

0

以防萬一它可以幫助其他人: 我通過絕對路徑(C:/ wamp/www/Symfony ....)打開config.php文件,而不是使用localhost/Symfony .... 一個新手問題終於解決了。希望它有助於某人。

0

您的Apache服務器不解釋PHP代碼! (檢查你的網頁的HTML代碼在瀏覽器中)

在Arch Linux的按照這些指示https://wiki.archlinux.org/index.php/Apache_HTTP_Server#PHP和編輯/etc/httpd/conf/httpd.conf

LoadModule php5_module modules/libphp5.so 
Include conf/extra/php5_module.conf 


PS:改變mpm避免線程錯誤

#LoadModule mpm_event_module modules/mod_mpm_event.so 
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so