Posted by Jerry Stuckle on 07/02/07 23:35
MikeDub wrote:
> When I run a php file in my browser using an IP address, it renders
> just fine. But when I run the php file using 'localhost', it renders
> the source code. It's as if it does not recognize it as php. There are
> other variables, but I don't want to make a full page post.
>
> In a nutshell:
> (http://192.130.0.230/~username/file.php) works
> (http://localhost/~username/file.php) does not work.
>
> oh.. I'm using a MAMP setup
>
> ~mike (new to this group)
>
I agree this looks like an Apache configuration problem. Try
alt.apache.configuration.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|