Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

APC, Windows and PHP

From speed, to despair...



8:28 pm on Feb 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

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).

Anyone got any suggestions?


7:33 am on Feb 10, 2008 (gmt 0)

5+ Year Member

for the phpmyadmin part, you should give TurboDbAdmin a try. seems like the domain has changed, official site was [turboajax.com...] when i got it...


11:03 am on Feb 10, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Looks good but it doesn't give the functionality I need from PMA such as privileges, users, import/export, designer (which is really nice, good steal from Access), etc...

Featured Threads

Hot Threads This Week

Hot Threads This Month