By joilson lima
I’m the problem where I’m using the sentora platform, but when I do upload the theme appears The file exceeds the limit Set in the upload_max_filesize in php.ini which is the way to fix it? Sorry English. Brazil
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there!
No problem. What you would want to do is, edit your php.ini file. Typically that would be housed in /etc/php5/php.ini, if not there you can run php -i |grep php.ini to find the loaded configuration file.
Once you have found the correct PHP configuration file, you would want to edit the line that says:
post_max_size upload_max_size
Increase the size of which you would like to utilize, feel free to allow it to be a bit larger than what your file you are having trouble uploading is. You’ll lastly want to save the phi.ini file, after making these changes. Lastly, re-attempt at uploading your file.
Hello Friend! eduardobaena
I installed with this commands but errors occurred
sudo yum -y install mlocate Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile epel/metalink | 11 kB 00:00
Dependencies Resolved
Installing: mlocate x86_64 0.22.2-6.el6 base 86 k
Install 1 Package(s)
Total download size: 86 k Installed size: 279 k Downloading Packages: mlocate-0.22.2-6.el6.x86_64.rpm | 86 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction error: Couldn’t fork %pre(mlocate-0.22.2-6.el6.x86_64): Cannot allocate memory Error in PREIN scriptlet in rpm package mlocate-0.22.2-6.el6.x86_64 error: install: %pre scriptlet failed (2), skipping mlocate-0.22.2-6.el6 Verifying : mlocate-0.22.2-6.el6.x86_64 1/1
Failed: mlocate.x86_64 0:0.22.2-6.el6
Complete! [root@BLOGUY-99painel ~]# sudo updatedb sudo: updatedb: command not found [root@BLOGUY-99painel ~]# locate php.ini -bash: locate: command not found [root@BLOGUY-99painel ~]# Total download size: 86 k Installed size: 279 k -bash: Total: command not found [root@BLOGUY-99painel ~]# Installed size: 279 k -bash: Installed: command not found [root@BLOGUY-99painel ~]# Downloading Packages: -bash: Downloading: command not found mlocate-0.22.2-6.el6.x86_64.rpm | 86 kB 00:00 [root@BLOGUY-99painel ~]# mlocate-0.22.2-6.el6.x86_64.rpm | 86 kB 00:00 Running Transaction Test -bash: 86: command not found -bash: mlocate-0.22.2-6.el6.x86_64.rpm: command not found [root@BLOGUY-99painel ~]# Running rpm_check_debug -bash: Running: command not found [root@BLOGUY-99painel ~]# Running Transaction Test -bash: Running: command not found [root@BLOGUY-99painel ~]# Transaction Test Succeeded -bash: Transaction: command not found [root@BLOGUY-99painel ~]# Running Transaction -bash: Running: command not found [root@BLOGUY-99painel ~]# error: Couldn’t fork %pre(mlocate-0.22.2-6.el6.x86_64): Cannot allocate memory
Error in PREIN scriptlet in rpm package mlocate-0.22.2-6.el6.x86_64 error: install: %pre scriptlet failed (2), skipping mlocate-0.22.2-6.el6 Verifying : mlocate-0.22.2-6.el6.x86_64 1/1
Failed: mlocate.x86_64 0:0.22.2-6.el6 Total download size: 86 k Installed size: 279 k Downloading Packages: mlocate-0.22.2-6.el6.x86_64.rpm | 86 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction error: Couldn’t fork %pre(mlocate-0.22.2-6.el6.x86_64): Cannot allocate memory -bash: syntax error near unexpected token `(’ Error in PREIN scriptlet in rpm package mlocate-0.22.2-6.el6.x86_64 [root@BLOGUY-99painel ~]# Error in PREIN scriptlet in rpm package mlocate-0.22.2-6.el6.x86_64 Verifying : mlocate-0.22.2-6.el6.x86_64 1/1
-bash: Error: command not found [root@BLOGUY-99painel ~]# error: install: %pre scriptlet failed (2), skipping mlocate-0.22.2-6.el6 -bash: syntax error near unexpected token `(’ mlocate.x86_64 0:0.22.2-6.el6 [root@BLOGUY-99painel ~]# Verifying : mlocate-0.22.2-6.el6.x86_64 1/1 -bash: Verifying: command not found [root@BLOGUY-99painel ~]# [root@BLOGUY-99painel ~]# Failed: -bash: Failed:: command not found [root@BLOGUY-99painel ~]# mlocate.x86_64 0:0.22.2-6.el6 -bash: mlocate.x86_64: command not found [root@BLOGUY-99painel ~]# ^C [root@BLOGUY-99painel ~]#
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.