Support Forums

Full Version: apache trouble
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
On ubuntu you need to install Apache/PHP/MySQL/phpMyAdmin....
Did you installed all of those or just Apache?
all of them
You, Sure?
Try restarting apache

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

How are you trying to access the file?
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
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.
Didn't work
Bump anyone else Sad need help bad.
OK Problem was fixed and I really don't know how but it is. Lol thanks Master of The Universe Smile
(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
Lol same.Tongue