Hello,
I am using FCKEditor 2.4.2 on a PHP server. I will need to use it to updload videos. Some of them might be large. I can't find any config file to set the maximum allowed file size or doc stating clearly where to change that setting. By what I've read, it seems that FCKEditor uses whatever is in the php.ini for the current site it's run from.
Is that right? I just want to make sure before I ask my hosting service to change my php.ini.
Thnaks!
I am using FCKEditor 2.4.2 on a PHP server. I will need to use it to updload videos. Some of them might be large. I can't find any config file to set the maximum allowed file size or doc stating clearly where to change that setting. By what I've read, it seems that FCKEditor uses whatever is in the php.ini for the current site it's run from.
Is that right? I just want to make sure before I ask my hosting service to change my php.ini.
Thnaks!
Re: Set max upload file size
Alternatively, you can change your .htaccess in the folder to have the same effect. I did this adding the following code:
The directory you should save the .htaccess file is editor/filemanager/connectors/php (if you are using php, if not, change it to what you're using)
This was much easier than contacting the hosting provider for me, granted the server allows for .htaccess
Re: Set max upload file size
I'll contact the host and try the htaccess solution if he won't/can't change the php.ini.
Re: Set max upload file size
It seems the host won't change the php.ini for this site, so I have to do it by .htaccess. The path you mentionned doesn't exist in my FCKEditor installation. I run version 2.4.2. the PHP connector folder is here:
/editor/filemanager/browser/default/connectors
Putting the file there didn't help. I also tried the folowing folders:
The folder containing the fckeditor folder
/domains/studioshake.com/public_html/admin/fckeditor/editor/filemanager/upload/.php
I did a copy/paste of the line you gave me aboe in a file named ".htaccess". Do you have any ideas?
Thanks
Re: Set max upload file size
Another thing to make sure is that the file is saved properly. If you are on windows, you probably have to name the file htaccess.txt and then upload it on the server. Once it is uploaded, go to the server and rename it to .htaccess
If .htaccess is enabled on the server, and you uploaded it correctly but it still doesn't work, then it is possible that the directory where you saved it was wrong. I'm using version 2.6 so I won't be able to test for which directory is right but I'm sure we can figure it out.