Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: PHP.INI  (Read 4799 times)

0 Members and 1 Guest are viewing this topic.

FIREBOX

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
PHP.INI
« on: December 17, 2005, 10:05:28 pm »

Hi

Error uploading large files to my site error as follows :

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8000 bytes) in /home/sites/include/picmgmt.inc.php on line 196

The Global server memory limit is lower than coppermine needs to process

My host said I can create your own php.ini file inside whatever sub-directory your script is in. You then can determine the exact behaviour for your PHP scripts yourself.


does anyone have a sample php.ini file they can said me

thanks
« Last Edit: December 17, 2005, 10:26:54 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: PHP.INI
« Reply #1 on: December 17, 2005, 10:07:34 pm »

It's just a simple text file. If you want to increase the memory limit just use this

Code: [Select]
memory_limit = 16M
Logged

FIREBOX

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Re: PHP.INI
« Reply #2 on: December 17, 2005, 10:12:08 pm »

stupid question, do I ?

step 1 go into dreamweaver new document

step 2 type memory_limit=16mb

step 3 how to save that document type ?

sorry for stupidity
Logged

Nibbler

  • Guest
Re: PHP.INI
« Reply #3 on: December 17, 2005, 10:13:08 pm »

Use a simple text editor like notepad to create the file. Enter that line and save it as php.ini. Then FTP it to your site as instructed by your host.
Logged

FIREBOX

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
Re: PHP.INI
« Reply #4 on: December 17, 2005, 10:25:33 pm »

thanks for your patients

that worked a treat

i bow down in ore !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.