PHP Intall Failing to find today.php

Hello All,

I searched the forum for previous users with the same problem and found only old posts that didn’t seem to address my issues – just so you don’t waste time wondering if I’ve been some sort of lazy bum.

In a nutshell? The infamous Kevin Yank “today.php” file refuses to be found by my server.

Using Yank’s tutorial, I installed the latest WAMP on my Windows XP machine which gave me the following:

  • Apache 2.2.17
  • PHP 5.3.3
  • MySQL 5.5.8 (32 bit)
  • PHPAdmin 3.2.0.1

http//localhost (launched from the WAMP console) is finding the index.html file, it’s NOT “finding” the today.php file in the same folder (htdocs) (my extensions are turned on, so the file’s not named today.php.txt)

URL used >> http://localhost/today.php

RESULT >> (The requested URL /today.php was not found on this server.)

I went back and scoured the config files that I thought would have been automatically configured by the WAMP install and discovered that they hadn’t been. So I made the following changes in the PHP.ini and httpd.conf files, and it still didn’t work:

doc_root = “C:\wamp\bin\apache\Apache2.2.17\htdocs”

extension_dir = “C:\wamp\bin\php\php5.3.5\ext”

(note that the WAMP install had that line but the slashes were forward - I commented it out with a semicolon)

verified that the semicolon had been removed from in front of

extension=php_mysqli.dll

semicoloned out

;extension=php_mysql.dll

(per Yank’s instructions)

and verified the accuracy of the session save path

session.save_path = “C:\WINDOWS\Temp”

I then opened the Apache httpd.conf file, using Notepad logged in as administrator, to make the following recommended changes:

Added index.php to the end of the DirectoryIndex:

[INDENT]<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>[/INDENT]

Added the following paths (not configured by WAMP’s install)

[INDENT]LoadModule php5_module “C:/wamp/bin/php/php5.3.5/php5apache2_2.dll”
AddType application/x-httpd-php .php
PHPIniDir “C:/wamp/bin/php”[/INDENT]

I cut and paste the paths from the windows address box and changed the slash directions to forward, as directed by Yank.

Why would my server not be able to see today.php?

Please advise. Thank you.

Respectfully,

Kiosa

Did you restart the server between each of these changes?

I restarted it just now and it didn’t work.

The other “symptom” that might be a clue is that Yank’s documentation suggests that when I first launch the wampserver, I should expect a screen displaying the WAMPserver configuration - whereas what I got was just the “It works!” text from the index.html.

Thanks for pitching in, btw, and so quickly. I really appreciate it.

If your using WAMP server by default you don’t need to change anything, all you need to do is stick your files in C:/wamp/www/ and then go to http://localhost. I have been using WAMP server for about 1-2 years and never once have i needed to manually set the server paths except when updating Apache and PHP paths.

Yikes! LOL.

Thank you very much.

:wink:

K

No problem