Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
apache trouble
#1
OK when I had set up my sever in linux ubuntu (apache server so I can program in php) I get this It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

Instead of the basic It works!. When I try to run a script it prompts me to browse it or save it to my desktop. How do I view the code as it normally should be viewed?
Reply
#2
On ubuntu you need to install Apache/PHP/MySQL/phpMyAdmin....
Did you installed all of those or just Apache?
Reply
#3
all of them
Reply
#4
You, Sure?
Try restarting apache

Code:
sudo /etc/init.d/apache2 restart

How are you trying to access the file?
Reply
#5
Im trying to access the file by going to the url and typing in http://localhost/filename.php, just tried it to same thing appeared. I also went there and did what they said https://help.ubuntu.com/community/ApacheMySQLPHP to install lampp
Reply
#6
I had the same error when I first installed apache on ubuntu,
did you run
Code:
sudo a2enmod php5

If not do it and then restart apache again.
Clear your browser cache.
Restart Linux.
Reply
#7
Didn't work
Bump anyone else Sad need help bad.
Reply
#8
OK Problem was fixed and I really don't know how but it is. Lol thanks Master of The Universe Smile
Reply
#9
(11-09-2009, 06:59 AM)Socrates Wrote: OK Problem was fixed and I really don't know how but it is. Lol thanks Master of The Universe Smile

well nothing to thanks for, Big Grin
I had a feeling that the problem will disappear, like I said happend to me and it was the same, I don't know why it works. Big Grin
Reply
#10
Lol same.Tongue
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Having trouble with arrays. `P R O D I G Y™ 8 2,175 12-06-2010, 01:23 AM
Last Post: Chimi

Forum Jump:


Users browsing this thread: 1 Guest(s)