Advanced search  

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

Pages: [1]   Go Down

Author Topic: php.ini issues  (Read 2970 times)

0 Members and 1 Guest are viewing this topic.

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
php.ini issues
« 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?)?
« Last Edit: April 09, 2006, 04:55:45 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: php.ini issues
« Reply #1 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: php.ini issues
« Reply #2 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?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: php.ini issues
« Reply #3 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 :)
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.