enabling apc extension causes major performance drop

basically after reading lots and lots about frameworks i decided to use Yii, for its i18n and security capabilities, and overall advanced look.

i have managed to install it and get it working, and the requiremnents page showed me that memcacache and apc was "fail" (not enabled)

im working on a xp system with xampp only for development, but the final website is going to be on a lamp (linux) server.

enabling memcache does not create any problems.

the problem is as follows, when i enable apc extension in the php.ini file the default "mywebsite" that yii created, the mywebsite starts to load very very slow (7 seconds) on my localhost computer or not at all (every second attempt drops out). Disabling the apc extension makes it load much faster (0.03 secs) but as i heard apc should do the opposite?

i ask for some help fixing this apc issue.

You may want to disable APC on your development computer, since caching can cause headaches in testing stages, and APC is really not an essential extension for Yii.

In case you’d like to stick to it, I recommend you to turn off other extensions one-by-one in order to resolve this (possible) conflict.

Anyway, welcome to the forums!

thank you for the friendly welcome!

thats exactly what i did for now, heres me hoping that this doesn’t occur on the actual production server.

yii is currently the first framework i chose to use, and so far it has not been easy.

also thanks for the reply!!

If it does, then you definitely should contact the hosting provider. Chances are that this won’t happen on live servers.