|
Comments for: matt20001228
| Message # 1015456: |
|
Date: 02/13/03 04:40
By: YinD Subject: RE: intalling sablotron This problem is solved successful. I found at http://archive.gingerall.cz/archives/public/sablot2003/msg00083.html ### You can test that by use 1. Apache (httpd-2.0.44.tar.gz) 2. MySQL (mysql-max-3.23.54b-pc-linux-i686.tar.gz) 2. PHP (php-4.3.0.tar.gz) 3. xslt (Sablot-0.97.tar.gz) 4. expat (expat-1.95.5.tar.gz) 5. libxml (libxml2-2.5.1.tar.gz) 6. mm (mm-1.2.2.tar.gz) 7. zlib (zlib-1.1.4.tar.gz) 8. curl (curl-7.10.3.tar.gz) Install Step 1. Install MySQL, xslt, expat, libxml, mm, zlib, curl 2. Install Apache # ./configure --prefix=/usr/local/apache \ --enable-module=most \ --enable-shared=max # make # make install # make clean 3. Install PHP # ./configure --with-mysql=/usr/local/mysql --with-apxs2=/var/www/apache2/bin/apxs --enable-xslt --with-xslt-sablot=/usr/local/sablot --with-dom=/usr/local/libxml --with-zlib --with-expat-dir=/usr/local/expat --with-curl You will get Makefile **** You must edit Makefile by add -lstdc++ at EXTRA_LDFLAGS line. Ex: open up the Makefile and adjust the EXTRA_LDFLAGS line. mine was originally: EXTRA_LDFLAGS = -avoid-version -module -L/opt/lib I changed it to EXTRA_LDFLAGS = -avoid-version -module -L/opt/lib -lstdc++ #make #make install #cp php.ini-dist /usr/local/lib/php.ini 4. Edit httpd.conf -Add this line at Dynamic Shared Object (DSO) Support : LoadModule php4_module modules/libphp4.so *** Don't type LoadModule php4_module modules/libphp4.so ::: this line have two spaces between php4_module with modules/libphp4.so that apache bugs -Add this line at AddType : AddType application/x-httpd-php .php .php3 AddType application/x-httpd-php-source .phps 5. Start or Restart apache2 ::: I hope this info useful to others. |
Previous Message | Next Message |


