- 
	
	
		
			
			
				عضو جدید
			
			
			
			
			
			
				
			
			 
			
				
				
				
				
				
			
		 
		
			
				
				
				
					
 مشکل در نصب apc
				
				
						
							
							
						
						
							
						
				
					
						
							سلام
من که میدونم این بحث رو مطرح میکنم جوابی نمیگیرم اما به هر حال...
موقع نصب apc اگر 
pecl uninstall apc
	کد:
	Unable to remove "extension=apc.so" from php.ini
uninstall ok: channel://pecl.php.net/APC-3.0.19
[root@friendfa APC-3.1.3p1]# pecl install apc
downloading APC-3.0.19.tgz ...
Starting to download APC-3.0.19.tgz (115,735 bytes)
......................done: 115,735 bytes
47 source files, building
WARNING: php_bin /usr/local/php5/bin/php appears to have a suffix 5/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
Use apxs to set compile flags (if using APC with Apache)? [yes] :
 این مقدار رو Use apxs to set compile flags (if using APC with Apache)? [yes] : مساوی با Yes یا y قرار بدم این مشکل پیش میاد
Sorry, I was not able to successfully run APXS.  Possible reasons:
	کد:
	1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /tmp/pear-build-root/APC-3.0.19/Yes follows
/tmp/pear/temp/APC/configure: line 3439: /tmp/pear-build-root/APC-3.0.19/Yes: No such file or directory
configure: error: Aborting
ERROR: `/tmp/pear/temp/APC/configure --with-apxs=Yes' failed
 و اگر هیچی وارد نکنم یا گزینه yes یا no وارد کنم مشکل برطرف میشه و apc نصب میشه ما کار نمیکنه و در phpinfo هم نمایش نمیده.
						
					 
					
				 
			 
			
			
				
				
				
					
						ویرایش توسط cyrax : July 2nd, 2010 در ساعت 11:41
					
					
				
				
				
				
				
					 
				
				
					وقتی چشم امیدتان به خدا باشد،هیچ چیز آنقدر عجیب نیست که راست نباشد هیچ چیز آنقدر عجیب نیست که پیش نیاید هیچ چیز آنقدر عجیب نیست که دیر نپاید
				
				
			 
			
			
		 
	 
		
	
 
- 
    
    
    
    
    
        
            تعداد تشکر ها از cyrax به دلیل پست مفید 
        
    
    
         
     
 
		
		- 
		
			
						
						
							July 2nd, 2010 11:35
						
					
					
						
							 # ADS