php, mysql & Mac OS X Server 10.2

php, mysql & Mac OS X Server 10.2

by Chris U -
Number of replies: 8

What?! You don't want to compile your own php or mysql because *&$&#(!*$@.

Well... your in luck we have precompiled copies ready for you to install. They were taken from entropy and serverlogistics.

download php (tested and compatiable with 10.3)

The module includes support for

download mysql (not tested with 10.3)

Don't forget... now that you have upgraded your php, you want to use an awesome php accelerator... Turck MMCache  Wait... you don't want to compile again?!

download turck mmcache compiled binary smile

Enjoy,
Chris

Average of ratings: Useful (1)
In reply to Chris U

Re: php, mysql & Mac OS X Server 10.2

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Thanks, Chris. I guess you must have missed the page in the documentation about this:

     http://moodle.org/doc/?frame=installamp.html&sub=mac

Serverlogistics is new (to me at least) - thanks for the link.

Average of ratings: Useful (1)
In reply to Chris U

How about Mac OS X 10.3 ?

by Don Hinkelman -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Dear Chris and Martin,

In two weeks I will be upgrading from Mac OS X 10.2 to 10.3 for my Moodle server. From various persons advice, it is recommended that I do a reformat and clean reinstall of the OS ( I will use regular 10.3.2 not the server version). Therefore I presume I will have to install or activate Apache/PHP/MySQL. So my questions are:

1. Which Apache/MySQL/PHP should I install? Liyanage or ServerLogistics?
the SL package has newer versions such as PHP 4.3.4 and Apache 2. Will these new versions create problems? I am presently using a Liyanage version.
2. Does the new Postfix module need any configuration/initialization?

Thanks!
In reply to Don Hinkelman

Re: How about Mac OS X 10.3 ?

by Chris U -

Hi Don,

From 10.2 -> 10.3 - I agree reformat and reinstall the OS. Hrmmm your not going to be using the server edition... I have clocked zero experience outside the server editions of mac os x, so i really don't know. I will also presume you will have to install Apache/PHP/MySQL. I say use ServerLogistics in this case, if it fails you can always reformat and reinstall. I doubt the Postfix module would need reconfiguration, but then again there is only one way to find out. Don't know if this really helped you, but be sure to post the status of your actions and what happens. (I'm really curious as to how it comes out... smile)

Best regards,
Chris

In reply to Chris U

Re: How about Mac OS X 10.3 ?

by Don Hinkelman -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Mac OS X 10.3 Upgrade Report
Today I upgraded my Moodle 1.1.1 server running Mac OS X 10.2.6 using the Upgrade Option first to 10.3 and then to 10.3.2. First, I had to reedit the Apache httpd.conf file which had been overwritten. Here are my notes on editing this file (also attached). Non-japanese oriented sites can ignore my language settings (in blue).

## Here are notes of httpd.conf editing on 2004.2.9, after upgrading to Mac OS X 10.3 and 10.3.2
##
## Uncomment these lines to activate PHP:
## LoadModule php4_module libexec/httpd/libphp4.so
## AddModule mod_php4.c
##
## Change the DirectoryIndex to...
## DirectoryIndex index.php index.html index.htm
##
## Add this line after AddLanguage ja .ja
## AddCharset EUC-JP .euc-jp
##
## Change LanguagePriority to fit your needs... I put "ja" first.
##
## Add this line after languagepriority
## AddDefaultCharset EUC-JP
##
## Add the following two lines after AddType application/x-tar .tgz
## I forgot why but it was in my old version...
## AddType application/x-httpd-php .php
## AddType application/x-httpd-php-source .phps

But after this I noticed another problem. No email messages are coming out of my site. I don't know if this is an old problem or not. Frankly I haven't noticed any messages sent for a long time. Does anyone know how to turn on the automatic sending of messages in OS X 10.3 (ordinary, non-server version)?

Here may be an answer... http://www.roadstead.com/weblog/Tutorials/PostfixEnabler.html
or here ....   http://www.reitter-it-media.de/software/osxpostfix.html
In reply to Don Hinkelman

Re: How about Mac OS X 10.3 ?

by Jay Melton -
Hi Don,

You're waiting for the semester to end, too, I'm guessing. I'll be doing the same thing in a couple of weeks.

I don't know if you have to reformat your hard disk. The clean install method should be fine. I plan to upgrade over my current system (10.2.6) without using the clean install. I've been keeping a log book of additions, modifications, etc. I've made to my system over the past year and a half. That has helped me to keep track of things. Of course I will back everything up before I proceed...

I have been using either the Liyanage files or the ones straight from the sources for AMP with no problems.
In reply to Jay Melton

Re: How about Mac OS X 10.3 ?

by Don Hinkelman -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi Jay,
Yes, the semester here in Hokkaido ends next week. Then I can upgrade to 10.2.3. But I just got some new information on a Mac mailing list. Some webmasters report no problems using upgrade from 10.2 to 10.3 instead of clean install. All settings were preserved--no changes needed to Apache, PHP, or MySQL. They note that going from 10.1 to 10.2 was different, will problems of many sorts. Anyway, I will try the upgrade process and report what happens.

Also Jay, please take a look over at the new course "Moodle for Language Teaching" if that is what you are teaching. Add some topics and comment on others up there already. Its here and will be announced soon...
http://moodle.org/course/view.php?id=31

Don
In reply to Don Hinkelman

Re: How about Mac OS X 10.3 ?

by Jay Melton -
Hi Don,

Thanks for the info on both the upgrade scenario and the new course being set up. Yes, I'm down here in Kumamoto teaching English, so I'll be taking a look at the new course with great interest. I used phpbb for the past year on a Mac in my office (behind a firewall). I'm looking to switch to moodle on a hosted site for the next academic year.

Jay