PHP Startup error

nealdxmhost

Verified User
Joined
Jan 1, 2009
Messages
232
Location
Los Angeles CA
Right now I am feeling dumber than a bag of hammers as I have more than likely gone through this before but cannot remember how the heck I fixed nor can I find my notes on the subject. Perhaps someone here can help me out.

Code:
[root@da2 custombuild]# php -v
PHP Warning:  PHP Startup: apc: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP 5.4.39 (cli) (built: Apr 12 2015 14:49:09)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies

What am I doing wrong??

Running Custombuild 2.0 on CENTOS 6 with PHP5.4 CLI

Also open to suggestions as php versions and modes as well as I am wondering which would be most effective across a broad spectrum
 
Please check if the following commands solve the problem:
Code:
/usr/local/bin/pecl uninstall apc
/usr/local/bin/pecl install apc
 
Back
Top