WordPress did not changes in htaccess

Posted in: Newspaper
Post count: 10

Hello, I changed this in .htaccess and in php.ini (I created php.ini in root and in wp-admin) this variables:

php_value max_input_vars 5000
php_value max_execution_time 300
php_value post_max_size 50M
php_value upload_max_filesize 50M

(https://forum.tagdiv.com/system-status-parameters-guide)

But in wordpress I have still this warnings:
max_execution_time
30 – the execution time should be bigger than 60 if you plan to use the demos. To see how you can change this please check our guide here.
max_input_vars
1000 – the max_input_vars should be bigger than 2000, otherwise it can cause incomplete saves in the menu panel in WordPress. To see how you can change this please check our guide here.

So changes was not applied. Why ?

I am sure that i edited .htacess and php.ini and saved it. Also I restarted apache. I Have VPS on contabo and ubuntu 18 Os. post_max_size is alsto default set on 8M and not 50M…

Thank for your answer.

Post count: 10

No answer ?

Post count: 10

Ok now I know what was wrong. My apache ignored .htacces. So if I changed something in htacess the changes were not visible. If you have same problem you need to edit your apache2.conf in etc/apachce2/

Find this:

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>

and change AllowOverride None to All

After that you have to restart your apache. I ubuntu:

sudo service apache2 restart

This may fix your problem

Post count: 21065

Hello @Richardrady!

I’m glad you have managed to solve the issue.
Let me know if you need further assistance.
In the future, please try not to reply multiple times in the topic if possible, this will only delay our response. Replying multiple times will refresh the topic date and move it to the back of the line, we answer from oldest to newest.

Have a nice day!

Post count: 124

I had a similar problem.

I solved it by having a “.user.ini” file in the root folder of the installation. According to phpinfo() everything is working now.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.