On Wed, 15 Aug 2001 at 08:42, Ronneil Camara wrote:
> How would I configure "upload_max_filesize" since php was installed as
> a module. And btw, it's on freebsd. I installed it from the ports.
AFAIK this is in the php.ini file wherever you put that.
> When I upload a file with a size greater than 800k, it times out.
Together with the upload_max_filesize increase you may want to increase
your timeout so that the system is given a chance.
My /etc/php4/apache/php.ini has (among other lines):
upload_max_filesize = 2M
max_execution_time = 60
the second parameter is in seconds. :)
> Problem is, there is no php.ini.
If you're _sure_ there is no php.ini, you could work on your Apache
configuration. I'm using php4, I don't know about you. I have something
like this in my /etc/apache/httpd.conf:
<Directory /blah/blah>
...
php_value include_path "/usr/lib/php4:/usr/share/pear:."
...
</Directory>
You could probably plug in the upload_max_filesize and max_execution_time
changes here and reload Apache. :)
--> Jijo
--
Federico Sevilla III :: [EMAIL PROTECTED]
Network Administrator :: The Leather Collection, Inc.
GnuPG Key: <http://jijo.leathercollection.ph/jijo.gpg>
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]