Re: --with-sablot
| From: | Matt Dunford | Date: | Thu, 09 Nov 2000 17:50:10 +0000 |
| Subject: | Re: --with-sablot | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-695@lists.php.net to get a copy of this message | ||
your configuration looks fine. What's probably happening is the
--enable-magic-quotes option is conflicting with Sablot somehow.
But there's no need to recompile.
Add this to the top of php scripts that use Sablot functions:
set_magic_quotes_runtime(0);
If that doesn't work, I'll send you my configuration.
On Wed, 8 Nov 2000, Greg Militello wrote:
>Does anyone have detailed instructions for how to use this package?
>
>After two days of work I can't get this to work.
>
>below I have listed my "general" install method. Note: I do not have
>all my commands in here, like cd's etc.
>
>Any clues as to what I am doing wrong?
>
>
>----
>MySQL
>----
>gunzip -dc mysql-3.22.32.tar.gz | tar xvf -
>./configure --prefix=/usr/local/mysql
>make
>make install
>scripts/mysql_install_db
>cd /usr/local/mysql/bin
>./safe_mysqld &
>./mysqladmin -u root password 'T&56jlq'
>
>----
>sablotron
>----
>tar -xzvf sablot_*.tar.gz
>cp expat*.tar.gz <sablotdir>
>cd <sablotdir>
>tar -xzvf Sablot-Expat*.tar.gz
>./configure --with-prefix=/usr/local
>make
>make install
>
>----
>php 4
>-----
>cd /tmp/download
>gunzip -c apache_1.3.12.tar.gz | tar xf -
>cd apache_1.3.12
>./configure --prefix=/usr/local/apache
>cd ..
>
> NOTE: add to etc/sablot/config.m4
>
> PHP_SUBST(SABLOT_SHARED_LIBADD)
> AC_ADD_LIBRARY_WITH_PATH(sablot, $SABLOT_DIR/lib, SABLOT_SHARED_LIBADD)
> +AC_ADD_LIBRARY(xmltok)
> +AC_ADD_LIBRARY(xmlparse)
>
> AC_DEFINE(HAVE_SABLOT,1,[ ])
>
> END NOTE
>
>./buildconf
>./configure --with-mysql=/usr/local/mysql \
>--with-sablot=/usr/local \
>--with-xml \
>--with-apache=../apache_1.3.14 \
>--enable-calendar \
>--enable-track-vars \
>--enable-magic-quotes
>make
>make install
>cp php.ini-dist /usr/local/lib/php.ini
>
>
>
>----
>rsaref
>----
>mkdir rsaref-2.0
>cd rsaref-2.0
>gzip -dc ../rsaref20.tar.Z | tar xvf -
>cp -rp install/unix local
>cd local
>make
>mv rsaref.a librsaref.a
>cd ../..,
>
>
>----
>openssl
>----
>gunzip -dc openssl-0.9.6.tar.gz | tar xvf -
>cd openssl-0.9.6
>./config --prefix=/usr/local/ssl \
>-L
pwd/../rsaref-2.0/local/rsaref -fPIC
>make
>make test
>make install
>
>-----
>modssl
>-----
>gunzip -dc mod_ssl-2.6.4-1.3.12.tar.gz |tar xvf -
>cd mod_ssl-2.6.4-1.3.12
>./configure --with-apache=../apache_1.3.12
>
>-----
>apache
>-----
>
>SSL_BASE=../openssl-0.9.6 \
>RSA_BASE=../rsaref-2.0/local \
>./configure \
>--enable-module=ssl \
>--prefix=/usr/local/apache \
>--enable-shared=ssl \
>--activate-module=src/modules/php4/libphp4.a \
>--enable-module=php4 \
>--htdocsdir=/home/www
>make
>make certificate TYPE=custom
>make install
>
>