Posts Tagged ‘apache’

Xampp and Skype using port 80 and 443

Monday, April 12th, 2010

Argh. I’ve had this problem at least twice already, but since it’s always so long interval between installing Skype on a new PC and Xampp I always forget this:

Skype uses ports 80 and 443 by default.

That’s why Xampp doesn’t work, Apache won’t start but there is no error message either. Hopefully I will remember this time…

PHP development tools and reference docs

Tuesday, December 8th, 2009

Recently a friend of mine asked which tools and docs I use regularly for web development. Here it goes:

PHP XCache problems and APC

Tuesday, November 10th, 2009

Before I was using eAccelerator as PHP accelerator, but then I read some reviews that XCache is the fastest, so I switched to that. For a few days everything seemed to work ok, but then noticed my VPS was slowing down. I rebooted the thing and everything was ok again. I should have realized the problem was the accelerator right from the start, but somehow I forgot I had installed it. :P Anyways, finally it occured to to try to change the accelerator. I read APC will be embedded in the next PHP releases so I decided to try that one. Here’s memory usage graph of the VPS for the 7 days:

7 day memory usage of VPS - before APC and after

Guess at what point I switched from XCache to APC? Yep, the time when graphs went flat.

Conclusion: XCache sucks and APC rules. :P Disclaimer: I’m not expert in XCache configuration so I just went with defaults. It is very possible that with right tuning XCache could have performed much better. But neither I’m expert in APC configuration, and that worked straight out of the box with default settings, which is always nice.