Maximum upload size on HHVM instance

On AMIMOTO HHVM self-hosting, SSH access to your server, and change yourself to root:

(These codes will increase it to 32MB)

sudo su -

 

Then edit the file

# vi /opt/local/amimoto.json

Codes will be like this: 

{
"nginx" : { "config" : { "user" : "nginx", "group" : "nginx", "client_max_body_size" : "32M" } },
"php" : { "config" : { "user" : "nginx", "group" : "nginx", "upload_max_filesize" : "32M" } },
"hhvm" : { "enabled" : true },
"run_list" : [ "recipe[amimoto]" ]
}

 

Save changes and run

# sudo /opt/local/provision

 

Then restart hhvm after nginx. 

# service nginx restart 
# service hhvm restart
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk