Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php5 and zlib
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
elvisgentoofreak
n00b
n00b


Joined: 04 Nov 2008
Posts: 5
Location: auf der der Erde

PostPosted: Tue Nov 04, 2008 6:00 am    Post subject: php5 and zlib Reply with quote

Dear all

I emerged php5 with the following (defined in the make.conf) options:

USE="symlink nptl nptlonly -ipv6 -fortran unicode maildir valias vhosts authdaemond mysql mysqli calendar gd apache2 cgi cli ftp zlib zip"

Now the merging process works fine and zlib will be enabled but not installed, as i checked in the phpinfo.php (see below)

---------------------------------------------------------------------------------------------------------------------------------------------
PHP Version 5.2.6

System Linux ****** 2.6.25-gentoo-r7 #4 SMP Thu Aug 21 22:13:08 CEST 2008 i686
Build Date Aug 23 2008 20:32:41
Configure Command './configure' '--enable-mbstring' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib
Loaded Configuration File (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies



--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting no value no value
expose_php On On
extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20060613 /usr/local/lib/php/extensions/no-debug-non-zts-20060613
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/lib/php .:/usr/local/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time -1 -1
memory_limit 128M 128M
open_basedir no value no value
output_buffering 0 0
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off


apache2handler
Apache Version Apache/2.2.9 (Unix) DAV/2 PHP/5.2.6
Apache API Version 20051115
Server Administrator webmaster@elvisaltherr.ch
Hostname:Port www.elvisaltherr.ch:0
User/Group daemon(2)/2
Max Requests Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server Yes
Server Root /usr/local/apache2
Loaded Modules core mod_authn_file mod_authn_dbm mod_authn_anon mod_authn_dbd mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_dbm mod_authz_owner mod_authz_default mod_auth_basic mod_auth_digest mod_dbd mod_dumpio mod_ext_filter mod_include mod_filter mod_substitute mod_deflate mod_log_config mod_log_forensic mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_ident mod_usertrack mod_unique_id mod_setenvif mod_version prefork http_core mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_cgi mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imagemap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_so mod_php5

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0


Apache Environment
Variable Value
UNIQUE_ID SQ-VR1RLN@0AABx8F48AAAAC
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_LANGUAGE de-ch
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
HTTP_CONNECTION Keep-Alive
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/var/qmail/bin:/var/vpopmail/bin
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /php/phpinfo.php
SCRIPT_NAME /php/phpinfo.php


HTTP Headers Information
HTTP Request Headers
HTTP Request GET /php/phpinfo.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language de-ch
Accept-Encoding gzip, deflate
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
Connection Keep-Alive
HTTP Response Headers
X-Powered-By PHP/5.2.6
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html


ctype
ctype functions enabled


date
date/time support enabled
"Olson" Timezone Database Version 2008.2
Timezone Database internal
Default timezone Europe/Berlin

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value


dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.30
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled


filter
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.42 $

Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value


hash
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5


iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.6.1

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1


json
json support enabled
json version 1.2.1


libxml
libXML support active
libXML Version 2.6.30
libXML streams enabled


mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value


mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.60
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off


pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.6 2008-01-28

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000


PDO
PDO support enabled
PDO drivers sqlite2, sqlite


pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.3 2007/12/31 07:20:10 sebastian Exp $
SQLite Library 3.3.7


posix
Revision $Revision: 1.70.2.3.2.18 $


Reflection
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $


session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0


SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.39 $
Schema support enabled


SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException


SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.10 2007/12/31 07:20:11 sebastian Exp $
SQLite Library 2.8.17
SQLite Encoding iso8859

Directive Local Value Master Value
sqlite.assoc_case 0 0


standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value


tokenizer
Tokenizer Support enabled


xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.30


xmlreader
XMLReader enabled


xmlwriter
XMLWriter enabled


Additional Modules
Module Name


Environment
Variable Value
MANPATH /usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/usr/lib/php5/man/
SHELL /bin/bash
TERM linux
USER root
LS_COLORS no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
PAGER /usr/bin/less
CONFIG_PROTECT_MASK /etc/php/cli-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/udev/rules.d /etc/terminfo
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/var/qmail/bin:/var/vpopmail/bin
PWD /netbackup
EDITOR /usr/bin/vim
SHLVL 1
HOME /root
QMAIL_CONTROLDIR /var/qmail/control
PYTHONPATH /usr/lib/portage/pym
LESS -R -M --shift 5
LOGNAME root
GCC_SPECS no value
CVS_RSH ssh
LESSOPEN |lesspipe.sh %s
INFOPATH /usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/info/emacs-22
CONFIG_PROTECT /var/bind /var/qmail/control /var/qmail/alias /var/vpopmail/etc
_ /usr/local/apache2/bin/httpd
OLDPWD /root


PHP Variables
Variable Value
_REQUEST["REMEMBER_KEY"] 00000000001_zhc5h2arjhb
_COOKIE["REMEMBER_KEY"] 00000000001_zhc5h2arjhb
_SERVER["UNIQUE_ID"] SQ-VR1RLN@0AABx8F48AAAAC
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] de-ch
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
_SERVER["HTTP_HOST"] www.elvisaltherr.ch
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["PATH"] /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/var/qmail/bin:/var/vpopmail/bin
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /php/phpinfo.php
_SERVER["SCRIPT_NAME"] /php/phpinfo.php
_SERVER["PHP_SELF"] /php/phpinfo.php
_SERVER["REQUEST_TIME"] 1225774407
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["MANPATH"] /usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/usr/lib/php5/man/
_ENV["SHELL"] /bin/bash
_ENV["TERM"] linux
_ENV["USER"] root
_ENV["LS_COLORS"] no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
_ENV["PAGER"] /usr/bin/less
_ENV["CONFIG_PROTECT_MASK"] /etc/php/cli-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/udev/rules.d /etc/terminfo
_ENV["PATH"] /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/var/qmail/bin:/var/vpopmail/bin
_ENV["PWD"] /netbackup
_ENV["EDITOR"] /usr/bin/vim
_ENV["SHLVL"] 1
_ENV["HOME"] /root
_ENV["QMAIL_CONTROLDIR"] /var/qmail/control
_ENV["PYTHONPATH"] /usr/lib/portage/pym
_ENV["LESS"] -R -M --shift 5
_ENV["LOGNAME"] root
_ENV["GCC_SPECS"] no value
_ENV["CVS_RSH"] ssh
_ENV["LESSOPEN"] |lesspipe.sh %s
_ENV["INFOPATH"] /usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/info/emacs-22
_ENV["CONFIG_PROTECT"] /var/bind /var/qmail/control /var/qmail/alias /var/vpopmail/etc
_ENV["_"] /usr/local/apache2/bin/httpd
_ENV["OLDPWD"] /root


PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

-----------------------------------------------------------------------------------------------------------------------------------------------

any ideas, is this eventually a bug..?

thanks for your help
Back to top
View user's profile Send private message
nurachi
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2008
Posts: 91
Location: Paris

PostPosted: Wed Nov 05, 2008 2:49 am    Post subject: Reply with quote

Look at the third line of your phpinfo:
Code:

Configure Command './configure' '--enable-mbstring' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs'

No zip enabled here.

Could you post the result of the commands:
Code:

emerge -pv dev-lang/php
emerge --info
Back to top
View user's profile Send private message
elvisgentoofreak
n00b
n00b


Joined: 04 Nov 2008
Posts: 5
Location: auf der der Erde

PostPosted: Wed Nov 05, 2008 8:56 am    Post subject: Reply with quote

nurachi wrote:
Look at the third line of your phpinfo:
Code:

Configure Command './configure' '--enable-mbstring' '--with-mysql' '--with-apxs2=/usr/local/apache2/bin/apxs'

No zip enabled here.

Could you post the result of the commands:
Code:

emerge -pv dev-lang/php
emerge --info


thanks for your reply
ok see output below:

-----------------------------------------------------------------------------------------------------------------------------------

Calculating dependencies... done!
[ebuild N ] dev-lang/php-5.2.6-r7 USE="apache2 berkdb bzip2 calendar cgi cl i crypt ftp gd gdbm iconv mysql mysqli ncurses nls pcre readline reflection sess ion spl ssl unicode zip zlib -adabas -bcmath -birdstep -cdb -cjk -concurrentmodp hp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -em press -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -f orce-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase - iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -m cve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -so ckets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zi p-external" 0 kB

Login incorrect
anita login:
Total: 1 package (1 new), Size of downloads: 0 kB
anita ~ #
Password:
[ebuild N ] dev-lang/php-5.2.6-r7 USE="apache2 berkdb bzip2 calendar cgi cl i crypt ftp gd gdbm iconv mysql mysqli ncurses nls pcre readline reflection sess ion spl Password:

Login incorrect
anita login: ^C
anita ~ # emerge -pv dev-lang/php

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-lang/php-5.2.6-r7 USE="apache2 berkdb bzip2 calendar cgi cli crypt ftp gd gdbm iconv mysql mysqli ncurses nls pcre readline reflection session spl ssl unicode zip zlib -adabas -bcmath -birdstep -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip-external" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB
anita ~ # [ebuild N ] dev-lang/php-5.2.6-r7 USE="apache2 berkdb bzip2 calendar cgi cli crypt ftp gd gdbm iconv mysql mysqli ncurses nls pcre readline reflection session spl ssl unicode zip zlib -adabas -bcmath -birdstep -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip-external" 0 kB
-su: [ebuild: command not found
anita ~ #
anita ~ # Total: 1 package (1 new), Size of downloads: 0 kB
-su: syntax error near unexpected token `('
anita ~ # [ebuild N ] dev-lang/php-5.2.6-r7 USE="apache2 berkdb bzip2 calendar cgi cli crypt ftp gd gdbm iconv mysql mysqli ncurses nls pcre readline reflection session spl ssl unicode zip zlib -adabas -bcmath -birdstep -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip-external" 0 kB
-su: [ebuild: command not found
anita ~ #
anita ~ # Total: 1 package (1 new), Size of downloads: 0 kB
-su: syntax error near unexpected token `('
anita ~ # [ebuild N ] dev-lang/php-5.2.6-r7 USE="apache2 berkdb bzip2 calendar cgi cli crypt ftp gd gdbm iconv mysql mysqli ncurses nls pcre readline reflection session spl ssl unicode zip zlib -adabas -bcmath -birdstep -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip-external" 0 kB
anita ~ # emerge -pv dev-lang/php

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-lang/php-5.2.6-r7 USE="apache2 berkdb bzip2 calendar cgi cli crypt ftp gd gdbm iconv mysql mysqli ncurses nls pcre readline reflection session spl ssl unicode zip zlib -adabas -bcmath -birdstep -cdb -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -gd-external -gmp -hash -imap -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip-external" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB
anita ~ # emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Timestamp of tree: Tue, 28 Oct 2008 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.bytemark.co.uk/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 authdaemond berkdb bzip2 calendar cgi cli cracklib crypt cups dri ftp gd gdbm gpm iconv isdnlog maildir midi mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl symlink sysfs tcpd unicode valias vhosts x86 xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

anita ~ #
Back to top
View user's profile Send private message
nurachi
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2008
Posts: 91
Location: Paris

PostPosted: Wed Nov 05, 2008 10:07 am    Post subject: Reply with quote

I think you're missing APACHE2_MPMS variable somewhere in your make.conf (something like "prefork" if you want threads in the PHP module). But it works...
Your PHP module was build on august 21, a little bit old, I think.

First you should probably fully update your system from october 28 to november 5.
Code:
emerge --sync ;
emerge -puvND world #this should pull zip dependencies and php.
#or just the following if you wanna emerge faster
emerge -puvND dev-lang/php

The important parameters here are N and D. Of course remove the p to install.

And last but not least your emerge -pv dev-lang/php'output shows that this package is not installed on your system. So:
Code:
emerge -DN dev-lang/php #might resolve your problem

There was some change in the packages name during the passage from dev-php4/php and dev-php5/php to dev-lang/php (sorry the package's names aren't probably correct, you'll find them on your system). The news was in the GWN or GMN.

Your console output looks funny ;-)
Back to top
View user's profile Send private message
elvisgentoofreak
n00b
n00b


Joined: 04 Nov 2008
Posts: 5
Location: auf der der Erde

PostPosted: Thu Nov 06, 2008 4:33 pm    Post subject: Reply with quote

nurachi wrote:
I think you're missing APACHE2_MPMS variable somewhere in your make.conf (something like "prefork" if you want threads in the PHP module). But it works...
Your PHP module was build on august 21, a little bit old, I think.

First you should probably fully update your system from october 28 to november 5.
Code:
emerge --sync ;
emerge -puvND world #this should pull zip dependencies and php.
#or just the following if you wanna emerge faster
emerge -puvND dev-lang/php

The important parameters here are N and D. Of course remove the p to install.

And last but not least your emerge -pv dev-lang/php'output shows that this package is not installed on your system. So:
Code:
emerge -DN dev-lang/php #might resolve your problem

There was some change in the packages name during the passage from dev-php4/php and dev-php5/php to dev-lang/php (sorry the package's names aren't probably correct, you'll find them on your system). The news was in the GWN or GMN.

Your console output looks funny ;-)


Yep i know :D copy and paste was filled with garbage

Thanks for your help

Now finally i found the solution:

i unmerged apache2 and php5 and check for old and doubled files on the system and did a manual (configure+make+make install).. install... now it works fine...

it seems that the ebuilds are not correctly linked togehter or whatelse which means apache will be placed in the /etc/apache2 folder while php and configurations files searches the lib files in the /usr/local/apache2 and then the "libphp5.so" File is built with the wrong options.. (Hint: checked for the "changed date" of libphp5.so and found the correct version of the lib and then suddendly it worked :-)

But anyway: now it works fine
Back to top
View user's profile Send private message
nurachi
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2008
Posts: 91
Location: Paris

PostPosted: Thu Nov 06, 2008 4:38 pm    Post subject: Reply with quote

But your system is fucked'up now.

I personnally never encounter such a problem.
Back to top
View user's profile Send private message
elvisgentoofreak
n00b
n00b


Joined: 04 Nov 2008
Posts: 5
Location: auf der der Erde

PostPosted: Thu Nov 06, 2008 5:40 pm    Post subject: Reply with quote

nurachi wrote:
But your system is fucked'up now.

I personnally never encounter such a problem.


shit... then it woud be the best to clean it and do a complete installation from the scratch (thanks to a dual core P4 this done very fast :D)

i will think about

anyway thanks again for your help
:D
Back to top
View user's profile Send private message
nurachi
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2008
Posts: 91
Location: Paris

PostPosted: Thu Nov 06, 2008 6:57 pm    Post subject: Reply with quote

If you didn't remove them there's often a "make uninstall" command available in the makefile of the source you installed...
Back to top
View user's profile Send private message
elvisgentoofreak
n00b
n00b


Joined: 04 Nov 2008
Posts: 5
Location: auf der der Erde

PostPosted: Fri Nov 07, 2008 9:30 am    Post subject: Reply with quote

nurachi wrote:
If you didn't remove them there's often a "make uninstall" command available in the makefile of the source you installed...


of course did via uninstall or emerge --unmerge ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum