Urgent! pdflib extension removed from php4, but I need it!
Benjamin Thelen
thelen at ccgis.de
Tue Jul 13 05:16:00 PDT 2004
Hi all,
I cvsuped and installed the new php4-port (4.3.6 --> 4.3.7). Now, as I
could read in the cvs-log the pdflib extention has been removed from
php4 port and the pdflib is wrapped by pecl-pdf extension. I installed
pecl-pdflib and added as one is told at the end of the installation
process 'extension="pdf.so"' to my php.ini. But when I have a look at
php_info() there is no hint to pecl or pdf and I cannot use the pdflib
functions within php, so I assume the extension has not been loaded.
freebsd 4.9-RELEASE-p11
apache-1.3.31
mod_php4-4.3.7
pecl-pdflib-2.0
pdflib-6.0.0
Sorry to bother you, but I couldn't find helpful information. Could
you please give me a little help? I added a phpinfo output as attachment.
Thanks,
Benjamin
-------------- next part --------------
[1]PHP Logo
PHP Version 4.3.7
System FreeBSD my.host.de 4.9-RELEASE-p11 FreeBSD 4.9-RELEASE-p11 #1:
Thu i386
Build Date Jul 13 2004 12:03:16
Configure Command './configure' '--enable-versioning'
'--enable-memory-limit' '--with-layout=GNU' '--with-zlib-dir=/usr'
'--disable-all' '--with-regex=php' '--disable-cli' '--enable-ctype'
'--with-curl=/usr/local' '--enable-dbase' '--with-dom=/usr/local'
'--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local'
'--with-t1lib=/usr/local' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-xpm-dir=/usr/X11R6'
'--with-mysql=/usr/local' '--enable-overload' '--with-pcre-regex=yes'
'--enable-posix' '--with-pgsql=/usr/local' '--enable-session'
'--enable-tokenizer' '--with-expat-dir=/usr/local' '--enable-xml'
'--with-zlib=yes' '--with-apxs=/usr/local/sbin/apxs'
'--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include'
'--prefix=/usr/local' 'i386-portbld-freebsd4.9'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/etc/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
[2]Zend logo This program makes use of the Zend Scripting Language
Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
_________________________________________________________________
[3]PHP Credits
_________________________________________________________________
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
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_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 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
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 .: .:
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
max_execution_time 300 300
max_input_time 60 60
memory_limit 32M 32M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
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
apache
APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.31 (Unix) PHP/4.3.7
Apache Release 10331100
Apache API Version 19990320
Hostname:Port my.host.de:80
User/Group www(80)/80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /usr/local
Loaded Modules mod_php4, mod_setenvif, mod_so, mod_unique_id,
mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy,
mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access,
mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions,
mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include,
mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic,
mod_log_config, mod_env, mod_vhost_alias, mod_mmap_static, http_core
Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
DOCUMENT_ROOT /data/www/htdocs
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE de
HTTP_CONNECTION Keep-Alive
HTTP_HOST my.host.de
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
MyIE2)
PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin:/usr/local/jdk1.3.1/bin
REMOTE_ADDR 192.168.0.1
REMOTE_PORT 4416
SCRIPT_FILENAME /data/www/htdocs/info.php
SERVER_ADDR 212.79.172.109
SERVER_ADMIN admin at ccgis.de
SERVER_NAME my.host.de
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.31 Server at my.host.de Port
80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.31 (Unix) PHP/4.3.7
UNIQUE_ID QPO72tRPrG0AASm0D6A
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /info.php
SCRIPT_NAME /info.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /info.php HTTP/1.1
Accept */*
Accept-Encoding gzip, deflate
Accept-Language de
Connection Keep-Alive
Host my.host.de
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MyIE2)
HTTP Response Headers
X-Powered-By PHP/4.3.7
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html
ctype
ctype functions enabled
curl
CURL support enabled
CURL Information libcurl/7.12.0 OpenSSL/0.9.7d zlib/1.1.4
domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20611
HTML Support enabled
XPath Support enabled
XPointer Support enabled
gd
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.0.20
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -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
overload
User-Space Object Overloading Support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 4.5 01-December-2003
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 7.3.6
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited
posix
Revision $Revision: 1.51.2.2 $
session
Session Support enabled
Registered save handlers files user
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_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.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies Off Off
session.use_only_cookies Off Off
session.use_trans_sid Off Off
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,input=src,form=,fieldset=
a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.7
zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
dbase
Environment
Variable Value
MACHTYPE i386
USER root
MAIL /var/mail/root
SHLVL 1
VENDOR intel
HOME /root
PAGER more
GROUP wheel
LOGNAME root
BLOCKSIZE K
TERM cons25
PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin:/usr/local/jdk1.3.1/bin
HOST wms1.ccgis.de
SHELL /bin/csh
OSTYPE FreeBSD
PWD /usr/ports/print/gsfonts
FTP_PASSIVE_MODE YES
HOSTTYPE FreeBSD
EDITOR vi
PHP Variables
Variable Value
PHP_SELF /info.php
_SERVER["DOCUMENT_ROOT"] /data/www/htdocs
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] de
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_HOST"] wms1.ccgis.de
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.0; MyIE2)
_SERVER["PATH"]
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin:/usr/local/jdk1.3.1/bin
_SERVER["REMOTE_ADDR"] 192.168.0.1
_SERVER["REMOTE_PORT"] 4416
_SERVER["SCRIPT_FILENAME"] /data/www/htdocs/info.php
_SERVER["SERVER_ADDR"] 212.79.172.109
_SERVER["SERVER_ADMIN"] admin at ccgis.de
_SERVER["SERVER_NAME"] wms1.ccgis.de
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"] <ADDRESS>Apache/1.3.31 Server at
wms1.ccgis.de Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"] Apache/1.3.31 (Unix) PHP/4.3.7
_SERVER["UNIQUE_ID"] QPO72tRPrG0AASm0D6A
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /info.php
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_TRANSLATED"] /data/www/htdocs/info.php
_SERVER["PHP_SELF"] /info.php
_SERVER["argv"]
Array
(
)
_SERVER["argc"] 0
_ENV["MACHTYPE"] i386
_ENV["USER"] root
_ENV["MAIL"] /var/mail/root
_ENV["SHLVL"] 1
_ENV["VENDOR"] intel
_ENV["HOME"] /root
_ENV["PAGER"] more
_ENV["GROUP"] wheel
_ENV["LOGNAME"] root
_ENV["BLOCKSIZE"] K
_ENV["TERM"] cons25
_ENV["PATH"]
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bi
n:/usr/X11R6/bin:/root/bin:/usr/local/jdk1.3.1/bin
_ENV["HOST"] wms1.ccgis.de
_ENV["SHELL"] /bin/csh
_ENV["OSTYPE"] FreeBSD
_ENV["PWD"] /usr/ports/print/gsfonts
_ENV["FTP_PASSIVE_MODE"] YES
_ENV["HOSTTYPE"] FreeBSD
_ENV["EDITOR"] vi
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 at php.net.
References
1. http://www.php.net/
2. http://www.zend.com/
3. file://localhost/info.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000
More information about the freebsd-ports
mailing list