php4.3.10 - "make install" problem mit PEAR

Apache, Lighttpd, nginx, Cherokee
Post Reply
chaoskind
Posts: 80
Joined: 2003-05-20 10:47
Contact:
 

php4.3.10 - "make install" problem mit PEAR

Post by chaoskind »

heyho,

ich versuch jetzt seit gestern abend php4.3.10 zu installieren, aber es gelingt mir ned,
hier mal die ausgabe nach "make install"

Code: Select all

chaosproject:/usr/src/php-4.3.10# make install
Installing PHP SAPI module:       apache2handler
/opt/apache2/build/instdso.sh SH_LIBTOOL='/opt/apache2/build/libtool' libphp4.la /opt/apache2/modules
/opt/apache2/build/libtool --mode=install cp libphp4.la /opt/apache2/modules/
cp .libs/libphp4.so /opt/apache2/modules/libphp4.so
cp .libs/libphp4.lai /opt/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /usr/src/php-4.3.10/libs'
chmod 755 /opt/apache2/modules/libphp4.so
[activating module `php4' in /opt/apache2/conf/httpd.conf]
Installing PHP CLI binary:        /opt/php/bin/
Installing PHP CLI man page:      /opt/php/man/man1/
Installing PEAR environment:      /opt/php/lib/php/
[PEAR] Archive_Tar: failed to write /opt/php/lib/php/doc/Archive_Tar/docs/.tmpArchive_Tar.txt
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] PEAR: failed to write /opt/php/lib/php/data/PEAR/.tmppackage.dtd
[PEAR] DB: unable to unpack /usr/src/php-4.3.10/pear/packages/DB-1.6.2.tar
[PEAR] HTTP: unable to unpack /usr/src/php-4.3.10/pear/packages/HTTP-1.2.2.tar
[PEAR] Mail: unable to unpack /usr/src/php-4.3.10/pear/packages/Mail-1.1.3.tar
[PEAR] Net_SMTP: unable to unpack /usr/src/php-4.3.10/pear/packages/Net_SMTP-1.2.6.tar
[PEAR] Net_Socket: unable to unpack /usr/src/php-4.3.10/pear/packages/Net_Socket-1.0.1.tar
[PEAR] XML_Parser: unable to unpack /usr/src/php-4.3.10/pear/packages/XML_Parser-1.0.1.tar
[PEAR] XML_RPC: unable to unpack /usr/src/php-4.3.10/pear/packages/XML_RPC-1.1.0.tar
Installing build environment:     /opt/php/lib/php/build/
Installing header files:          /opt/php/include/php/
Installing helper programs:       /opt/php/bin/
  program: phpize
  program: php-config
  program: phpextdist
das PEAR will nicht ):

meine ./configure sieht folgendermassen aus :

Code: Select all

./configure 
    --prefix=/opt/php 
    --with-apxs2=/opt/apache2/bin/apxs 
    --enable-cli 
    --enable-zend-multibyte 
    --with-bz2 
    --enable-gd-native-ttf 
#    --enable-shared 
    --enable-static 
    --with-pcre-regex 
    --with-xml=/usr 
    --enable-memory-limit 
    --enable-force-cgi-redirect  
    --with-mysql 
    --without-sqlite 
    --with-zlib --enable-sysvshm=Yes 
    --enable-sysvsem=yes --enable-ftp --enable-sockets 
    --with-gd --enable-shmop --with-zip 
    --enable-exif 
    --enable-calender --enable-mcal --with-mcrypt --with-xml 
        --disable-debug 
        --enable-inline-optimization 
        --enable-trans-sid 
        --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-shmop
mhh das make läuft ohne probleme durch, ein php -v funktioniert dann auch aber im apache will kein php script funktionieren, kommt immer nur "zero sized reply"

wenn ich die das verzeichnis aus dieser zeile "[PEAR] PEAR: failed to write /opt/php/lib/php/data/PEAR/.tmppackage.dtd" von hand erstelle, verschwindet diese zeile, aber die anderen bleiben dann trotzdem noch ):

helft mir bitte

mit PHP5.0.3 gibts die gleiche fehlermeldung
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: php4.3.10 - "make install" problem mit PEAR

Post by Joe User »

Ohne Gewähr:

Code: Select all

rm -rf /opt/php
rm -f /opt/apache2/modules/libphp*
#...
./configure 
    --prefix=/opt/php 
    --with-apxs2=/opt/apache2/bin/apxs 
    --enable-zend-multibyte 
    --with-pear 
    --with-bz2 
    --enable-gd-native-ttf 
    --with-xml=/usr 
    --enable-memory-limit 
    --with-mysql 
    --without-sqlite 
    --with-zlib 
    --enable-ftp --enable-sockets 
    --with-gd --enable-shmop --with-zip 
    --enable-exif 
    --enable-calender --enable-mcal --with-mcrypt 
    --disable-debug 
    --enable-inline-optimization 
    --enable-trans-sid 
    --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-shmop
make
make install
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
chaoskind
Posts: 80
Joined: 2003-05-20 10:47
Contact:
 

Re: php4.3.10 - "make install" problem mit PEAR

Post by chaoskind »

habs damit probiert, das gleiche problem weiterhin ..

und mit --without-pear hat er ohne rumzumeckern durchcompiliert und installiert aber beim apache ist dann bei php scripts immernoch "zero sized reply"
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: php4.3.10 - "make install" problem mit PEAR

Post by Joe User »

Pfade bitte selbst anpassen (PHP 5.0.3):

Code: Select all

./configure --prefix=/usr --datadir=/usr/share/php --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include --sysconfdir=/etc --with-_lib=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --with-apxs2=/usr/sbin/apxs --disable-ipv6 --enable-sigchild --enable-magic-quotes --enable-short-tags --with-openssl --with-zlib --enable-bcmath --with-bz2 --enable-calendar --enable-ctype --with-curl --with-curlwrappers --enable-dio --enable-exif --enable-ftp --with-gd --with-jpeg-dir --with-png-dir --with-ttf --with-freetype-dir --with-t1lib --enable-gd-native-ttf --enable-gd-imgstrttf --with-gmp --with-imap --with-imap-ssl --enable-mbstring --with-mcrypt --with-mhash --with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --enable-pcntl --enable-shmop --enable-soap --enable-sockets --without-sqlite --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --with-xmlrpc --with-xsl --with-pear --enable-memory-limit --enable-zend-multibyte && make && make install
Welcher Apache? Config? Logs?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
chaoskind
Posts: 80
Joined: 2003-05-20 10:47
Contact:
 

Re: php4.3.10 - "make install" problem mit PEAR

Post by chaoskind »

also:
apache 2.0.53
php 4.3.10 oder 5.0.3 mit hardened-PHP jeweils
debian linux ... nach captain crunch installationsscript
mit kernel 2.4.18-bf irgendwas da.. (der standartmässig mit installiert wird...)
achja /opt ist ein link auf /home/opt
und das ganze zeugs hat auf nem anderen server von mir (stein alter duron 800 auch mit debian linux) ohne probleme geklappt, allerdings hat der andere server nur 256mb arbeitsspeicher und ich wollt halt alles auf den neuen mit 512 mb umziehen.. und häng halt zurzeit hier ran fest...


httpd.conf :

Code: Select all

ServerRoot "/opt/apache2"


<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>
#LockFile logs/accept.lock
</IfModule>
</IfModule>

<IfModule !mpm_netware.c>
<IfModule !perchild.c>
#ScoreBoardFile logs/apache_runtime_status
</IfModule>
</IfModule>

<IfModule !mpm_netware.c>
PidFile logs/httpd.pid
</IfModule>

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients         150
MaxRequestsPerChild  0
</IfModule>

<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75 
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
</IfModule>

<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild  0
</IfModule>

<IfModule beos.c>
StartThreads               10
MaxClients                 50
MaxRequestsPerThread       10000
</IfModule>    

<IfModule mpm_netware.c>
ThreadStackSize      65536
StartThreads           250
MinSpareThreads         25
MaxSpareThreads        250
MaxThreads            1000
MaxRequestsPerChild      0
MaxMemFree             100
</IfModule>

<IfModule mpmt_os2.c>
StartServers           2
MinSpareThreads        5
MaxSpareThreads       10
MaxRequestsPerChild    0
</IfModule>
#Listen 12.34.56.78:80

Listen 80

LoadModule status_module	modules/mod_status.so
LoadModule access_module	modules/mod_access.so
LoadModule suexec_module	modules/mod_suexec.so
LoadModule userdir_module	modules/mod_userdir.so
LoadModule dir_module		modules/mod_dir.so
LoadModule mime_module		modules/mod_mime.so
LoadModule log_config_module	modules/mod_log_config.so
LoadModule alias_module		modules/mod_alias.so
LoadModule setenvif_module	modules/mod_setenvif.so
LoadModule autoindex_module	modules/mod_autoindex.so
LoadModule php4_module        modules/libphp4.so
#LoadModule php5_module        modules/libphp5.so
ExtendedStatus On


<IfModule !mpm_winnt.c>
<IfModule !mpm_netware.c>

User nobody
Group #-1
</IfModule>
</IfModule>

ServerAdmin admin@chaosproject.net
ServerName www.chaosproject.net

UseCanonicalName Off
DocumentRoot "/opt/apache2/htdocs"

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory "/opt/apache2/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

UserDir public_html
#<Directory /home/*/public_html>
#    AllowOverride FileInfo AuthConfig Limit Indexes
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#    <Limit GET POST OPTIONS PROPFIND>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <LimitExcept GET POST OPTIONS PROPFIND>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>
#</Directory>

DirectoryIndex index.html index.html.var
AccessFileName .htaccess

<Files ~ "^.ht">
    Order allow,deny
    Deny from all
</Files>

TypesConfig conf/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
</IfModule>

HostnameLookups Off
#EnableMMAP off
#EnableSendfile off
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
# You need to enable mod_logio.c to use %I and %O
#LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
CustomLog logs/access_log common
#CustomLog logs/referer_log referer
#CustomLog logs/agent_log agent
#CustomLog logs/access_log combined

ServerTokens Full
ServerSignature On

Alias /icons/ "/opt/apache2/icons/"

<Directory "/opt/apache2/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "/opt/apache2/manual$1"

<Directory "/opt/apache2/manual">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all

    <Files *.html>
        SetHandler type-map
    </Files>

    SetEnvIf Request_URI ^/manual/de/ prefer-language=de
    SetEnvIf Request_URI ^/manual/en/ prefer-language=en
    SetEnvIf Request_URI ^/manual/es/ prefer-language=es
    SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr
    SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja
    SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko
    SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru
    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
</Directory>

ScriptAlias /cgi-bin/ "/opt/apache2/cgi-bin/"

<IfModule mod_cgid.c>
#Scriptsock            logs/cgisock
</IfModule>
<Directory "/opt/apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

IndexOptions FancyIndexing VersionSort
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz

ReadmeName README.html
HeaderName HEADER.html

IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

AddDefaultCharset ISO-8859-1
AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5        .Big5       .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251   .win-1251
AddCharset CP866       .cp866
AddCharset KOI8-r      .koi8-r .koi8-ru
AddCharset KOI8-ru     .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8       .utf8

AddCharset GB2312      .gb2312 .gb 
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5        .big5 .b5
AddCharset EUC-TW      .euc-tw
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis
#AddType application/x-tar .tgz
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
#AddHandler cgi-script .cgi
#AddHandler send-as-is asis
#AddHandler imap-file map
AddHandler type-map var
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html

#    Alias /error/ "/opt/apache2/error/"
#
#    <Directory "/opt/apache2/error">
#        AllowOverride None
#        Options IncludesNoExec
#        AddOutputFilter Includes html
#        AddHandler type-map var
#        Order allow,deny
#        Allow from all
#        LanguagePriority en cs de es fr it nl sv pt-br ro
#        ForceLanguagePriority Prefer Fallback
#    </Directory>
#
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
#    ErrorDocument 410 /error/HTTP_GONE.html.var
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var


BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4.0" force-response-1.0
BrowserMatch "Java/1.0" force-response-1.0
BrowserMatch "JDK/1.0" force-response-1.0

BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully

#<Location /server-status>
#    SetHandler server-status
#    Order deny,allow
#    Deny from all
#    Allow from .example.com
#</Location>

#
# Allow remote server configuration reports, with the URL of
#  http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
#<Location /server-info>
#    SetHandler server-info
#    Order deny,allow
#    Deny from all
#    Allow from .example.com
#</Location>


#
# Bring in additional module-specific configurations
#
<IfModule mod_ssl.c>
    Include conf/ssl.conf
</IfModule>

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

#include conf/perl.conf
#include conf/hosting.conf
include conf/vhosts.conf

die vhosts.conf (sicher is sicher):

Code: Select all

# vhosts 
NameVirtualHost 217.172.181.134
<Directory "/opt/www/vhosts/www.chaosproject.net/htdocs">
  Options +Indexes
  AllowOverride all
</Directory>

#<VirtualHost 217.172.181.134>
#ServerName www.chaosproject.net
#DocumentRoot /opt/www/root/htdocs
#User confixx
#Group users
#ScriptAlias /cgi-bin/ /opt/www/root/cgi-bin/
#php_admin_value safe_mode_exec_dir /opt/www/root/bin
#CustomLog /opt/httpd/logs/www.chaosproject.net_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
#ErrorLog /opt/httpd/logs/www.chaosproject.net_error.log
#</VirtualHost>
UseCanonicalName Off
LogFormat "%V:#:%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx
LogFormat "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx2
<Directory "/opt/www/hosting">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options -FollowSymLinks -SymLinksIfOwnerMatch Includes Indexes
</Directory>
DirectoryIndex index.html index.htm index.php index.php3 index.php4
<Files ~ ".(wml.*|wbmp)$">
 deny from all
</Files>

<VirtualHost 217.172.181.134>
ServerName www.chaosproject.net
ServerAlias  chaosproject.net 217.172.181.134
DocumentRoot /opt/www/vhosts/www.chaosproject.net/htdocs
#User www-data
#Group www-data
ScriptAlias /cgi-bin/ /opt/www/vhosts/www.chaosproject.net/cgi-bin/
php_admin_value open_basedir  /opt/www/vhosts/www.chaosproject.net/htdocs
php_admin_value upload_tmp_dir  /opt/www/vhosts/www.chaosproject.net/phptmp
CustomLog  /opt/www/vhosts/www.chaosproject.net/logs/access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog  /opt/www/vhosts/www.chaosproject.net/logs/error.log
</VirtualHost>
das ./configure vom apache sieht so aus :

Code: Select all

#! /bin/sh

CC=gcc 
CFLAGS="-O3 -g -march=athlon-xp"
#CFLAGS="-O3 -g -march=i686"
CXX=gcc
CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti -march=athlon-xp -g"
#CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti -march=i686 -g"

./configure 	--prefix=/opt/apache2 
		--enable-exception-hook 
		--enable-unique-id 
		--enable-headers 
		--enable-http 
		--enable-suexec 
		--enable-cgi 
		--enable-cgid 
		--enable-info 
		--enable-vhost-alias 
		--enable-so 
		--enable-ssl 
		--with-mpm=worker 
		--enable-setenvif 
		--disable-disk-cache 
		--enable-mods-shared=all 
		--enable-rewrite
		
exit 0;
(hab mir daraus nen shellscript gemacht gehabt ;)

und die logs , also in der error_log steht nix
weder für den vhost noch die vom apache selbst ):

ich schau mir das jetzt mal mit deiner ./configure an, ich hoff ma das es klappt


so habs auch mit deinem configure probiert, (ausser das ich dafür noch paar lib's nachinstallieren musst) kam der gleiche fehler ):

mit --without-pear klappt das compilieren installieren, aber dann kommt die zero sized reply meldung und selbst ein <? phpinfo(); ?> wird nich ausgeführt ): zumindestens im apache, auf der console klappt es seltsamerweise mit "php -r "phpinfo();"
chaoskind
Posts: 80
Joined: 2003-05-20 10:47
Contact:
 

Re: php4.3.10 - "make install" problem mit PEAR

Post by chaoskind »

so, das hier kann gelöscht werden, ich hab den Server jetzt mehrmals ins recovery gepackt ..
dann debian sauber neu installiert

php5.0.3 ohne hardenend php compiliert und make install und siehe das es funktioniert, fehler weiss ich bis heut ned, aber es funzed.. werd mich später mal dran vagen mit hardenend php patch
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: php4.3.10 - "make install" problem mit PEAR

Post by Joe User »

BTW: mod_cgi ist nicht threadsafe und daher nur zu prefork kompatibel, weshalb Du alternativ mod_cgid verwenden musst.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply