Can PHP Configuration limits be increased?

Username : epiz_26709656

Error Message

(please share the FULL error message you see)

Other Information

I am suffering from PHP configuration limits that are set too low to complete the demo content import process of my Wordpress Theme.
Can Server Memory Limit be increased to 256M from 120M and PHP Time Limit be increased from 60 to 180?

Here is the image for your better understanding

Some hostings allow some PHP values from php.ini to be overriden using .htaccess file/PHP code. & some hostings doesn’t allow it.

You can try to put such these code to your .htaccess file:

php_value memory_limit 256M
php_value max_execution_time 180
php_value max_input_time 180

If there is a value that changed, then that hosting allow to change that value.

That code snippet won’t work in this hosting, as I’ve tried that before.

5 Likes

Yeah, this hosting doesn’t allow to override it

May be @Admin can shed some light on it as it can be done by contacting hosting provider.

It’s never possible,
This is shared hosting, and if admin increases it,our servers will slow down

1 Like

The admin’s a fair person. He won’t just increase the limits if on person asks for it. Here’s a quote from the Knowledge Base:

We treat all accounts equally, and will not give people unfair benefits just because they ask for it.

Source: https://support.infinityfree.net/limits/cpu-limit/#how-do-i-increase-my-cpu-allocation

5 Likes

It can also be done by optimizing the import system to make it run faster and with less memory.

That doesn’t mean that they will do it.

3 Likes

here’s a tip

you can change your install script to skip or decrease your wanted limit manually…

i have done it for one of my project

How did you do it?