No such file or directory when running seeder from CLI |
(01-11-2020, 06:05 AM)MGatner Wrote: Your CLI version of PHP doesn’t necessarily have the same extensions installed. Run php -m and make sure MySQL extension is enabled. Ha! I didn't think about that. The CLI version was not the same version of PHP. Now it work when I call the same version. Thank you! Code: /Applications/MAMP/bin/php/php7.3.8/bin/php spark db:seed BlogSeeder
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
No such file or directory when running seeder from CLI - by includebeer - 01-02-2020, 10:37 AM
RE: No such file or directory when running seeder from CLI - by MGatner - 01-07-2020, 12:16 PM
RE: No such file or directory when running seeder from CLI - by includebeer - 01-07-2020, 12:54 PM
RE: No such file or directory when running seeder from CLI - by MGatner - 01-11-2020, 06:05 AM
RE: No such file or directory when running seeder from CLI - by includebeer - 01-12-2020, 08:08 AM
RE: No such file or directory when running seeder from CLI - by Martin_Salas - 05-14-2020, 04:56 PM
|