paulusNewbius Posted January 12, 2008 Share Posted January 12, 2008 Hello, I have some PHP configuration questions I hope someone can help me with. I am web developer who is fairly new but competant developing with PHP, but my problem lies in configuring the server (Linux). I have the requirement to upload large video files of at least 50 Mb, as well as images and other documents such as PDF's. This will be performed by web users from web/PHP forms and AJAX. By running phpinfo() I can see my server has a upload_max_filesize of 2 Mb, so I need to change this. In fact from my google research I see that for a file size limit of around 50 Mb I would need web form / PHP settings similar to this: memory_limit 60M post_max_size 55M upload_max_filesize 50M output_buffering 4096 safe_mode off max_execution_time 1800 max_input_time 1800 My question is simple: how do I change these settings? My web host has said that I have the permissions to change these values but I have no idea where to start. Any advice is greatly appreciated! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted January 12, 2008 Share Posted January 12, 2008 Normally within the php.ini or within a .htaccess file. Ask your host where you can make these changes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.