Glasairmell
New member
- Joined
- Feb 16, 2010
- Messages
- 4
In searching for help on installing APC I found this.
./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/local/bin/php-config is not adding the apc enables to the php-config file for some reason.
Also it is not clear if I have to rebuild php and when to do it.
I also noticed that there are 3 other php configfiles
/usr/local/directadmin/custombuild/configure/suphp/configure.php5
/usr/local/directadmin/custombuild/configure/ap2/configure.php5
/usr/local/directadmin/custombuild/configure/ap1/configure.php5
Does ./configure supposed to amend these too?
I searched the knowledge base however there is no mention of APC. Also I do not have a customapache directory so I created one however not sure why I should put the APC tar in there.
Sure would appreciate some help on exactly what to do to get APC installed.
Thank you!
Code:
yum install autoconf
/usr/local/bin/phpize
./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/local/bin/php-config
make clean
make
make install
./configure --enable-apc --enable-apc-mmap --with-apxs --with-php-config=/usr/local/bin/php-config is not adding the apc enables to the php-config file for some reason.
Also it is not clear if I have to rebuild php and when to do it.
I also noticed that there are 3 other php configfiles
/usr/local/directadmin/custombuild/configure/suphp/configure.php5
/usr/local/directadmin/custombuild/configure/ap2/configure.php5
/usr/local/directadmin/custombuild/configure/ap1/configure.php5
Does ./configure supposed to amend these too?
I searched the knowledge base however there is no mention of APC. Also I do not have a customapache directory so I created one however not sure why I should put the APC tar in there.
Sure would appreciate some help on exactly what to do to get APC installed.
Thank you!
Last edited: