Welcome Guest, Not a member yet? Register   Sign In
Problems with CI and the PHP APC extension
#1

[eluser]tomgkelly[/eluser]
I have recently been trying to implement a file upload progress app using PHP and AJAX. I got a simple app working outside of CI which required activating the APC extension in PHP. After tweaking things to get it working the way I wanted , I decided to integrate it into a CI app that was waiting for this functionality.

Before attempting the integration, I decided to run my CI app to make sure was still working OK. To my surprise, I got a bunch of 'Constant already defined' errors pointing to the 'config/constants.php' file and these errors were followed by the fatal error 'Class 'Controller' not found in .......'. I then checked several other CI apps and they all had the same errors.

I then went back to my php.ini file and disabled the APC extension, ran my CI apps and they all ran OK. I've enabled and disabled APC several times to confirm that it was the cause of the problem.

I'm running the XAMMPLITE 1.6.6a suite on a Windows machine with the following versions:
Apache 2.2.x
PHP 5.2.5
MySQL ???

I sure would like to resolve this problem ... does anyone have any ideas. I haven't checked this out on my Linux box yet, so I'm not sure whether it's platform specific or not.

Thanks in advance,
Tom Kelly


Messages In This Thread
Problems with CI and the PHP APC extension - by El Forum - 09-19-2008, 03:01 PM
Problems with CI and the PHP APC extension - by El Forum - 09-19-2008, 03:16 PM
Problems with CI and the PHP APC extension - by El Forum - 09-20-2008, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB