8.04 lamp can't create .htaccess
I'm using 8.04 edubuntu desktop with LAMP installed for running Moodle 1.9, Webmin verifies Apache2 and MySQL are running. I can pull directory listings from my www folder, but believe I need to create a .htaccess file. I am unable to create the file or rename a file with the settings I need to ".htaccess", it simply doesn't like the "."
The error I am getting is:
Notice: Undefined index: dirroot in /var/www/moodle/install.php on line 136
Notice: Undefined index: dirroot in /var/www/moodle/install.php on line 137
Notice: Undefined index: admindirname in /var/www/moodle/install.php on line 139
Warning: require_once(/lib/adminlib.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/moodle/install.php on line 148
Fatal error: require_once() [function.require]: Failed opening required '/lib/adminlib.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/moodle/install.php on line 148
Additionally I've tried:
- chmod 777 on the "lib" directory
- using the instructions in the docs directory to:
- add AcceptPathInfo on to the httpd.conf file
- verify the php.ini were set to:
safe_mode = 0 (necessary)
memory_limit = 40M (varies: minimum 16M, 32M Moodle v1.7, 40M Moodle v1.8, 128M large sites)
session.save_handler = files (unless you are using another handler, e.g. mm)
magic_quotes_gpc = 1 (preferred but not necessary, 0 will be recommended in 2.0)
magic_quotes_runtime = 0 (necessary)
file_uploads = 1
session.auto_start = 0
session.bug_compat_warn = 0
(* I only had to set the bug compat warn - all other settings were correct *)
memory_limit = 40M (varies: minimum 16M, 32M Moodle v1.7, 40M Moodle v1.8, 128M large sites)
session.save_handler = files (unless you are using another handler, e.g. mm)
magic_quotes_gpc = 1 (preferred but not necessary, 0 will be recommended in 2.0)
magic_quotes_runtime = 0 (necessary)
file_uploads = 1
session.auto_start = 0
session.bug_compat_warn = 0
(* I only had to set the bug compat warn - all other settings were correct *)
with the same error occurring.
Thanks in advance,
Ralph