Showing posts with label apc. Show all posts
Showing posts with label apc. Show all posts

Friday, September 7, 2012

Install PHPMYADMIN on Debian

1. Download the latest PHPMYADMIN.
2. Put here: /usr/share/phpmyadmin
3. Create phpmyadmin.conf in /etc/apache2/conf.d :
Alias /phpmyadmin /usr/share/phpmyadmin


        Options Indexes FollowSymLinks
        DirectoryIndex index.php

4. /etc/init.d/apache2 restart

Monday, June 18, 2012

Install APC for PHP in CentOS

yum install pcre-devel gcc httpd-devel php-pear
pecl install apc
64bit: restorecon /usr/lib64/php/modules/apc.so
32bit: restorecon /usr/lib/php/modules/apc.so
echo "extension=apc.so" > /etc/php.d/apc.ini
service httpd restart

Solution: Fatal error: Cannot inherit previously-inherited or override constant LEVEL_TOP from interface Swift_Mime_Message in Symfony

There is a bug in APC. You need install the latest version of APC to solve the problem between Swiftmailer and APC: Install the Latest APC on Debian