PHP setting for "upload_max_filesize" is too low

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
skeeperloyaltie
Posts: 2
Joined: 24 Mar 2024, 17:17

PHP setting for "upload_max_filesize" is too low

Post by skeeperloyaltie » 03 Apr 2024, 14:51

I am meeting this error every time i try to upload a video for the header carousel How can I fix this.. am running Aimeos as a standalone so its not in nginx or Apache but probably using Apache I'm not sure

I just run
PHP artisan serves on the terminal in my Documents directory and I encounter this error

User avatar
aimeos
Administrator
Posts: 7907
Joined: 01 Jan 1970, 00:00

Re: PHP setting for "upload_max_filesize" is too low

Post by aimeos » 04 Apr 2024, 13:36

The standard PHP settings are too low for uploading your file. Instead of using "artisan serve", you can directly use the PHP binary and add these configuration settings:

Code: Select all

php -S 127.0.0.1:8000 -t public -d post_max_size=50M -d upload_max_filesize=50M
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply