Help with Moodle on Mac OS X server - PhP issue

I am a server newbie. I am setting up a server on a mac for the primary purpose of running a website for my students to use. I have a hosted site now, but the version of php they offer is not high enough to run moodle. I want to install moodle 2.4 on my mac server (mountain lion) but it needs :PHP 5.3.3, MySQL 5.1.33 or Postgres 8.3. I read that I should not try to update the native php (5.3.13) any thoughts or workarounds? I could install an earlier version of moodle, but it is no longer being supported with updates.

Xserve, OS X Server, php

Posted on Aug 2, 2013 1:43 PM

Reply
2 replies

Aug 3, 2013 7:34 AM in response to LL learner

First off, ensure that local DNS services are working. If DNS is not working, then various services offered by OS X Server can be flaky. Launch Terminal.app and issue the following diagnostic command:


sudo changeip -checkhostname


It's common for folks to skip DNS setup or to reference ISP DNS services, which usually gets them in trouble, and have a much larger project fixing DNS-level errors.


OS X 10.8.4 should have php 5.3.15 and PostgreSQL 9.2.1, the versions of both appear to exceed the Moodle minimum requirements of 5.3.3 and 8.3, respectively. To verify the php version, use the usual "<?php phpinfo() ?>" script. For PostgreSQL, the brute-force command-line version check is "psql --version" command.


Put another way, I'm not sure why you're considering upgrading components — which can be problematic — if you're already running OS X Server 10.8.4 as implied by the footers of your posting.


Have a backup before starting the installation, as mistakes happen and having a backup of the whole disk means a faster recovery and an easier ability to start anew.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Help with Moodle on Mac OS X server - PhP issue

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.