2014-04-24 210 views
2

我是Ruby on Rails中的新成員。我成功地在Web Host Manager-VPSserver上成功上傳並運行了我的ROR項目。當我嘗試上傳像7 MB的小尺寸視頻已成功上傳時。在這裏,我的本地主機上我可以成功上傳200 MB的視頻,但我面對的南國VPS服務器上的問題,當我嘗試上載30 MB的視頻文件,瀏覽器給我下面的錯誤:Ruby On Rails: - WHM VPS服務器

The connection was reset The connection to the server was reset while the page was loading. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

我改變WHM的配置VPS(PHP配置編輯器)。

magic_quotes_gpc = Off; register_globals = Off; default_charset = UTF-8; memory_limit = 500M; max_execution_time = 30000; upload_max_filesize = 999M; safe_mode = Off; mysql.connect_timeout = 20; session.use_cookies = On; session.use_trans_sid = Off; session.gc_maxlifetime = 12000000; allow_url_fopen = on;

但我沒有得到任何解決方案。

回答

0

這絕對聽起來像你在你的php配置中的某處出現限制。你應該能夠確定你在apache錯誤日誌中打出的限制。

有了root訪問權限,您可以在命令行(/ usr/local/apache/logs/error_log)中檢查它。如果您只能訪問cPanel,則可以在cPanel的錯誤頁面上查看最新的錯誤。