I'm creating a server in amazon and I'm having an error that I can not solve.
the image of my error:
For those who do not know the command, it just runs a script for creating tables in the database. I do not understand how a simple routine for creating 50 tables in the database can consume as much resource.
The error occurs when I try to run the command: php artisan migrate I have 50 migrations, but I do not believe the problem is the amount of migrations.
For hours I've been looking for a solution on google, but I can not find. I already tried: memory_limit = 128M in the php.ini file and did not solve the problem
On my local machine everything works perfect. I am using a t2micro (free) machine from amazon aws.