Categories

Meta

Category: Server

Recently, I decided to give IIS another try in preparation for learning the WCF Framework. I also decided to try PHP as well with IIS (7.5 in this case).

Unfortunately, I ran into some issues with installation as I tried to install PHP 5.4 along with IIS. The actual installation and use of PHP worked, however, I couldn’t figure out why PHP was looking in “C:WINDOWS” for my php.ini, rather than the actual directory where I (then) extracted PHP to. I noticed later, when I downgraded to 5.3 since it had an installer available, rather than just a .zip download.

If you are setting up PHP with IIS, manually or via installer, you need to log the HTTPd’s account out of Windows and back in again. The issue mentioned above is PHP is looking for “php.ini” in “C:WINDOWS” which is undesirable. The PHP 5.3 installer edits your Windows PATH environment variable to include “C:PHP” (or wherever you installed PHP). Windows doesn’t associate this change until you logout and log back in again.

If you happen to install it manually, edit your path variable to include your PHP directory. See the screenshot for other details that would be useful.

Anyway, when I finally got the server setup enough to be able to start setting up individual servers on it, I got the MySQL Database all setup and configured in my TS3 server config files…I kept getting the following error:

INFO |DatabaseQuery | | Please make sure you use the supplied ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself CRITICAL|DatabaseQuery | | unable to load database plugin library “libts3db_mysql.so”, halting!

I searched on the Google for answers and found some random and unhelpfulposts from TeamSpeak 3’s Official forums – though, they were slightly helpful, but weren’t specific enough to provide a one-stop solution.

“No problem, right? Just do what he says to do in the next line and you’ll be all setup.” — Nope. For those of you who are sort of new to Linux, like myself, you don’t know what “the old Lenny repository” is that he’s talking about. I tried to find the repository from the Google again, but to no avail, I tried the next best thing: Installing the package via wget and dpkg directly, and, Voila! It worked!

Download one of the following packages (based upon your distribution):