Loading...
 
Features / Usability

Features / Usability


creating a php.ini file - uploading to file gallery - filesize

posts: 1

Hi

I'm having trouble uploading larger files to the file gallery. I switched my configuration to upload to a directory instead of DB. But now the web host says I need to create a php.ini file in the upload directory and specify upload_max_filesize

However I'm new to php and tiki. Can anyone tell me how to go about creating the php.ini config file?

Any help would be appreciated

posts: 3665 United States

It is just a plain text file.

  1. Create a file named php.ini.
  2. Add the following line to the file:
    Copy to clipboard
    upload_max_filesize = 2M

    This will make the maximum upload size 2MB you can change it to whatever you need.
  3. FTP the php.ini file to your upload directory.


HTH

-Rick
Need more help? Try TikiWiki for Dummies Smarties or read my Tiki Blog or visit my UserPage