Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
  • Programming
    • Graphic
    • HTML / PHP / CMS
      • AJAX
      • Apache
        • Install SSL CA Certificate
        • apache, http, www
        • authentification
        • php-apc
      • CSS
      • Drupal
      • Flash video
      • HTML examples
      • PHP
      • WebDAV
      • Webserver UTF-8 encoding
      • framebreaker
      • nginx
    • Java
    • PL / SQL
    • Magento
    • python
    • Asterisk
    • C / C++
    • JavaScript
    • Json
    • Magento
    • OpenOffice / LibreOffice
    • Perl
    • Postfix
    • Regular Expression
    • TLA
    • Tomcat
    • Zenity
    • bash
    • find
    • git
    • ofbiz
    • wildfly
    • xml
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
apt-get install -y php-apc

# configure apc
echo "apc.shm_size=128" >> /etc/php5/conf.d/apc.ini

# configure kernel shm
cat <> /etc/sysctl.conf
kernel.shmall = 134217728
kernel.shmmax = 134217728
EOF
sysctl -p /etc/sysctl.conf

# restart apache
/etc/init.d/apache2 restart

# configure magento to use apc
cp /var/www/app/etc/local.xml.additional  /var/www/app/etc/local.xml.additional.org
diff ./app/etc/local.xml.additional.org ./app/etc/local.xml.additional -Naur
--- ./app/etc/local.xml.additional.org	2011-09-08 11:38:11.000000000 +0200
+++ ./app/etc/local.xml.additional	2011-09-08 11:41:33.000000000 +0200
@@ -35,7 +35,8 @@



-            
+            apc
+            MAGE_





# view APC statistics
gunzip /usr/share/doc/php-apc/apc.php.gz -c > /var/www/apc.php
https://www.example.com/apc.php

# test
/etc/php5/conf.d/apc.ini
#?# apc.ttl=0
#?# apc.mmap_file_mask=/tmp/apc.XXXXXX


# Links
http://magebase.com/magento-tutorials/speeding-up-magento-with-apc-or-memcached/
http://www.squatlabs.com/performance/apc-richtig-konfigurieren
http://www.howtoforge.com/apc-php5-apache2-fedora8
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung