CyberPanel Community

Unable to upload more than 2MB in PHP

Wi
Wideerson #1

I’m having a problem when I upload a file more than 2MB, error occurs even though I have configured php version 8.1
I hope you guys can help

cyberpsnel version 2.3

6 replies
MP
Mukesh Patel #2

Login to CyberPanel and go to PHP > Edit PHP Configs > Select PHP 8.1.

After that change the value upload_max_filesize and post_max_size. After that hit the restart PHP button.
Now done.

Wi
Wideerson #3

not working bro

FC
Fernando Checa #5

For some reason cyberpanel uses php 7.4 (in version I’, currently using).
So I had to edit PHP 7.4 limits to be able to upload bigger files to phpmyadmin, regardless of the php version the site has (8.1 in my case)

Wi
Wideerson #7

it seems that in the php config when it is saved and restarted php is not updated

SJ
Shubhi Jain #8

Facing similar issue, is there a fix available for the same?

Sign in to reply