- 
	
	
		
			
			
				عضو انجمن
			
			
			
			
			
			
				  
 
					    
				 
 
			
				
				
				
					 کمک در نصب FFmpeg و FFmpeg-PHp در سنتوس کمک در نصب FFmpeg و FFmpeg-PHp در سنتوس
					
						
							سلام
 در سنتوس 6 FFmpeg  نصب کردم اما متاسفانه نمی تونم دایرکتوریشو پیدا کنم که ادرس دایرکتوری توی php وارد کنم همچنین موقع کامپایل کردن ffmpeg-PHp با مشکل مواجه میشم پنل هم دایرکت ادمین هست لطفا کسانی که می تونن کمک کنن طبق اموزش https://www.rosehosting.com/blog/ins...h-directadmin/ موقع کامپایل کردن ارور میده و چیزهای که گفته شده هم رفع شده اما متسفانه باز موقع کامپایل کردن ارور میگریم[root@server ffmpeg-php-0.6.0]# make
 /bin/sh /root/ffmpeg-php-0.6.0/libtool --mode=compile cc  -I. -I/root/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.6.0/include -I/root/ffmpeg-php-0.6.0/main -I/root/ffmpeg-php-0.6.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/  -DHAVE_CONFIG_H  -g -O2 -Wall -fno-strict-aliasing   -c /root/ffmpeg-php-0.6.0/ffmpeg-php.c -o ffmpeg-php.lo
 cc -I. -I/root/ffmpeg-php-0.6.0 -DPHP_ATOM_INC -I/root/ffmpeg-php-0.6.0/include -I/root/ffmpeg-php-0.6.0/main -I/root/ffmpeg-php-0.6.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/include/libavcodec/ -I/usr/include/libavformat/ -I/usr/include/libavutil/ -I/usr/include/libswscale/ -I/usr/include/libavfilter/ -I/usr/include/libavdevice/ -DHAVE_CONFIG_H -g -O2 -Wall -fno-strict-aliasing -c /root/ffmpeg-php-0.6.0/ffmpeg-php.c  -fPIC -DPIC -o .libs/ffmpeg-php.o
 In file included from /usr/include/sys/stat.h:107,
 from /usr/local/include/php/main/php_streams.h:28,
 from /usr/local/include/php/main/php.h:398,
 from /root/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
 /usr/include/bits/stat.h:91: error: field ‘st_atim’ has incomplete type
 /usr/include/bits/stat.h:92: error: field ‘st_mtim’ has incomplete type
 /usr/include/bits/stat.h:93: error: field ‘st_ctim’ has incomplete type
 /usr/include/bits/stat.h:152: error: field ‘st_atim’ has incomplete type
 /usr/include/bits/stat.h:153: error: field ‘st_mtim’ has incomplete type
 /usr/include/bits/stat.h:154: error: field ‘st_ctim’ has incomplete type
 In file included from /usr/local/include/php/main/php_streams.h:28,
 from /usr/local/include/php/main/php.h:398,
 from /root/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
 /usr/include/sys/stat.h:367: error: array type has incomplete element type
 /usr/include/sys/stat.h:374: error: array type has incomplete element type
 In file included from /usr/local/include/php/main/php.h:404,
 from /root/ffmpeg-php-0.6.0/ffmpeg-php.c:40:
 /usr/local/include/php/Zend/zend_virtual_cwd.h:220: error: expected specifier-qualifier-list before ‘time_t’
 /usr/local/include/php/Zend/zend_virtual_cwd.h:248: error: expected declaration specifiers or ‘...’ before ‘time_t’
 /root/ffmpeg-php-0.6.0/ffmpeg-php.c: In function ‘zm_startup_ffmpeg’:
 /root/ffmpeg-php-0.6.0/ffmpeg-php.c:94: warning: implicit declaration of function ‘avcodec_init’
 make: *** [ffmpeg-php.lo] Error 1
 [root@server ffmpeg-php-0.6.0]#
 
 
 
 
 
 
				
				
				
					 
				
				
					شرکت بین المللی میهن ارتباط داده پرداز شماره ثبت 1156  شماره ثبت جمهوری آذربایجان 245438762 http://cp.hostgtx.com/
skype id : sniper000man
 
 
 
 
 
 
- 
    
- 
		
			
						
						
							May 5th, 2017 13:51
						
					
					
						
							 # ADS