localhost doesn't work, but machine name does?
| From: | Jeff D. Hamann | Date: | Sun, 23 Mar 2003 02:19:23 +0000 |
| Subject: | localhost doesn't work, but machine name does? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10392@lists.php.net to get a copy of this message | ||
I'm having a little bit of trouble getting a script to get processed by
apache/2.0.44 (win32) PHP/4.3.1
I've got it (it meaning apache/php/mysql) installed and everything seems to
be working fine, but...
when I enter the following url into my browser i simply get the text of the
script.
http://localhost/phpinfo.php
where phpinfo is the following:
<?
phpinfo();
?>
when I enter http://toastman/phpinfo.php
I get the normal phpinfo page. When I enter http://127.0.0.1/phpinfo.php
(fine). and what do i need to add to my httpd.conf to ensure the php page
will be processed when I leave the .php extension off?
I've been running apache 1.3 / php 4.0.1 / mysql 3.x.xx for so long I
figured I should finally upgrade...