Msg#: 3568928 posted 8:28 pm on Feb 7, 2008 (gmt 0)
I've been looking at speeding up my PHP apps for a while now and saw that APC was a good way to go. For example it's stable, it works with php 5.2.5 on IIS (via ISAPI) and it's meant to be pretty fast.
So off I went to download it from the library and install it. Got it up and running and it does what it says on the tin. However, it doesn't work with phpmyadmin. What a pain. What is a PHP developer without their trusty phpmyadmin eh?
So, I then had a look at apc.filters. This looked good, for example, it says that you can enter "A comma-separated list of POSIX extended regular expressions." and this will allow these files not to be cached. Well the simple answer is that it didn't work. There's a problem, see here: [pecl.php.net...] (it's quite an old one, since july 07)
So what am I to do. I'm running on IIS so I can't utilise .htaccess to maybe rewrite the php.ini directive to turn off APC for phpmyadmin directory. I have heard that if you create a file called php.ini in the web site root (so that's D:\Sites\site.tld\wwwroot) it'll override directives set in the global php.ini but I think that's a lie (correct me if I'm wrong).