A bit OT perhaps: Counsel on a newbie to php and MySQL (on Ubuntu!)

Peter N. Spotts pspotts at alum.mit.edu
Sat Jul 16 14:14:15 UTC 2011

Hi folks,

I've decided to learn php and MYSQL for web work, armed with "PHP and
MYSQL for Dummies." But I find that even at that book's very basic
level, the author assumes that once the two are installed, the reader
will know how to activate them and what the directory structures are
supposed to look like.

I've installed PHP, Apache, and MySQL on my laptop, which I figured I'd
use for my training wheels, as per instructions here: 


When I try to start Apache as sudo, I get the following error message: 

apache2: Syntax error on line 227 of /etc/apache2/apache2.conf: Could
not open configuration file /etc/apache2/conf.d/drupal6.conf: No such
file or directory

And yet, when I call up a terminal and cd my way to /etc/apache2/conf.d,
drupal6.conf indeed is present and accounted for.

Is this a permissions issue? Or a not-so-obvious (to a newbie) place
where I mucked up the installation? Any guidance on how to get this up
and running would be appreciated. 

With best regards,


Peter N. Spotts | Science reporter
The Christian Science Monitor
210 Massachusetts Ave., Boston, MA 02115 USA
Office: 617-450-2449 | Office-in-home: 508-520-3139
Email: pspotts at alum.mit.edu | Skype: pspotts 
www.csmonitor.com | www.w1pns.net | Amateur-radio call: W1PNS

"The knack of flying is to throw yourself at the ground and miss." 
            -- Douglas Adams, "A Hitchhiker's Guide to the Galaxy"

"I just bought a 12-pound theropod for Thanksgiving Dinner."
            -- From a paleontology email list

More information about the ubuntu-users mailing list