Sander Sokk <[EMAIL PROTECTED]> wrote:

> $php phpinfo.php > index.html
> 
> File phpinfo consists following
> 
> <? phpinfo();?>
> 
> Normally should this produce me html file (phpinfo function output), but
> i get answers without html tags like this:

This is ok. Since PHP 4.3.0 the command line (CLI) version of PHP does
not produce HTML tags in phpinfo() anymore.

> and my second problem was that if I wanted to view any php files from 
> http i ended with following "The Document contains no data" and in 
> apache error log was segfaults:

> [Tue Apr  1 12:40:47 2003] [notice] child pid 28537 exit signal 
> Segmentation fault (11)

That's a problem, of course. You are using a lot of extensions - you
could try with the minimal set, i.e. only

./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/php

Then see if it works and add the other options and extensions afterwards.

> Sources/php4# ./configure --enable-track-vars --enable-filepro 
> --enable-ftp --enable-sockets --enable-bcmath --enable-yp --enable-ctype 
> --enable-wwdx --with-gettext --enable-exif --with-ndbm --with-iconv \

Typo (probably unrelated): --enable-wddx

> --enable-mbstring --with-zlib --with-pcre-regex=/usr --prefix=/usr/php 
> --with-pgsql=shared,/usr/local/pgsql/ --with-curl=shared,/usr/curl
> --with-xml --with-expat-dir=/usr --with-dom=shared,/usr/libxml 
> --with-zlib-dir=/usr --with-mysql=no --with-apxs=/usr/local/apache/bin/apxs

I don't know whether "--with-mysql=no" should work, normally it's
"--without-mysql".

Regards...
                Michael

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to