PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل در نصب apc



cyrax
July 2nd, 2010, 10:35
سلام
من که میدونم این بحث رو مطرح میکنم جوابی نمیگیرم اما به هر حال...

موقع نصب 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 هم نمایش نمیده.