View Single Post
  #3 (permalink)  
Old 25-Sep-2008, 08:21
ab@novell.com
Guest
 
Posts: n/a
Default Re: php upload permissions/settings

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Keep in mind that /etc/php5/cli is not for a web server's version of
PHP.... not sure if that was clear. You should also have
/etc/php5/apache2/php.ini for the web server's version. The 'cli'
version is for the command-line interface version of PHP that you can
run and probably doesn't make much sense on the 'upload' front.

Good luck.





Ecky wrote:
> I found these in /etc/php5/cli/php.ini
>
> ; Whether to allow HTTP file uploads.
> file_uploads = On
>
> ; Temporary directory for HTTP uploaded files (will use system default
> if not
> ; specified).
> upload_tmp_dir = "/tmp"
>
> ; Maximum allowed size for uploaded files.
> upload_max_filesize = 2M
>
>
> So changing the upload limit seems a snip, but I'm sure it was
> something other than file_uploads = On that I had to set before
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI25Bv3s42bA80+9kRAikcAJoCCWiEsOqZhK+EK9LlRp p2N9mZtwCeIYq6
KuJ3E3IfXaU2ltIWmejnYhM=
=zE65
-----END PGP SIGNATURE-----
Reply With Quote