Hello!

System:
Debian chroot potato dist-upgraded to Woody
kernel 2.4.18
Memory 393216k
Processor 267.277 MHz
On real debian Woody

On Real server runs also second chrooted debian which works just fine (PHP 4.1.2 ,apache-ssl DSO ) OK that is not the case.

My problem is following. Im trying desperatedly to get work php 4.3.1 on
first chrooted debian. I installed following packs or sources with keys:

mod_ssl-2.8.13-1.3.27# ./configure --with-apache=../apache_1.3.27
First time I also compiled "mm" support in, but just in case disabled it. OK next I compiled apache with following keys:


apache_1.3.27# SSL_BASE=/usr/local/ssl/ ./configure --enable-module=ssl\
--enable-shared=ssl --enable-module=rewrite --enable-shared=rewrite --enable-module=expires --enable-shared=expires \
--enable-module=mime_magic --enable-shared=mime_magic --enable-module=unique_id --enable-shared=unique_id \
--enable-shared=max
and then make and make install. All went just fine.


I have openssl version 0.9.7 installed

Then I added AUTHPG module for apache ( modified Makefile in sourcedir) and make and then executed following

/AuthPG-1.3# /usr/local/apache/bin/apxs -i -a -n auth_pg mod_auth_pg.so

I have Postgres 7.3.2 compiled from source.
Again all went fine and after i modified httpd.conf file and brought server up with apachectl I was able to authenticate myself and view html files.


Next thing was to add libcurl,libxml2 and libxslt to system and later I discovered that bison is also needed, so i apt-get bison ( version 1.35) and compiled from source curl (7.10.3) libxml2(20504) libxslt(10027)

Ok, next thing to do was to compile php support, so i fetched version 4.3.1 from net and started it compile with such keys:
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 \
--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


Ok it compiled, make and make install. Then I modified httpd.conf and added:

LoadModule php4_module        libexec/libphp4.so
AddModule mod_php4.c

<IfModule mod_dir.c>
    DirectoryIndex index.php3 index.php4 index.php index.html
</IfModule>

AddType application/x-httpd-php .php .php3 .php4

I copied php.ini to right location and then tried something like this

$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:

phpinfo()
PHP Version => 4.3.1

System => Linux rks2 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Build Date => Apr 1 2003 12:11:31
Configure Command => './configure' '--enable-track-vars' '--enable-trans-id' '--enable-filepro' '--enable-ftp' '--enable-sockets' '--enable-bcmath' '--enable-yp' '--enable and so on
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/php/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib



and so on .....


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:39:09 2003] [notice] SIGHUP received. Attempting to restart
[Tue Apr 1 12:39:11 2003] [notice] Apache configured -- resuming normal operations
[Tue Apr 1 12:39:11 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Apr 1 12:40:47 2003] [notice] child pid 28537 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:47 2003] [notice] child pid 28536 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:47 2003] [notice] child pid 28535 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:48 2003] [notice] child pid 28566 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:48 2003] [notice] child pid 28539 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:48 2003] [notice] child pid 28538 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:49 2003] [notice] child pid 28578 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:49 2003] [notice] child pid 28573 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:49 2003] [notice] child pid 28572 exit signal Segmentation fault (11)
[Tue Apr 1 12:40:50 2003] [notice] child pid 28579 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:52 2003] [notice] child pid 28587 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:52 2003] [notice] child pid 28586 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:52 2003] [notice] child pid 28581 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:52 2003] [notice] child pid 28580 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:53 2003] [notice] child pid 28593 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:53 2003] [notice] child pid 28592 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:53 2003] [notice] child pid 28591 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:53 2003] [notice] child pid 28590 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:53 2003] [notice] child pid 28589 exit signal Segmentation fault (11)
[Tue Apr 1 12:42:53 2003] [notice] child pid 28588 exit signal Segmentation fault (11)


but with html files works all fine.

I tried also php 4.1.2 without any luck and compiled php with fewer keys like:

./configure --with-pgsql=shared,/path/to/postgres --with-apxs=/path/to/apxs

ANY IDEA


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



Reply via email to