PHP Windows installer gets major overhaul

November 3rd, 2006

Entry Filed under: PHP

11 Comments

  • 1. Zach  |  December 15th, 2006 at 1:26 pm

    It seems that if you have IIS installed on your machine it picks it up and runs with it - regardlesss of what you choose for a server… and if you are like myself - that means the installer dies cause IIS just exists but has never been used.

  • 2. David  |  December 15th, 2006 at 1:47 pm

    I decided to test IIS a week or so after writing my original comments. Selecting IIS 4+ ISAPI module fails, but it works if you use IIS 4+ CGI. I updated the tutorial to reflect those findings. I’m surprised it didn’t work that way for you.

  • 3. Sheri  |  March 3rd, 2007 at 5:41 pm

    Hi,

    I tried to configure apache to work with php like the book indicated, however one line keeps causing it not to work. The LoadModule php5_module c:/php/php5apache2_2.dll. If it’s in the file, apache won’t start, if it’s not in the file apache will start. How do you fix this?

  • 4. David  |  March 3rd, 2007 at 6:37 pm

    If you’re using the Windows Installer, you don’t need to add that line to httpd.conf. The Windows Installer does if for you automatically.

  • 5. Sean  |  March 31st, 2007 at 6:50 pm

    Hi David,

    I am having a little bit of trouble with the final step of your instructions in Blog Design Solutions. I have checked my script, but cannot get the PHP to load in my browser. Instead, when I choose http://localhost/, I get Index of / index.php.txt.

    To confirm: I set up an htdocs folder in the C drive as recommended and followed the installation instructions from your site for Apache 2.2 and PHP 5.2.X. When I tested the Apache installation it said: “It Works!”

    I have also re-named the temp files C:/WINDOWS/Temp.

    Too much information? Probably, but I would really appreciate the help.

  • 6. David  |  March 31st, 2007 at 7:41 pm

    See page 23 (Getting Windows to display filename extensions). Save the test file as index.php, not as a .txt file (select “All Files” in “Save as type” when saving in Notepad).

  • 7. Sean  |  April 1st, 2007 at 8:04 am

    Thanks David.

  • 8. Caucus  |  May 13th, 2007 at 9:45 pm

    Hello David

    I love all your books. As sheri mentioned in #3 the setup in the book “Foundation PHP For Dreamweaver 8″ page 67 LoadModule php5_module c:/php5/php5apache2.dll

    When I do this Apache will not start. My guess is maybe that php did not start. How come I cannot get php to start?

    Do you want us to use the new version. I like your idea of making it do what we want.

    What did I miss?

  • 9. Caucus  |  May 14th, 2007 at 12:24 am

    Hello

    OK, I tried the new install changed to the correct .dll and then tried everything you have in both books I have both php books.

    I have Apache running in the http://localhost. I could not get anything else to work

    PHP is a no go. Now you know why one uses a program that works. I am not saying you are right in your choice. But for two days I have tried this and nothing this is depressing.

  • 10. David  |  May 14th, 2007 at 9:05 am

    Hi Caucus,

    One of the first things you should do when reading a book about computing is to read the book’s updates and corrections page. A book represents a fixed moment in time. Sometimes there are mistakes or misprints. Often, there are new developments with the software.

    Both Apache and PHP are “a program that works”. If you look at the updates pages on the friends of ED site, you will find up-to-date information. You’ll also find detailed instructions in the Tutorials section of this site for using the new Windows installer for PHP.

    If you want help, you also need to be more precise in your description of what happens. Saying that “PHP is a no go” tells me nothing, apart from the fact that it doesn’t work. You need to describe what happens. You also need to say which versions you’re using, and which operating system. Vista is different from XP.

    It’s also better to post requests for help in a public forum, such as the one at friends of ED, rather than in an author’s blog. I’m up to my eyeballs in writing a book about Dreamweaver CS3, so don’t get much chance to devote to troubleshooting installation problems. In a public forum, there’s the likelihood that someone else might be able to come to your assistance more quickly.

  • 11. Caucus  |  May 14th, 2007 at 1:50 pm

    Hello Great One

    Looking forward to the new Book

    Sorry about the post It will not happen again. I like your books. Just anxious to get php running. I know php and apache work it just is not working on my machine.

    I will get it working shortly.

Trackback this post


Calendar

November 2006
M T W T F S S
« Sep   Dec »
 12345
6789101112
13141516171819
20212223242526
27282930  

Most Recent Posts