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: the php.ini file change  (Read 4326 times)

0 Members and 1 Guest are viewing this topic.

harvard

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
the php.ini file change
« on: January 09, 2007, 09:51:23 pm »

When I ask my host to change my php.ini, so that i can upload larger files, how should i ask them? like this:
Quote
I need the server-side php.ini file changed from this
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 3.5M | 3.5M
post_max_size | 8M | 8M
==========================
to this:
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 12M | 12M
post_max_size | 12M | 12M
==========================
Will they know what to do?
Also is there a way to make your own php.ini file and put it in the public_html directory to call your own functions?
« Last Edit: January 10, 2007, 09:50:59 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: the php.ini file change
« Reply #1 on: January 10, 2007, 06:55:31 am »

Depends on webserver setup. You'll have to ask your webhost if they will change things or if you're allowed to have a custom php.ini file. As suggested in the FAQ thread, this is not something we could help you with.
Logged

harvard

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: the php.ini file change
« Reply #2 on: January 10, 2007, 03:33:24 pm »

they said I can have a custom php.ini file in the public_html section. but how do I know what tp put in there and how to I change the path?
Logged

Nibbler

  • Guest
Re: the php.ini file change
« Reply #3 on: January 10, 2007, 03:41:04 pm »

Nothing to do with Coppermine. Read the php manual or seek support from your host.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: the php.ini file change
« Reply #4 on: January 10, 2007, 04:35:00 pm »

Logged

harvard

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: the php.ini file change
« Reply #5 on: January 10, 2007, 09:27:46 pm »

ahh, so its the same standard thing for all php.ini files. okay. thanks for that. What about changing the path in the coppermine script so it points to the right path?
Logged

Nibbler

  • Guest
Re: the php.ini file change
« Reply #6 on: January 10, 2007, 09:50:51 pm »

Nothing to change.
Logged

harvard

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: the php.ini file change
« Reply #7 on: January 10, 2007, 10:43:11 pm »

well i successfully created a php.ini file and changed the max upload size from 2M to 10M but when I  look at the phpinfo() (at the bottom under the debug stuff) it still show the file to the php.ini file being somewhere I cant edit (and remains 2M).
but when I execute the phpinfo() command from a file it shows the correct path and the right upload limits. There has to be something I must change within the script right?
Logged

Nibbler

  • Guest
Re: the php.ini file change
« Reply #8 on: January 10, 2007, 10:46:24 pm »

No, Coppermine doesn't read your php.ini so it doesn't care where it is. This is not a Coppermine issue.
Logged

harvard

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: the php.ini file change
« Reply #9 on: January 10, 2007, 10:58:01 pm »

okay, ty. My host said they changed the max file upload size but its not showing up for some reason...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: the php.ini file change
« Reply #10 on: January 10, 2007, 11:00:51 pm »

The webserver might need a restart. As suggested various times already: not a coppermine issue. This means: nothing we could help you with. No advice we could give. The only places you could turn for help are your webhost and the PHP documentation. There's little use in discussing this here.
Logged

harvard

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: the php.ini file change
« Reply #11 on: January 10, 2007, 11:31:31 pm »

okay its fixed. Heres what I think happen in case someone runs into a similar problem. I simply asked my host to raise the upload_max_filesize to 10MB from 2MB. They new what I was talking about and everything and if you have a cool host they will do it for you.

When I Look under the debug mode at the phpinfo() file it still showed me at 2MB I contacted my host once again and they said its a bug in the script. So I reinstalled Coppermine and it then showed at the right max upload limit of 10M.

Hope that helps someone.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.