Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Installing apc in LAMP and WAMP
- -WAMP sucks, no APC binary/dll for windows found anywhere for the newest versions of PHP ie php 5.3. And yes, the APC binary must match exactly the php version duh!
- -LAMP was easy, just get APC from yum install
- Setting up vhosts in LAMP
- -Add vhost usual syntax to httpd.conf
- #This is to keep a link to the orignial localhost if you want to run apc.php for example
- ServerAdmin webmaster@localhost
- DocumentRoot “/var/www/html”
- ServerName localhost
- ErrorLog “logs/localhost-error.log”
- CustomLog “logs/localhost-access.log” common
- DocumentRoot “/home/ubersmith/public/www”
- ServerName ubersmith.raptorcommerce.com
- Options -Indexes
- Order Deny,Allow
- Deny from all
- allow from all
- -Add site name to /etc/hosts for dns resolving.
- -Make sure the directory in the document root in the vhost config is searchable by apache. so chmod 755 it.
Add Comment
Please, Sign In to add comment