Oct
15
Troubleshoot Flash PHP Can’t Upload Flv
October 15, 2008 |
If you try to upload Flash flv file using PHP, and the files are not uploaded, you may even have tried to edit php.ini file, and it still doesn’t work. The reason is simple, for most people who use xampp, the php.ini is not in php/php.ini or php/php5.ini. The file is inside apache/php.ini.
The easiest way to locate the right php.ini file is to write an php file with the code: phpinfo();
View the php file from your browser and search to find the word: php.ini. You should get the path now.
Open the php.ini file and search for the word upload_max_filesize and post_max_size, assign them with bigger values. For instance:
upload_max_filesize = 100M
post_max_size = 100M
If you have tried to increase the upload_max_filesize and post_max_size in the php.ini file and it still doesn’t work, don’t give up. The problem could lies somewhere else, it could because of directory permission.
Good luck with your uploading!
Similar Posts
- Use Adsense for Search on WordPress
- PHP cURL XAMPP
- PHP Find Absolute Path
- PHP eval is evil
- Wordpress Mail Localhost
- Backup Export MySQL Database Using PHP
- PHP - Display all jpg Image Infomation
- PHP Random Password Generation
Comments
1 Comment so far



































This is better than ANY forum ’solutions’. I am using xampp and tried to edit every ini file in php directory, and only after reading this post, i realized that it’s inside apache/ folder. Thanks so much for this help!