Cannot change PHP configuration

Hi,

Although I changed the value of resource limit in PHP configuration: https://goo.gl/yeq1V5 I doesn't reflect to my virtual server: http://jplay.tv/test.php https://goo.gl/wOS68W

Please help.

Thanks, Giang Anh

Status: 
Active

Comments

Howdy -- I'll do some testing to see if I can reproduce that issue.

In the meantime though, you can always make those changes by editing "/home/jplay/etc/php5/php.ini", and changing the parameters there.

It was changed before I submited the ticket. upload_max_filesize = 500M post_max_size = 500M

What is the output of this command:

grep post_max_size /home/jplay/etc/php5/php.ini

root@JPlaySite:~# grep post_max_size /home/jplay/etc/php5/php.ini
post_max_size = 500M
root@JPlaySite:~#

Okay, the post_max_size is indeed set in /home/jplay/etc/php5/php.ini.

Also, there it isn't set there more than once, which can occasionally cause that issue.

That likely means that one of the other PHP config files has a setting that's overriding your /home/jplay/etc/php5/php.ini file.

I would suggest reviewing the various files located in the /etc/php5/cgi/conf.d/ directory, and see if one of those has a conflicting parameter set in it.

I found it, it is in /etc/php5/apache2/php.ini I don't know why it uses apache2 setting?

Thanks, Giang Anh

According to the phpinfo() output, it wasn't loading that particular config file.

Just to verify though, what PHP Execution Mode is this domain using? You can determine that in Server Configuration -> Website Options.

The only other thing I can think of, is if it's using FCGID, the change may have been made earlier, but the old value may have just been temporarily cached.

There is only 1 option: FCGId (run as virtual server owner)

Okay... it is working now though?

Yes, after I edited /etc/php5/apache2/php.ini

Okay, I suspect it was a cache issue. However, whatever the problem is, I'm glad it's working now!