Currently I am using APC-3.1.9 stable, you can download the latest version from http://pecl.php.net/package/APC.
1. Installation
Note: Check the corresponding directory after installation and compilation:
Installation successful!
2. Configuration/usr/local/php/etc/php.ini
shift+g to the last line and add
at the endThen copy apc.php in the APC directory to an accessible directory
3. Restart LNMPA
4. Attached: How to install apc under Windows
Download address: http://kromann.info/php5_2-Release_TS/php_apc.dll
There are many reasons for the error, and specific problems need to be analyzed in detail
1. There is a problem using the mmcache module on linux x86-64
2. There is a problem with the PHP compilation and installation process, or after the apache+php installation is completed , PHP has been recompiled and installed, and apache has been recompiled at the same time. This phenomenon will occur. It is recommended to keep httpd.conf and related configuration files, and then reinstall apache+PHP. Pay attention to the order. If you still have this prompt, please Change the php version and reinstall.
3. PHP modules zend_extension and extension conflict
4. Due to the use of APC, this is a common problem with this type of op-code cache optimization software. It is recommended to try the latest version (pecl.php.net/package/APC). Once it appears, you can only restart apache.
5. There are too many files in the /tmp directory, and it will be normal after deleting it
6. The configuration mode is worker, change to prefork
7. ZendOptimizer-3.3.0 conflicts with jdk1.7.0
8. It is caused by some special files accessed by the web. Check the access_log and you can see that the deleted files
are transferred. One problem is that there is a problem with your apache and php. Or there is something wrong with your php.
Try to submit to an empty php file and see if there is anything wrong.
means just write one
in the php file
phpinfo();
?>
$memcache = new Memcache;
$memcache->pconnect("127.0.0.1", 11211);