TUTOS Homepage / Installation of PHP Version how to install TUTOS / php

In preparation to use TUTOS with PHP you need a apache version that is capable to execute php scripts.
If you already have an apache with php and support for your database you may skip this section.

  1. get apache from www.apache.org
  2. get php from www.php.net
  3. compile and install apache. I use for example the following configure/make statements with apache.
    ./configure \
            --with-layout=Apache \
            --enable-module=most \
            --enable-shared=max \
    make
    make install
    
  4. compile php.
    Include support for your database type(s).
    I use for example the following configure/make statements with apache.
    ./configure \
                --with-apxs=/usr/local/apache/bin/apxs \
    optional: [ --with-pgsql=/usr/lib/pgsql]/ \
    optional: [ --with-oracle=.......... ]\
    optional: [ --with-mysql=........... ]\
                --enable-trans-sid \
    optional: [ --enable-exif]  (support additional document info)\
    optional: [ --with-imap=.............]    (support of mailboxes) \
                --enable-sysvshm=yes \
                --enable-sysvsem=yes 
    make
    make install
    
  5. enable php in your apache. Look at INSTALL in your source PHP directory.
  6. edit [tutosdir]/apache.conf
    Make the line begining with ApJServMount a comment.
  7. update the apache configuration
    Add the following line to /usr/local/apache/conf/httpd.conf Include [tutos installdir]/apache.conf
  8. let TUTOS know about your database and environment
    Edit [tutosdir]/php/config.pinc. (Read all the comments in that file)
    Don't forget to set your timezone (defaultTZ) this is important to get correct dates and a useful automated logout mechanism.
  9. set your timezone
  10. continue in Basics
Back to install page