Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 05-12-2005, 02:04 PM   #1
Registered: May 2004
Location: New York
Distribution: Yoper v2 / Novell Linux Desktop 9
Posts: 71

Rep: Reputation: 15
Ubuntu with apache?


I was following the ubuntu guide site for setting up MySQL / Apache / PHP...but I hit a roadblock.

I installed MySQL, and everything worked. With Apache2, the server was up and the default pages displayed...but PHP doesn't work at all.

I tried to run a simple page with just <?php phpinfo(); ?>, and I got an error when I went to it, saying it could not include .:/usr/share/php:,:/usr/share/php...even with an empty file I got this error :P

What could be wrong? It says "Permission Denied" on the error page as well, so is it folder permissions? If so, what would I have to change?

Old 05-13-2005, 11:43 PM   #2
LQ Newbie
Registered: Oct 2003
Location: Dallas, GA
Distribution: Slackware, Debian
Posts: 25

Rep: Reputation: 15
Have you installed "libapache2-mod-php4" ? If so, check in /etc/apache2/mods-enabled for a link to /etc/apache2/mods-available/php4.load .

If all that's true and it still isn't working, then I'm stumped.

Good luck!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu / Ubuntu + KDE / Kubuntu | Which do you use? BuckRogers01 Ubuntu 60 07-08-2006 01:24 AM
XP doesn't recognize Ubuntu, Ubuntu installed first. MonkeyBusiness Linux - Newbie 9 06-21-2006 04:58 AM
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 08:14 PM
Apache 2.0 on Ubuntu Linux spacy2003 Linux - Software 5 02-04-2005 02:20 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 11:53 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration