Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Installing APC (for File Upload) on a MediaTemple (dv) server

edited November 2010 in Vanilla 2.0 - 2.8
Follow these steps:

SSH into your server. Type each line as it appears followed by the <enter> key unless it's a [ comment ] or a specific instruction (i.e. "press <enter>")

> cd /usr/local/src
> wget http://pecl.php.net/get/APC-3.0.19.tgz
> gunzip -c APC-3.0.19.tgz | tar xf -
> cd APC-3.0.19
> phpize
> ./configure --enable-apc --enable-apc-mmap --with-apxs2=/usr/sbin/apxs --with-php-config=/usr/bin/php-config
> make
> make install
> vi +/extension_dir /etc/php.ini
> [ Scroll to a new line, or wherever you set up your extensions in your php.ini file ]
> i
> press <enter>
> extension=apc.so
> apc.rfc1867=on
> :wq
> service httpd stop
> service httpd start

It should now be up and running. Remember to make sure you have apc.rfc1867 set on in your php.ini file; the addon requires this functionality.

There are newer versions of APC in beta, but 3.0.19 is the most recent stable version.

This method will work with other flavours of Linux but be careful. If you don't know what you're doing, just live without the progress bar.

Comments

Sign In or Register to comment.