Custom php.ini and rails


#1

So I have a rails site that is a very simple music portal (personal use only:D), and I decided to use PHP to upload the files, because I could not find a good working Rails solution. The problem is the upload_max_filesize is only 7M (I know you have all seen this a million times). I have followed the instructions to create a custom php.ini from the wiki, but I do not really know where to put the files because a rails application uses public as the root directory. So I want to know how to set this up in a rails enviroment so that it will work… Thanks in advance.

+noah


#2

http://svn.techno-weenie.net/projects/plugins/attachment_fu/README

This plugin could help.


#3

That’s funny because we get more messages from people having trouble with PHP uploads and we recommend over and over - ANYTHING but php. So your choice to use php is just kinda crazy.

Try the solution offered above and see if that works for you. If not, let us know and we’ll keep trying.

Wholly - Use promo code WhollyMindless for full 97$ credit. Let me know if you want something else!