[Deskaheh-sysadmin] Sudo help needed: Fix required to php settings + Apache restart

John Milton john at johnmilton.ca
Thu May 26 13:37:49 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi:

As you may have seen we cannot upload media greater than 2 meg to the
hamilton site due to php settings. This is bad since it makes audio
more or less broken (We need to use radio4all for all but the
smallest of audio stuff, and much .pdf won't work either) Could a
sudo please make the changes to

upload_max_filesize

and

post_max_size

in

/usr/local/php.ini

to 15 Meg , and then restart PHP and Apache so that they will take
effect?
- -------- Original Message --------
Subject: Re: File contains no data
Date: Thu, 26 May 2005 16:09:28 -0400
From: dadaIMC Support <support at dadaimc.org>
Reply-To: dadaIMC Discussion <dadaIMC at lists.nothingness.org>
To: dadaIMC Discussion <dadaIMC at lists.nothingness.org>
References: <658FFAEB-9A70-4164-BA18-4CF0C820EF28 at dadaimc.org>
<4295F1C0.8020403 at johnmilton.ca>
<8A637F4A-DC3D-46D6-995B-5B8ACE863492 at dadaimc.org>
<429611C7.9060905 at johnmilton.ca>
<B01E6F0A-C0A0-415A-907E-85E714C6731D at dadaimc.org>
<42961E59.6060302 at johnmilton.ca>

Yep, that'll do it.

If you can edit /usr/local/php.ini, do that and change this to "20M"
or whatever is appropriate.

You'll also notice "post_max_size" is 8M...you _may_ need to change
this to match upload_max_filesize (I'm not sure whether or not it
includes the upload in the post_max_size).

If you can't edit php.ini, try adding it to

dt_master_include (or imc_master_include for < .99) with

ini_set('upload_max_filesize','20M');

(You'll see other similar entries in that file).

Cheers,
spud.

PS: You may need to restart Apache for this to take effect.



On May 26, 2005, at 3:07 PM, John Milton wrote:

 > upload_max_filesize    2M    2M
 >

- -------------------------------------------------------------
a.h.s. boy
support at dadaimc.org
dadaIMC support
http://www.dadaimc.org/
- -------------------------------------------------------------

- -------------
To unsubscribe, send blank email
to dadaIMC-off at lists.dadaimc.org




-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQpYzJLTMhPXcFM5uEQJWrgCg8/USCLWb2ndXgC48NjVnPVRjfu8AoMpE
SVLszCO68KwVLCfC4wixzNuW
=JVdU
-----END PGP SIGNATURE-----



-- 
Peace: John Milton

Email: john at johnmilton.ca
Web: johnmilton.ca

PGP encrypted mail is welcome, my key is here: 
http://www.hwcn.org/~aa492/security.htm



More information about the Deskaheh-sysadmin mailing list