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.
- get apache from www.apache.org
- get php from www.php.net
- 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
- 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
- enable php in your apache. Look at INSTALL in your source PHP directory.
- edit [tutosdir]/apache.conf
Make the line begining with ApJServMount a comment.
- update the apache configuration
Add the following line to /usr/local/apache/conf/httpd.conf
Include [tutos installdir]/apache.conf
- 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.
- set your timezone
- continue in Basics
Back to install page