Quote:
Originally Posted by DementedMindz
Just incase you didnt edit it right ill post how i do it in ssh.
First we need to locate the php.ini file.
locate php.ini
For cPanel the correct file is /usr/local/lib/php.ini. The standard location for most other servers is /etc/php.ini. Go ahead and open the php.ini file.
pico -w /etc/php.ini
or for cPanel
pico -w /usr/local/lib/php.ini
then press control + w and find upload_max_filesize =
set that to say 20M so it would look like this
Code:
upload_max_filesize = 20M
after that is done press control + x and then y to save it.
now simply restart apache to enable.
service httpd restart
|
Thank you so much for your response, ok first things first sorri I didn't mean to suggest you were putting down my hardware, just frustrated, and sheesh you are kind enough to help, second, this is my own business, so my servers right here with me, so I have full acces to how the servers are set up. Ok I have done just exactly as you have shown here opened up a shell window , found my php.ini in the etc/php.ini directory, I used gedit to change the
upload_max_filesize = 25M and simply saved the file, then like you have stated here "services httpd restart" and apache shut down, and restarted no problem. Arrrrggggg using the standard php.info command txt file I check the php aurguments, and low and behold the stupid upload_max_filesize hasn't changed....Did I take my stupid pill or something or am I missing a few bricks here, that should change it right???
Just a question here I have recompiled my php to have gd2 support recompiled my apache in the php as well, and true type font support etc etc.... would that have an effect on the php NOT changing otherwise, maybe Fedora 6 RC3 has a glitch, is that possible, its going to be release on Oct12, otherwise Im at a loss. Dragonhart
Everything works fine otherwise with the mod, and Thanks so much for it its great, just cant get that darn file size to increase.
PS. NOT running cpanel or anything else, these are my machines so I set them up. thanks