Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is this I don't even...
#1
I'm trying to use PHP with Apache on my computer. I installed PHP and Apache and didn't get any error messages, but when I try accessing localhost, I still can't view the PHP files as HTML.

What do I do now?
Reply
#2
(10-08-2011, 03:19 PM)roperson Wrote: I still can't view the PHP files as HTML.

So you have PHP and Apache installed on your computer, so your computer is the server, correct?

And how have you been trying to view the files?
Reply
#3
Correct,

When I says "Index of /" I click on a PHP file, and it just shows me the code, nothing else.
Here, try going to http://10.0.0.112/

That's probaly not going work, through.
Reply
#4
Are you trying to open it in an Internet Browser or a text editor or something else? Because I think trying it with an Internet program would work.
Reply
#5
I'm opening it with IE and Firefox. I'm going try Opera and Chrome soon.
Reply
#6
(10-08-2011, 04:44 PM)roperson Wrote: I'm opening it with IE and Firefox. I'm going try Opera and Chrome soon.

Opera stinks, and if IE and Firefox don't work then Chrome isn't likely to.

I'm thinking you didn't get PHP installed right or your settings aren't set up right.
Reply
#7
Err...how does Opera stink if I can make it look like I have A+ in spelling, when I have a F?

Anyway, I downloaded the Legacy release from httpd.apache.org, and when installing PHP, I chose Apache 2.0.x for my server.
lolfail.

I can't test it in Opera or Chrome because their on Ubuntu on the same computer as Windows where Apache is found.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)