I'm a new Moodle user. I intend to use it mostly for self-learning quizzes in neurology - believe it or not, Moodle is one of the easiest free ways to do that. Now that I got started, I see great potential for other learning activities for other staff at my hospital (video, images, lessons, repeated testing with new staff, small-group activities, etc).
Then I downloaded the bits and pieces: Apache 2.2.8, PHP 5.5.2, MySQL 5.0.45, and the latest Moodle 1.9, using the .ini files from the WOS package as a model. This was run locally (localhost/moodle) It was sooo slow!!! Every first page load took 10-30 seconds (on a 4 CPU Intel Core 2 Duo 2.6 Ghz, with 4 GB RAM, Seagate 250 GB SATA 7500 rpm hard drive)
After days of tweaking with Apache, PHP and MySQL settings, including installing XCache I was getting desperate. The first load of any page was so slow. I tried re-installing multiple times.
I then wrote a simple PHP script:
echo 'Hello World!';
and put it in the moodle/www catalog. It was just as slow! A "hello world" html page was a little faster. When I reloaded the PHP script, it was lightning fast.
It turns out that the following was the culprit:
I put the whole moodle site on a network share, \\netshare\moodle . When I moved the site to C:\moodle, it was lightning fast!
My lessons learned:
a) Don't put Moodle on a network share
b) Don't guess at solutions - try an actual benchmark of the simplest components of your system. Test your web server with a simple HTML file, a simple PHP file.
c) Installing Moodle isn't that difficult
Now, I would actually _like_ to have Moodle on a network share. This way, any new users can run the whole thing on their own computer, including WAMP and Moodle. Getting it hosted is a little in the future and I have 0$ for this. Do you have any solutions for this?