Jump to content

Stuck on installing


dennylin93

Recommended Posts

Hi...here's what I did (also had some challenges)...make sure you get the installers (.msi files). Then they pretty much do the job for you.The one thing I had is getting PHP and MySql to work together. I found out that you need to edit the config file in php - go into the file and look for the bit which mentions extensions and take out the comment thing (/*) so that it recognises it and a few lines up refer the extensions folder to /ext. Then (from memory) you need to take the libmysql.dll file from your mysql folder (...\mysql\bin) and put in into a (new) folder called 'ext' inside the php folder. Then you restart the apache server - it says if there is an error. When I did this first time I found it didn't recognise the dll. I found a place on the mysql with the very very latest files and I got it again. I can't remember the link but I posted it on another site after finding it. Try google for that...I think I downloaded some development version and then just picked out the dll - it's somewhere on mysql's site.Hope that helps. I'm no expert so it might not be 100% as described! good luck

Link to comment
Share on other sites

I've seen a lot of questions on this forum with regard to installing PHP. The above will work fine with the installer, but the installer does not include a lot of the extensions. Every time I have installed PHP, and I've done it several times on various machines, I have always followed the same process and it has always worked just fine. My secret is to .. wait for it .. read the instructions. Software like PHP and MySQL is complex, and we have been spoiled by things like automatic installers. A lot of complex software requires manual installation steps, and it is very helpful (and necessary) to read through the instructions and follow them exactly. I get lazy with wizards where its all clicking the Next button to install something, but if you just follow the instructions in the PHP documentation then you should be fine. It does require reading and understanding, but once you finish you will have a good idea of how PHP is set up and configured, which is necessary to efficiently program. The process takes about 30-60 minutes at a leisurely pace.First you download PHP (the zip package is the one I always download):http://www.php.net/downloads.phpThen you start with the install instructions:http://www.php.net/manual/en/install.general.phpThen you will want to read through the Windows-specific manual installation instructions:http://www.php.net/manual/en/install.windows.manual.phpAnd then finish up with the Apache2-specific instructions:http://www.php.net/manual/en/install.windows.apache2.php

Link to comment
Share on other sites

Why don't use xampp?I saw a thread in this forum that linked to it...It should work fine, without any configuration (at least in the sence to get mysql/php/apache to work together)XAMPP should work fine wit any OS, at least according to the info i've seen.There also WAMP, for windows only,,,XAMPP

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...