forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: rphMedia on April 09, 2006, 01:07:39 pm

Title: php.ini issues
Post by: rphMedia on April 09, 2006, 01:07:39 pm
Hi, been a while :)

I have a small problem.  To make a long story short, I had a max limit of 8MB for file uploads via the host default php.ini.  I made a simple php.ini file which included the new value and put it in the Coppermine folder.  Now I can't login -- no errors or anything, just won't accept the login any longer - no debug troubleshooting yet, figured that this may be common?  ((And I can get around the login issue by removing the php.ini, so it's not like I'm locked out))

Are there other values that must be included in the php.ini?  I realize it's over-riding the upload_max_filesize value, but are there other values that need to be inserted (because now it thinks they're blank?)?
Title: Re: php.ini issues
Post by: Joachim Müller on April 09, 2006, 01:21:11 pm
This is not related to coppermine at all, but to webserver setup. I suggest googling for similar issues and reading up php.ini configuration details on php.net
Title: Re: php.ini issues
Post by: Sami on April 09, 2006, 01:31:37 pm
rph:did you mean that your new php.ini only have one line and it's memory_limit?
Title: Re: php.ini issues
Post by: rphMedia on April 09, 2006, 01:50:45 pm
.
rph:did you mean that your new php.ini only have one line and it's memory_limit?
 

Well, actually 2 lines, the post_max_size as well (I thought I could just "append" certain lines, obviously not the case).

Instead of trying to figure which line(s) was causing the problem, I just created a full-fledged php.ini file (via phpinfo) and it worked great.  Thanks for trying to help :)