One of the most overlooked things when setting up the FlashVideo module, is preparing your web server to allow for the type of uploads required to make the module run... namely videos! In order for the FlashVideo module to work according to design, some parameters need to be set in your php.ini file or the root .htaccess file. These parameters are as follows...
- post_max_size - The maximum allowed POST size. Must be greater than or equal to Maximum Upload Size.
- upload_max_filesize - The maximum allowed file upload size.
- max_execution_time - The maximum allowed time (in seconds) that a script is allowed to run. Needed for long file conversions.
- max_input_time - The maximum time (in seconds) a script is allowed to parse input data, like POST, GET and file uploads. Needed to keep large uploads from timing out.
The following shows the recommended values for these parameters.
- Recommended Settings for php.ini:
- post_max_size=100M
- upload_max_filesize=100M
- max_execution_time=1000
- max_input_time=1000
If you do not have access to the php.ini file, then you can easily change these settings in the .htaccess file in the root of your Drupal installation. However, with this file, you need to provide these parameters by using the php_value parameter followed by the parameter name and then the actual value.. These parameters can be specified like the following.
- Recommended Settings for .htaccess file:
- php_value post_max_size 100M
- php_value upload_max_filesize 100M
- php_value max_execution_time 1000
- php_value max_input_time 1000
Warning: Please consult your hosting provider or a professional before making the Recommeneded changes. Drupal or the writers of the FlashVideo module will not be held responsible for any malfunctions due to this change. Change these PHP settings at your own risk!
- Step 1: Get FFMPEG
- Step 2: Set up your php.ini file for FlashVideo <-- You are here!
- Step 3: Get the FlashVideo Module
- Step 4: Download a Media Player
- Step 5: Set up a Cron Task
- Step 6: Create a Content Template.
- Step 7: Create your Page!
- Troubleshooting the FlashVideo Module
