var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
I'm trying to edit PHP.ini to allow for larger file sizes, but i'm sort of confused...
Ok, I log into SSH, and open /etc/php.ini in pico, and edit the Max File Size to 8m.
Now, i'm kind of confused... What do I do now? Do I do ^O?
I did ^O in the screenshot, and I save it to /etc/php.ini, and do I hit ^T now?
I hit ^T and saved it (I think...) but I restarted the server and did phpinfo, and its still 2MB?
I think i'm doing something wrong.
You can do CTRL + X. This will exit and then say "File has changed would you like to save" or something of that sort. Say yes. And then restart httpd.
It gave me a permission denied message. Its my own dedicated server, and i'm logged in under root, is this a common error?
would you not have to stop httpd first because the ini files will be in use?
yes, i think you need to stop the processes currently using the file, modify php.ini, then restart the web server.
You may also want to check that it is actually being saved (and in the right place).
Since you got a permission error go into /etc and type
What are thepermissions set to?
I've modified php.ini while server is running, I just restart it usually. Not sure if thats the safe way to go about it though
You should be able to modify while server is online.
Then just give httpd a restart to propogate the change.
Nevermind, I remember I have 15 minutes per month where I can request the server admins at the datacenter to do anything I want to my server.
Keep us updated
Everything went a-ok, Leave this suff to the paid pros, I guess.
Originally posted by blockcipher
Keep us updated