Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jun 23, 2011 12:07 pm 
Offline
Newbie

Joined: Thu May 26, 2011 12:41 pm
Posts: 2
I'm having a weird problem with php.ini. The goal is to upload files up to 100MB (most are 8 - 25MB) via a PHP script. It works perfectly on shared host and on my local setup. It works perfectly on my linode ONLY if the pics are 2MB or less. Anything larger returns "empty file" which according to the script means it did not write to the upload file.

After editing my php.ini settings in all 3 locations (/etc/php5/apache2/php.ini, /etc/php5/cli/php.ini, and /etc/php5/cgi/php.ini) in terminal with nano, changing post_max_size and upload_max_filesize so that larger files can be uploaded. Everything looks good. I restart apache, reboot the linode, and even shut the linode down and boot back up. When I check info, the settings are default - not the updated settings. I check the file again by opening them in nano and by checking the info.php file, and the settings are correctly saved as I had them when I open in Nano, but the info file says they are default.

What could possibly prevent the info file and the system from reading my updated php.ini files?

Would really appreciate any help.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group