Linux Server Installation
*Install libxml2-dev and zlib per maintainer notes.
*Installing from packages: Load library packages,
apache and php in that order.
*Installing from source: (check for C++, flex and bison.)
*Download Apache 1.3.33 source from Apache.org; unpack as needed.
*as root: From directory containing binary to a directory of choice:
(we selected usr/local/apache)
./configure --prefix=usr/local/apache --enable-module=so
*make
*make install
Download Php 5.0.4 source from php.net. Unpack as necessary.
as root:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-zlib=/usr/include/
make
make install
(from binary directory)
cp php.ini-dist /usr/local/lib/php.ini
HTTP configuration:
Default configuration is ok regards owner, address, and permissions.
Check and alter or add to:
/usr/local/apache/conf/httpd.conf:
Edit:
DirectoryIndex: index.html, index.htm, index.php
LoadModule php5module libexec/libphp5.so
AddModule mod_php5.c
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Test installation:
make a phpinfo.php file in httpd server default directory:
touch /usr/local/apache/htdocs/phpinfo.php
vi phpinfo.php
< ?php
phpinfo();
phpinfo(INFO_MODULES);
?<
chown nobody:nogroup phpinfo
Start Apache:
/usr/local/apache/bin/apachectl start
Open browser to localhost/phpinfo; should see phpinfo page.
It will confirm your php load.
EdLite Install
Install and Administrating Edlite:
You will likely want to unpack the tarball for each
teacher in a separate folder or in their home directory.
Teachers can add all courses and students they
are serving from their admin page. We usually create
a splash page for each teacher, or link to a school
or vendeor index. Eack fs pack is approx 80K unconfigured.
unpack EdLite.tgz:
tar -xzvf /usr/local/apache/htdocs/someteachername/
will make directory 'courses'.
chown nobody:nogroup -R courses