Page 2 of 2

Re: 2 general Questions. [Sorry about Subject]

Posted: Mon Apr 14, 2008 9:33 pm
by Nullig
php_info();

Nullig

Re: 2 general Questions. [Sorry about Subject]

Posted: Tue Apr 15, 2008 5:31 am
by cosp
values returned by phpinfo differ, i have this in my config.php:

ini_set("memory_limit", "32M");
ini_set("upload_max_filesize", "10M");
ini_set("max_execution_time", "200");
ini_set("max_input_time", "200");
ini_set("post_max_size", "10M");

Re: 2 general Questions. [Sorry about Subject]

Posted: Tue Apr 15, 2008 1:05 pm
by Pierre M.
I'd rather a check on the webserver, say with some forged big static post "upload" independant of CMSms and PHP. That way it would be sure both installs runs on "the same webhost" (at least upload limit).

Pierre M.

Re: 2 general Questions. [Sorry about Subject]

Posted: Tue Apr 15, 2008 2:19 pm
by cosp
sorry, can you please explain it in a little detail?

[EDIT]
is forum appearing as stupid, or have i got problem with my connection/browser?

Re: 2 general Questions. [Sorry about Subject]

Posted: Tue Apr 15, 2008 2:27 pm
by Pierre M.
I mean : try (with wget or similar) to POST or GET a BIG forged request (simulating an upload) to test any webserver upload limit filter.

Pierre M.

Re: 2 general Questions. [Sorry about Subject]

Posted: Tue Apr 22, 2008 7:37 pm
by cosp
i am still getting this: "Could not write:&nbspLAMP_Workshop_2007_-_Introduction_to_Ubuntu.pdf -> /home/cosppk/public_html/uploads/LAMP_Workshop_2007/ Access Denied. Please check your permissions."

Host has 2MB size limit but i have overridden it by using php.ini in every folder, check http://www.cosp.org.pk/phpinfo.php

why am i getting this again?

Re: 2 general Questions. [Sorry about Subject]

Posted: Tue Apr 22, 2008 7:42 pm
by Ted
The web server doesn't have permissions to write to that directory, most likely.  How did you create that directory that it's trying to write to?  Is it properly chmod'ed?

Re: 2 general Questions. [Sorry about Subject]

Posted: Tue Apr 22, 2008 7:44 pm
by cosp
that directory was created by uploads module and is 777