Quote:
Originally Posted by Paul M
If you search the code you will see it simply does an ini_get('upload_max_filesize').
|
Yes but how does it read 10MB when php.ini has that value set at 60M.
And php.info doesn't mention upload_max_filesize anywhere.
Is there anything I could change in vbulletin code that could trick it to read a different directive from php.ini for "upload_max_filesize". Like this one for example which shows up fine in php.info:
hhvm.server.upload.upload_max_file_size.
Or just have it not fetch the value from php.ini at all and set it to something to my desire. It is a dedicated server btw.
Btw running this example script in browser also doesn't read the vale:
Code:
http://php.net/manual/en/function.ini-get.php
It returns the value for "display errors" for example but it doesn't for post_max_size.
@RichieBoy67, thanks for your suggestions but I've tried similar things already. htaccess wouldn't work as it is nginx server but I've tried .user.ini file that should allow per folder override but no help. It think it just a bug with hhvm that won't allow fetching some of the ini directives properly while others read fine.