Index: openacs-4/packages/acs-core-docs/www/install-php.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-php.html,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-core-docs/www/install-php.html 18 Jan 2004 17:07:13 -0000 1.1.2.1 @@ -0,0 +1,11 @@ +Install PHP for use in AOLserver

Install PHP for use in AOLserver

By Malte Sussdorff


+ OpenACS docs are written by the named authors, and may be edited + by OpenACS documentation staff. +

To be able to use PHP software with AOLserver (and OpenACS), you have to install PHP with AOLserver support. Get the latest version from www.php.net. For convenience we get version 4.3.4 from a mirror

[root root]# cd /usr/local/src
+[root src]# wget http://de3.php.net/distributions/php-4.3.4.tar.gz
+[root src]# tar xfz php-4.3.4.tar.gz
+[root src]# cd php-4.3.4
+[root php-4.3.4]# cd php-4.3.4
+[root php-4.3.4]#  ./configure --with-aolserver=/usr/local/aolserver/ --with-pgsql=/usr/local/pg74 --without-mysql
+[root php-4.3.4]# make install
+      

Once installed you can enable this by configuring your config file. Make sure your config file supports php (it should have a php section with it). Furthermore add index.php as the last element to your directoryfile directive.

View comments on this page at openacs.org