Jump to content

PHP configuration questions please help


paulusNewbius

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/85690-php-configuration-questions-please-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.