LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


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

Rep: Reputation: 15
Ubuntu with apache?


Hey,

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?

Thanks!
 
Old 05-13-2005, 10:43 PM   #2
mlmurray
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!
 
  


Reply



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 12:24 AM
XP doesn't recognize Ubuntu, Ubuntu installed first. MonkeyBusiness Linux - Newbie 9 06-21-2006 03:58 AM
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 07:14 PM
Apache 2.0 on Ubuntu Linux spacy2003 Linux - Software 5 02-04-2005 01:20 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:43 PM.

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