Category Archives: Web Servers

Force Secondary Name Server to Reload Domain

Ok, the situation is I just updated my primary name server (BIND on Linux.) In most cases with everything configured properly (and assuming you updated the “serial” in your zone configuration,) the change should propagate quickly. But if something goes … Continue reading

Posted in Domain Name Servers, Linux, Server Administration, Web Servers Tagged , , , ,

Subversion security issues – .svn directory has your source code in it

Stop Publishing Your Source! Well, unless you’re working on an Open Source project that is. Many of the developers I have worked with on web based apps use a working copy for development purposes or even for staging servers (as … Continue reading

Posted in Code Snippets, Command Line, Server Administration, Source Control, Subversion, Web Servers Tagged , , , , , , , , , , ,

Find out what process is listening on a particular port on a Linux server

I was recently trying to debug an app that had gone rouge on a server because of a PHP upgrade. It was a web based application listening on a particular port and after the upgrade it just returned 500 server … Continue reading

Posted in Command Line, grep, Server Administration, Web Servers Tagged , , , , , , ,

Find all .htaccess files with a particular php configuration setting

After some testing on a server with a strange setup I needed to find all of the .htaccess files that might contain a particular php configuration directive. The pattern was unique enough that I would have probably just done a … Continue reading

Posted in Command Line, find, grep, Linux, Server Administration, Web Servers Tagged , , , , , ,

List installed packages with yum

How do I find out which packages are already installed with yum. The command you’re looking for is ‘yum list installed’ but you might want to combine it with grep or less because it’s most likely going to be a … Continue reading

Posted in Linux, Server Administration, Web Servers Tagged , , , , ,

Cannot load Zend Extension Manager – it was built with configuration 1.2.0, whereas running engine is API220090626,NTS

After upgrading to PHP 5.3.x I’m receiving an error 12345$ php -v Cannot load Zend Extension Manager     – it was built with configuration 1.2.0,     whereas running engine is API220090626,NTS    … This is because you have … Continue reading

Posted in languages, PHP, Server Administration, Web Servers Tagged , , , , , ,

How do I Tell What Version of Linux I’m Running?

How do I tell which version of Linux is on my server? There are a number of ways, there is a command line tool `lsb_release` used to check the distribution, and version 123456$ lsb_release -a LSB Version:    :core-x.x-ia32:core-x.x-noarch:graphics-x.x-ia32 Distributor … Continue reading

Posted in Linux, Server Administration, Web Servers Tagged , , , , ,

IIS Unexpected Error 0x8ffe2740 When Trying to Start a Website

Something else is listening on the port that IIS is trying to bind to. Port 80 by default. Historically Skype was a common culprit. Stop Skype then you should be able to start IIS and restart Skype. Of course then … Continue reading

Posted in Server Administration, Web Servers Tagged , , ,