FAQ Clarification? FAQ Clarification?
 

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]

Main Menu

FAQ Clarification?

Started by LL84, May 21, 2008, 01:30:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LL84

The part of the troubleshooting thread which reads

QuotePlease keep in mind that HTTP uploads are limited by the restrictions placed upon them in PHP's configuration.

Things to check:

1. max_input_time- 60 seconds is the default time limit for uploading files.

This time limit includes the time it takes for the files to upload, so if you exceed this limit, the file will not even parse, and the browser will not get a response. You can workaround this by trying to upload smaller or fewer files, or you can try uploading over broadband. The best solution, of course, is to increase the time limit to something more in line with your needs.

2. upload_max_filesize - 2MB is the default limit for individual files.

Where and how exactly am I checking these things? PHP configuration, great, but how does one access that, let alone edit it? Thanks.

Fabricio Ferrero

Hi, you could get that information from "PHP info" file.

You have 2 options:

1 – E-mail you Server and ask for the PHP info file. In it you'll find that info.

2 – Open Dreamweaver (or similar), create a blank new PHP file, insert this <?php phpinfo();
        
?>
and save it as test.php . Then, execute from your browser. (http://www.site.com/test.php)

You will see a lot of "tables" with information about your server configuration.

I hope this helps you..

Bye..
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

LL84

This could help. Thanks so much. :)

Joachim Müller

Quote from: fabri on May 21, 2008, 04:06:18 AM
1 – E-mail you Server and ask for the PHP info file. In it you'll find that info.
That's nonsense.

Coppermine has a phpinfo file built in, just go to http://your_site.tld/your_coppermine_folder/phpinfo.php (as suggested in the docs).

Quote from: fabri on May 21, 2008, 04:06:18 AM
2 – Open Dreamweaver (or similar), create a blank new PHP file, insert this <?php phpinfo();
        
?>
and save it as test.php . Then, execute from your browser. (http://www.site.com/test.php)
As suggested in the FAQ... No need to use dreamweaver - notepad.exe will do just fine.




However, this will only display your server settings, but won't allow you to change those settings. You usually can't change those settings when you're webhosted.