Skip to content

Commit

Permalink
enabling apc
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Belo committed Jan 23, 2012
1 parent 3675825 commit caa713e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,16 @@ Pre-compiling binaries

# php extensions
mkdir /app/php/ext
cp /usr/lib/libmysqlclient.so.15 /app/php/ext
cp /usr/lib/libmysqlclient.so.15 /app/php/ext/

# pear
apt-get install php5-dev php-pear
pear config-set php_dir /app/php
pecl install apc
mkdir /app/php/include/php/ext/apc
cp /usr/lib/php5/20060613/apc.so /app/php/ext/
cp /usr/include/php5/ext/apc/apc_serializer.h /app/php/include/php/ext/apc/


# package
cd /app
Expand Down
2 changes: 2 additions & 0 deletions conf/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,8 @@ default_socket_timeout = 60
;extension=php_xsl.dll
;extension=php_zip.dll

extension=apc.so

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
Expand Down

0 comments on commit caa713e

Please sign in to comment.