سلام دوست عزیز
کانفیگ سرور با نیازهای زیر و انتقال سایت از سرور قبلی به این سرور
سایت اشتراک ویدیو می باشد
تا پایان روز چهارشنبه 22 ام باید منتقل بشه
بطور خلاصه :
و توضیحات کامل :
SERVER REQUIREMENTS
MINIMUM SERVER REQUIREMENTS
- Unix-like OS (Windows is not supported)
- PHP 5.3, 5.4, 5.5
- IonCube Loader 4.6.1 or above
- Mysql 5.0 or above and its support in PHP
- FFmpeg 1.0 or above with libx264, libavfilter and AAC codec (libfaac, libfdk_aac or native ffmpeg aac codec)
- ImageMagick
- cURL and its support in PHP
- Apache + mod_rewrite + (MultiViews option disabled)
- Non-cyrillic domain name
MINIMUM PHP REQUIREMENTS
- Zlib library
- XML extension
- GD2 with true type font (required!)
- Ability to exec PHP from CLI using exec() command
- PHP register_globals off
- PHP magic_quotes_gpc off
- PHP safe_mode off
- PHP file_uploads on
- PHP allow_url_fopen on
RECOMMENDED CONFIGURATION (VERY DESIRED)
- Memcache and its support in PHP
- Nginx (configured with options: --with-http_flv_module --with-http_mp4_module) + Apache (via reverse *****)
- Using eAccelerator or XCache is NOT recommended
NGINX USAGE
We recommend using Nginx as a reverse ***** over Apache. First, Nginx performs much better than Apache. Second, you will not be able to configure pseudo-streaming using Apache. And finally, KVS is integrated with Nginx to protect your content from hotlinking and auto-grabbing.Nginx sample config contains options to protect local video storage directories:
- location ~ /contents/videos/.*\.mp4
- location ~ /contents/videos/.*\.flv
- location ^~ /contents/videos_sources/
The client_max_body_size value should be specified according to your requirements depending on the maximum amount of video files you will upload from the local disk or expect your users to upload.If you are going to allow embed codes for your videos, you should make sure that Nginx does not intercept requests to swf files.
RECOMMENDED PHP OPTIONS
PHP upload_max_filesize 2000M (the maximum allowed size for uploaded files)
PHP post_max_size 2000M (the maximum allowed size for uploaded files)
PHP memory_limit 128M
PHP session.gc_maxlifetime 21600
یا خصوصی پیام بدید
سپاس