Shell access and php.ini
I want to change the remote server php.ini 'upload_max_filesize' setting to higher than 2mb's. Is there a way to do this with SSH/Shell Access?
Thanks,
TM
I want to change the remote server php.ini 'upload_max_filesize' setting to higher than 2mb's. Is there a way to do this with SSH/Shell Access?
Thanks,
TM
s0da posted this at 21:11 — 25th March 2004.
He has: 157 posts
Joined: Mar 2004
yes. use either vi or pico
edit the file: pico -w /path/to/php.ini
save changes: Ctrl+X then enter y
remember to restart apache after editing php.ini
Links:
http://www.u.arizona.edu/local/pico.html
http://www.chem.brown.edu/instructions/vi.html
Mark Hensler posted this at 00:54 — 26th March 2004.
He has: 4,048 posts
Joined: Aug 2000
You need root to do this, btw.
TonyMontana posted this at 20:59 — 26th March 2004.
They have: 218 posts
Joined: Apr 2001
I don't have access to the root so I asked the host to change the setting and the upload facility now works for larger files.
Thanks,
TM
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.