0

So I've got my server running Ubuntu with lampp (xampp for linux) running. I want to implement a file upload progress bar, so I am trying to install APC. (Please do not suggest alternative plugins) I tried multiple tutorials, but the way I ended up using is running apt-get install php-apc this worked fine, no errors during installation, but then I tried running this command in php:

apc_fetch($somevar); 

and it ended up failing with:

Fatal error: Call to undefined function apc_fetch() 

In my php.ini file I put apc.rfc1867 = On;. I also tried extension=apc.so, but that results in an internal server error. Other things I tried are:

  • apc.enabled = 1
  • apc.shm_size = 32
  • apc.rfc1867 = 1

None of them worked, hopefully you can help me :)

1 Answer 1

1

You're using lampp and then try to install an ubuntu-provided package on top. This is not going to work. Get rid of the uselessness that is lampp, and stick to using only Ubuntu packages.

2
  • Do you think there is any method apart from that, I mean the lampp setup works perfectly aside from that Commented Jul 13, 2013 at 12:11
  • @Florija Not likely. And you'll have to get rid of it before you deploy anyway. See Why not use a WAMP stack? Commented Jul 13, 2013 at 17:57

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.