This tutorial explains how to install PHP 5.2.8 on your Apache 2.2.11 HTTP server.
Tags:install php 5.2.8 in windows apache server xp,how to install php 5.2.8 in windows apache server,install php 5.2.8,networknerd007,tech tips,tech tutorials,windows apache server xp
Grab video code:
Transcript
Okay, in this tutorial, I’m going to show you how to install php 5.2.8. If you’ve not downloaded this installer, you need to do so now before proceeding. We’ll start by launching it. Next, accept. We’re going to change this to our Apache directory and create a new folder called php and then we’ll install it in the folder. We’ll go ahead and configure it for Apache 2.2 and then now we need to show where the configuration directory is for Apache which is located right there. Then click next. Next, we want to take and click on that and that will install all these extensions which we will need later and we’ll go ahead and install these as well which basically just a pair and php manual and then we’ll click go ahead and double check. We don’t need that so we’ll click next after that. And then click install. After that, php should be installed. Now, there’s still a problem if we take in, we’re going to open Apache monitor and then we’re going to restart Apache. After it restarts, we’re going to take a look at my computer. C. Apache and then we’re going to go into logs and then we’re going to look at error log. And if you noticed in this area log, there’s quite a few of these extensions here that have a problem. So what we’re going to do to fix that problem is we’re going to minimize this and then we will go to either copy these from this folder or if you downloaded my php Fix which actually will also fix another error that you’ll run into in phpMyAdmin. You can take and just select all of these library files in here. We’ll exclude the read me txt and then I’m taking a copy of these. Then we’re going to go to my computer, the C drive, Windows, and then find your system 32 folder which is right here and then we’re going to just take and paste these in this directory. And it should have added those. Next one you need to go to phpMy—right here on our php folder, we need to open up php.ini. I’m going to add it with a notepad ++ and then we need to go down here to these extensions and we’re looking for some in particular. We’re looking for—we’ll go ahead and close this for a second. Minimize this and we’re going to restart Apache and see which ones still don’t work. And then we’re going to take another look at that error log again by going to logs and error and we scroll down and now you see there’s far less of them. So now that we’ve got this here, our error log open, we’re going to take and adjust this so we can have that off to one side and then we’re going to open up our php.ini file and we’re going to scroll down till we find these and this is one of them and we’re going to put a comma right there or a colon and then we find the next one. We’ll comment it out, this one below it and then – this one here. Now, it’s SQ – external. And then the last one is the SYS base which is right here and comment that out and that should fix those and I don’t know what those modules are for and I have not found out how to fix those yet so we’re going to just close this and close the error log. And then we’re going to restart Apache one more time to double check and we’re going to take another look at this error log. And there we go. It says no errors now. I don’t know what this module is that it’s referring to I don’t know what those are and don’t know what difference it makes so we’ll just skip that but anyways, you should have php 5 installed correctly and now your next step will be of course to install MySQL and phpMyAdmin. And that’s it.
Comments