Talk:Installing Moodle/Old stuff
Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Installing Moodle/Old stuff.
- 1 Additional requirements
- 2 confused about
- 3 Some things I came across
- 4 Ref:PHP and MySQL
- 5 Structure of moodle directory
- 6 Installing on Netware
- 7 Using a .htaccess file for webserver and PHP settings
- 8 Missing documentation for Multiple Servers Installation
- 9 Missing documentation for pear
- 10 New Installing from Command Line section
- 11 magic_quotes_gpc on Windows
- 12 Installing on FreeBSD 7.0
- 13 Problems with install tutorial for new cpanel - swf cuts out at 12:27...incomplete file?
Should the installation page mention some of the more detailed PHP requirements also, like GD library and the FreeType 2 library on Linux/Unix boxes to be able to look at the dynamic graphs that the logs pages make? Samuli Karevaara 13 January 2006 11:10 (WST)
- Yes, good idea - please contribute :-) Helen Foster 13 January 2006 11:35 (WST)
Please add to the "Requirements" section of the Installation Instructions something such as:
During Installation of Moodle the PHP Memory Limit should be set to 16M. Many commercial hosting providers have this set to 8M only. To find out your PHP Memory Limit use PHP Info. You may have to ask your service provider to increase the PHP Memory Limit before you can complete the installation.
Thanks for your help.
maybe this could be a good place to mention something for BUG 4937 "some SCORM objects contain HTC files which are not automatically supported by APACHE, if you are using APACHE and make use of large numbers of SCORM objects then you may want to add the following MIME Type.... etc.... see here for details: http://moodle.org/bugs/bug.php?op=show&bugid=4937&pos=24 --Dan Marsden 13:57, 8 June 2006 (WST)
1) Reload the grant tables using the mysqladmin program:
#mysqladmin -u root -p reload Enter password: 'requires reload priviledge'
2)And some example command lines for PostgreSQL:
# su - postgres > psql -c "create user moodleuser createdb;" template1 ...
What's the PostgreSQL about?
Dennis German 20:13, 28 January 2008 (CST)
It's another database server you can use with Moodle instead of MySQL. Richard Enison 02:39, 6 August 2008 (CDT)
Some things I came across
First-time user of Moodle, so I'm commenting here rather than editing, just to be on the safe side :-) -- two things have caught my attention:
- "# mysqladmin -u root -p reload" -- this step is unnecessary. The reload command is only for when you fiddle directly with the mysql permission tables, but not needed when you do a GRANT.
- "Remember by default, mysql won't accept moodle data directories created under ROOT" -- not sure what is meant by this sentence? The data directory in question is for storing files, not db data, right?
--Carsten Pedersen 18:14, 27 January 2007 (CST)
Right. I think it means directories created and owned by the root (o/s) user. --Richard Enison 04:28, 23 November 2007 (CST) But you've got a point. I don't know what that has to do with mysql either. --Richard Enison 02:42, 6 August 2008 (CDT)
Ref:PHP and MySQL
Should there be special comment on the use of "--with-mysql" and "--with-mysqli" PHP configure options and outcomes (if any) for Moodle functions?
--pd3244 13:12, 7 August 2007 (CST)
Re: "PHP Extensions and Libraries": Some guidance in how to enable or install those recommendations in the php.ini file would help me, so I imagine it would help others too. I'm in the default php5 php.ini file right now, and it says,
- language for internal character representation.
- mbstring.language = Japanese`
--but I don't know what to do with that to make it what Moodle needs.
Otherwise, smooth sailing so far. :) --Clay Burell 07:01, 28 July 2008 (CDT)
Structure of moodle directory
I'm also new, so I try this way rather than editing directly. The "Structure of moodle directory" lists the directory "doc" which didn't come with the current 1.7.1+ version I downloaded.
Sandra Reitz 04:17, 16 February 2007 (CST)
Installing on Netware
Under system requirements this page indicates that it is possible to install on Netware 6.5. The latest versions of PHP for Netware appear to be 4.2.3 and 5.0.5, while Moodle 1.8 requires 4.3.0 or 5.1.0. This means that Moodle is no longer supported on the Netware platfrom and the documentation should indicate this.
- Looking at http://forge.novell.com/modules/xfcontent/downloads.php/php/GCC%20Built%20Daily%20Releases there appears to be a download for php 5.1 (built in 2006-02, so it's old). I don't have a novell install anymore, so please can you confirm this. --Ken Wilson 06:21, 7 May 2007 (CDT)
Using a .htaccess file for webserver and PHP settings
under the above section are .htaccess settings such as
php_flag magic_quotes_gpc 1
As I correct in saying these would not work if running php as a .cgi? If so, it needs saying.
- Regarding the "Run the Install" job section. At least in Windows installs, you need to edit the config.php-dist file (which has template specs for various file loscations) and insert all the information about your install - root directory, database name and credentials, and data directory location. Then you can run the Install.php job and step through the process.
Missing documentation for Multiple Servers Installation
I think that section 5.5 creating the data directory should mention whether it is possible to define a folder which is located on a remote server.
Is it possible? – I try to do that by mapping a drive on a Windows Server to another server. Will update you on the results.
Also, I agree that the title of the section is misleading: Data directory implies Database. Files Directory or Uploads directory, are better options, to my humble opinion. טל בודק 04:07, 1 June 2008 (CDT)
- I agree with you about the section name change. The Window's complete install packages call this folder by default Moodledata. I would suggest that be in the section name as well. Maybe "Moodledata and uploaded files directories" would help the new user. Old pros will get it right away :)--chris collman 06:13, 11 June 2008 (CDT)
Missing documentation for pear
Pear is included in Moodle /moodle/lib/pear/ but it not called directly.
for e.g. in file /moodle/lib/formslib.php
For this to work either all these pear packages must be installed on server or /moodle/lib/pear/ should be included in php include_path.
Should this be mentioned in documentation or developers might want to upgrade code in a way that will eliminate this problem.
require_once $CFG->libdir.'pear/HTML/QuickForm.php'; (Don't know how good or bad it may be)
New Installing from Command Line section
What's the deal with the Installing Moodle from the Command Line section of this page? It was added August 3, 2008 and doesn't seem to apply to any version of Moodle from 1.8.3 to 1.9.2+. See this post. --Richard Enison 20:22, 13 August 2008 (CDT)
magic_quotes_gpc on Windows
Under the Requirements : Software section it is stated that magic_quotes_gpc should be ON. When I turn it ON under Windows Server 2003 and IIS 6 I encounter the 'apostrophes get slashed' problem like the one described in http://moodle.org/mod/forum/discuss.php?d=102156.
Setting magic_quotes_gpc to off resolves the problem and apostropes don't get slashed. Should Installing Moodle be updated to say that Windows users should set magic_quotes_gpc to off? I don't know what the implications will be for *nix users though.
Additionally, according to http://php.net/magic_quotes, Magic Quotes has been deprecated and removed as of PHP 6 which strengthens my argument for switching magic_quotes_gpc off. Am I correct?
Installing on FreeBSD 7.0
Notes on installing on FreeBSD 7.0-RELEASE-p5.
Problems with install tutorial for new cpanel - swf cuts out at 12:27...incomplete file?
- Thanks, I've removed the link and have have moved the tutorial for the old cpanel to the see also section. --Helen Foster 03:38, 5 February 2009 (CST)