Support the ongoing development of Laravel.io →
Installation Configuration Database

Hello! I'm running a Laravel application on an Ubuntu server with Nginx on a Raspberry Pi. For some reason, we are getting a PDOException when we try to create a new user for the application. I know that the line "extension=pdo_mysql.so" exists in the php.ini file (/etc/php5/cli/php.ini) under the Extensions section. I'm not quite sure how to view a phpinfo() page on the server, as creating a route with a function of phpinfo() gives an HTTPException. Please help me fix this problem!

Last updated 3 years ago.
0

Hey, man try this i hope solve your problem sudo apt-get install php5-mcrypt and after that sudo php5enmod mcrypt

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

alisha alisha Joined 2 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.