php.ini issues php.ini issues
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

php.ini issues

Started by rphMedia, April 09, 2006, 01:07:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rphMedia

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?)?

Joachim Müller

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

Sami

rph:did you mean that your new php.ini only have one line and it's memory_limit?
‍I don't answer to PM with support question
Please post your issue to related board

rphMedia

.
Quote from: bmossavari 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?

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 :)