hello there,
I am new here
also new to linux (CentOS)...
Just built a server and a personal cloud (ownCloud)
Following some optimization steps and hit a snagg... :/
Please see bellow:
(any help?)
[root@localhost ~]# pecl install apcu
downloading apcu-5.1.12.tgz …
Starting to download apcu-5.1.12.tgz (105,890 bytes)
…done: 105,890 bytes
39 source files, building
running: phpize
Configuring for:
PHP Api Version: 20151012
Zend Module Api No: 20151012
Zend Extension Api No: 320151012
Enable internal debugging in APCu [no] : y
building in /var/tmp/pear-build-rootPjEhxK/apcu-5.1.12
running: /var/tmp/apcu/configure --with-php-config=/usr/bin/php-config --enable-apcu-debug=y
checking for grep that handles long lines and -e… /usr/bin/grep
checking for egrep… /usr/bin/grep -E
checking for a sed that does not truncate output… /usr/bin/sed
checking for cc… no
checking for gcc… no
configure: error: in /var/tmp/pear-build-rootPjEhxK/apcu-5.1.12': configure: error: no acceptable C compiler found in $PATH Seeconfig.log’ for more details
ERROR: `/var/tmp/apcu/configure --with-php-config=/usr/bin/php-config --enable-apcu-debug=y’ failed
installing apcu
Re: installing apcu
Don't build it from source. Use packages. If you're using the distro php 5.4.16 then do this
yum install epel-release
yum install php-pecl-apcu.x86_64
If you're using a third party repo to get newer php then you should be able to find an apcu package from them instead.
yum install epel-release
yum install php-pecl-apcu.x86_64
If you're using a third party repo to get newer php then you should be able to find an apcu package from them instead.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: installing apcu
Thank you!
This helped.
Actually realised a lot of setup guides are very generic and you need to do your own research depending on what distro is your environment.
It's educational though.
This helped.
Actually realised a lot of setup guides are very generic and you need to do your own research depending on what distro is your environment.
It's educational though.