Laravel Exception after page is refresh - OpenSSL extension is required

烈酒焚心 提交于 2019-12-10 10:43:12

问题


I am newbie in Laravel. I am using windows 7. I have downloaded and created a laravel project inside xampp inside htdocs folder.I have uncommented the statement,extension=php_openssl.dll inside php.ini. When I type the http://localhost/laravel/public/ in the browser, it shows the home page. When I refresh the page I get an exception like this.

When I remove the cookies and session variables in the browser settings, it will show the home page for once and if I refresh the page after,it shows the above page again.

NB: I have edited nothing in the project.I just tried to run the project


回答1:


After uncommenting the line in the php.ini file, you must still activate it: left click on the WAMP server icon, then PHP-> PHP extensions and ensure that php_openssl is checked. If not, click it. WAMP will restart and it should be OK.



来源:https://stackoverflow.com/questions/26841430/laravel-exception-after-page-is-refresh-openssl-extension-is-required

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!