Help - Search - Members - Calendar
Full Version: httpd.include help
The Planet Forums > Control Panels > Plesk
genetic
ok im trying to get my server to allow uploads larger then 2mb. ive configured the php.ini file, but that i guess isnt enough.

so basically i have to edit

/home/httpd/vhosts/{domain_name}/conf/httpd.include

and add the lines:
php_admin_value post_max_size 60M
php_admin_value upload_max_filesize 60M

but i dont want to do this for every domain i create, does anyone know where i can add the 2 lines of code so i dont have to do it to each account?
EvolutionCrazy
if you have changed php.ini and restarted httpd that should be enough...

probablt you need also to increase memory limit

http://it2.php.net/manual/en/ini.core.php#...i.post-max-size

QUOTE
post_max_size  integer

   Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize.

   If memory limit is enabled by your configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.