Huzzah! Something Went Right!

Two things, actually.

I’ve been trying to get my Ubuntu machine set up with Apache, php and MySQL so that I can try to learn them in their ‘native’ environment. So far no lucking fuck. (Oh, that didn’t work…)

I can install them all but I can’t fiddle the .conf files (or whatever) to get them to talk to each other. Apache works fine, but it’s just a basic webserver without bells and whistles if I can’t get the other two to cooperate. It’s not impossible; I just can’t figure out how to change the right lines in the .conf files. There’s no errors if I change the wrong ones, she just don’t work. As is proving to be typical, the examples are dense and obscure, the help doesn’t and doing it exactly doesn’t do anything.

What I have managed to do is to get the same trio working on my Windows 2000 machine. It didn’t at first, and I had the same problems as on Ubuntu. However, while searching for some comprehensive Apache/php/MySQL package for Ubuntu, I found a Windows based setup called WAMP that installs all three and basically configures them all for me. Again, that didn’t work the first time I tried it, but I cleaned up the registry, tried again and again and again and last night, I got my php test script (which basically just calls “‘phpinfo()”) to work.

There are also php and MySQL admin pages which worked fine, including allowing me to create a test database in MySQL.

So then, I installed a php/MySQL dependent wiki program from Sourceforge that I’ve been hoping to get going for a while and, after some more fiddling, that worked too.

TV, last night, was a bust, however because it was an embarrassment of riches with new episodes of good shows in the same time slots, all evening. Very difficult night for me in that regard, ameliorated to some degree by my success with the web server suite.

I will survive.

2 Responses to “Huzzah! Something Went Right!”

  1. rae Says:

    Errors from Apache startup will end up somewhere under /var/log/httpd.

    I’m not sure which version of Apache you’re running - there is a big difference between 1.* and 2.*. If you’re running Apache 2, when you PHP config should be in something like /etc/httpd/conf.d/php.conf (that’s where mine is on tnir, but mind you that’s running the somehwat-long-in-the-tooth Fedora Core 3).

    As for new shows - I’ve been collecting them all. Have watched about half of them. I’ve got a DVD here with a bunch of first episodes on it..

  2. Himself Says:

    Thanks for the tips!

    It’s Apache2, PHP5 and I think, MySQL5.

    Same on Windows too, I think.

Leave a Reply

You must be logged in to post a comment.