Submitted by LeGiangAnh on Mon, 08/24/2015 - 02:06 Pro Licensee
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
Submitted by andreychek on Mon, 08/24/2015 - 09:29 Comment #1
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.
Submitted by LeGiangAnh on Mon, 08/24/2015 - 09:45 Pro Licensee Comment #2
It was changed before I submited the ticket. upload_max_filesize = 500M post_max_size = 500M
Submitted by andreychek on Mon, 08/24/2015 - 10:12 Comment #3
What is the output of this command:
grep post_max_size /home/jplay/etc/php5/php.ini
Submitted by LeGiangAnh on Mon, 08/24/2015 - 10:21 Pro Licensee Comment #4
root@JPlaySite:~# grep post_max_size /home/jplay/etc/php5/php.ini
post_max_size = 500M
root@JPlaySite:~#
Submitted by andreychek on Mon, 08/24/2015 - 10:27 Comment #5
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.
Submitted by LeGiangAnh on Mon, 08/24/2015 - 22:11 Pro Licensee Comment #6
I found it, it is in /etc/php5/apache2/php.ini I don't know why it uses apache2 setting?
Thanks, Giang Anh
Submitted by andreychek on Mon, 08/24/2015 - 22:16 Comment #7
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.
Submitted by LeGiangAnh on Mon, 08/24/2015 - 22:26 Pro Licensee Comment #8
There is only 1 option: FCGId (run as virtual server owner)
Submitted by andreychek on Mon, 08/24/2015 - 22:49 Comment #9
Okay... it is working now though?
Submitted by LeGiangAnh on Tue, 08/25/2015 - 00:03 Pro Licensee Comment #10
Yes, after I edited /etc/php5/apache2/php.ini
Submitted by andreychek on Tue, 08/25/2015 - 00:07 Comment #11
Okay, I suspect it was a cache issue. However, whatever the problem is, I'm glad it's working now!