php-install Digest 4 Jan 2003 20:37:09 -0000 Issue 1186

Topics (messages 9539 through 9555):

PHP 4.2.3 and APACHE 1.3.27 showing PHP sources
        9539 by: Stefan Hoelzner
        9541 by: John Coder
        9543 by: Chris Hewitt

problem with 4.3.0 on AIX
        9540 by: Sergio G. Reus

make test
        9542 by: Dmitry Demczuk

Re: Yaz Extension
        9544 by: Adam Dickmeiss

Where to find install instruction?
        9545 by: Irvin Amoraal
        9546 by: Jeffrey_N_Dyke.Keane.com
        9547 by: Rasmus Lerdorf

Problem to get PDFLib working
        9548 by: Dmitry Demczuk
        9550 by: Rasmus Lerdorf
        9551 by: Dmitry Demczuk
        9552 by: Rasmus Lerdorf

DSO or Static?
        9549 by: Irvin Amoraal

Path failure when testing an weblog installation
        9553 by: Tony Dietrich
        9554 by: Tony Dietrich

problem
        9555 by: Johan (natkejs)

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi folks,

PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on 
SuSE8.0

whenever I compile Apache (with mod_ssl, although I think that does not matter) and 
PHP and start up with "apachectl start", 
all PHP-files don't get parsed, instead the PHP-sources are shown in my browser window.

Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
Yes, I have done cp ../php.ini-dist /etc/php.ini
Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"

Any ideas, *sigh*?


--- End Message ---
--- Begin Message ---
On Sat, 2003-01-04 at 06:48, Stefan Hoelzner wrote:
> Hi folks,
> 
> PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on 
>SuSE8.0
> 
> whenever I compile Apache (with mod_ssl, although I think that does not matter) and 
>PHP and start up with "apachectl start", 
> all PHP-files don't get parsed, instead the PHP-sources are shown in my browser 
>window.
> 
> Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
> Yes, I have done cp ../php.ini-dist /etc/php.ini
> Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"
> 
> Any ideas, *sigh*?
> 
your php.ini is prolly in the wrong place I'm running the same setup you
are but my php.ini is in /usr/local/lib if your php is in /usr/local
then try moving the php.ini to /usr/local/lib

John Coder

--- End Message ---
--- Begin Message ---
Stefan Hoelzner wrote:

PHP 4.2.3, APACHE 1.3.27, MOD_SSL 2.8.12-1.3.27, OPENSSL 0.9.6h, MySQL 3.23.53a on SuSE8.0

whenever I compile Apache (with mod_ssl, although I think that does not matter) and PHP and start up with "apachectl start", all PHP-files don't get parsed, instead the PHP-sources are shown in my browser window.

Yes, I have compiled PHP with --with-apxs=..., --with-config-file-path=/etc
Yes, I have done cp ../php.ini-dist /etc/php.ini
Yes, I have modified httpd.conf with "AddType application/x-httpd-php .php"

Some suggestions. Have you restarted Apache? Does the name of the test php file you are looking at end in ".php"?

HTH
Chris


--- End Message ---
--- Begin Message ---
Hi,

I've tried to compile the new PHP 4.3.0 on an IBM pSeries AIX 5.1
with oracle, GD library support and apache 1.3.27. but gives 
the following error while compiling:

      [...]
       /bin/sh libtool --silent --mode=compile gcc  -Iext/standard/ 
-I/opt/src/php-4.3.0/ext/standard/ -DPHP_ATOM_INC -I/opt/src/php-4.3.0/include 
-I/opt/src/php-4.3.0/main -I/opt/src/php-4.3.0 -I/opt/src/php-4.3.0/Zend 
-I/opt/lib/gd/include -I/opt/oracle/product/920/rdbms/public 
-I/opt/oracle/product/920/rdbms/demo -I/opt/src/php-4.3.0/ext/xml/expat  -DAIX=51 
-DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DMOD_SSL=208112 -DUSE_HSREGEX 
-DEAPI -DEAPI_MM -DUSE_EXPAT -I/opt/src/php-4.3.0/TSRM  -g -O2  -prefer-pic -c 
/opt/src/php-4.3.0/ext/standard/info.c -o ext/standard/info.lo 
        /bin/sh libtool --silent --mode=link gcc -g -O2 -prefer-pic  -rpath 
/opt/src/php-4.3.0/libs -Wl,-bI:/opt/apache/libexec/httpd.exp -avoid-version -module 
-L/opt/lib/gd/lib -L/opt/oracle/product/920/lib  -R /opt/lib/gd/lib -R 
/opt/oracle/product/920/lib ext/ctype/ctype.lo ext/gd/gd.lo ext/gd/gdttf.lo 
ext/gd/gdcache.lo ext/oci8/oci8.lo ext/oracle/oracle.lo ext/overload/overload.lo 
ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo 
ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/posix/posix.lo 
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo 
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo 
ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo 
ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo 
ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo 
ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo 
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo 
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo 
ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo 
ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo 
ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo 
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo 
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo 
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo 
ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo 
ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo 
ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo 
ext/standard/sha1.lo ext/tokenizer/tokenizer.lo ext/xml/xml.lo 
ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo 
regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo 
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo 
main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo 
main/alloca.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo 
main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo 
main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo 
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo 
main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo 
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo 
Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo 
Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo 
Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo 
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo 
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo 
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo 
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo 
sapi/apache/sapi_apache.lo sapi/apache/mod_php4.lo sapi/apache/php_apache.lo 
main/internal_functions.lo -lgd -ljpeg -lcrypt -lm -lcrypt -ldl -lm -lodm -lbsd_r -lld 
-lperfstat -lclntsh -ldl -lm -lodm -lbsd_r -lld -lperfstat -lclntsh  -o libphp4.la
        /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2  
-Wl,-bI:/opt/apache/libexec/httpd.exp -avoid-version -module -L/opt/lib/gd/lib 
-L/opt/oracle/product/920/lib  -R /opt/lib/gd/lib -R /opt/oracle/product/920/lib 
ext/ctype/ctype.lo ext/gd/gd.lo ext/gd/gdttf.lo ext/gd/gdcache.lo ext/oci8/oci8.lo 
ext/oracle/oracle.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo 
ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo 
ext/pcre/php_pcre.lo ext/posix/posix.lo ext/session/session.lo 
ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo 
ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo 
ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo 
ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo 
ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo 
ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo 
ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo 
ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo 
ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo 
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo 
ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo 
ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo 
ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo 
ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo 
ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo 
ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo 
ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo 
ext/standard/sha1.lo ext/tokenizer/tokenizer.lo ext/xml/xml.lo 
ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo 
regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo 
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo 
main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo 
main/alloca.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo 
main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo 
main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo 
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo 
main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo 
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo 
Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo 
Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo 
Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo 
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo 
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo 
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo 
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo 
sapi/cli/getopt.lo main/internal_functions_cli.lo -lgd -ljpeg -lcrypt -lm -lcrypt -ldl 
-lm -lodm -lbsd_r -lld -lperfstat -lclntsh -ldl -lm -lodm -lbsd_r -lld -lperfstat 
-lclntsh  -o sapi/cli/php
ld: 0711-317 ERROR: Undefined symbol: .ologof
ld: 0711-317 ERROR: Undefined symbol: .oclose
ld: 0711-317 ERROR: Undefined symbol: .oopen
ld: 0711-317 ERROR: Undefined symbol: .oparse
ld: 0711-317 ERROR: Undefined symbol: .olog
ld: 0711-317 ERROR: Undefined symbol: .ocof
ld: 0711-317 ERROR: Undefined symbol: .ocon
ld: 0711-317 ERROR: Undefined symbol: .ocom
ld: 0711-317 ERROR: Undefined symbol: .orol
ld: 0711-317 ERROR: Undefined symbol: .obndra
ld: 0711-317 ERROR: Undefined symbol: .oexec
ld: 0711-317 ERROR: Undefined symbol: .oexfet
ld: 0711-317 ERROR: Undefined symbol: .ofetch
ld: 0711-317 ERROR: Undefined symbol: .oflng
ld: 0711-317 ERROR: Undefined symbol: .oerhms
ld: 0711-317 ERROR: Undefined symbol: .odescr
ld: 0711-317 ERROR: Undefined symbol: .odefin
ld: 0711-317 ERROR: Undefined symbol: .OCIEnvInit
ld: 0711-317 ERROR: Undefined symbol: .OCIHandleAlloc
ld: 0711-317 ERROR: Undefined symbol: .OCIInitialize
ld: 0711-317 ERROR: Undefined symbol: .OCIHandleFree
ld: 0711-317 ERROR: Undefined symbol: .OCITransRollback
ld: 0711-317 ERROR: Undefined symbol: .OCIDescriptorFree
ld: 0711-317 ERROR: Undefined symbol: .OCIErrorGet
ld: 0711-317 ERROR: Undefined symbol: .OCIServerVersion
ld: 0711-317 ERROR: Undefined symbol: .OCIDescriptorAlloc
ld: 0711-317 ERROR: Undefined symbol: .OCIAttrSet
ld: 0711-317 ERROR: Undefined symbol: .OCIStmtPrepare
ld: 0711-317 ERROR: Undefined symbol: .OCIAttrGet
ld: 0711-317 ERROR: Undefined symbol: .OCIStmtExecute
ld: 0711-317 ERROR: Undefined symbol: .OCIParamGet
ld: 0711-317 ERROR: Undefined symbol: .OCIDefineByPos
ld: 0711-317 ERROR: Undefined symbol: .OCIStmtFetch
ld: 0711-317 ERROR: Undefined symbol: .OCIStmtSetPieceInfo
ld: 0711-317 ERROR: Undefined symbol: .OCILobFileOpen
ld: 0711-317 ERROR: Undefined symbol: .OCILobGetLength
ld: 0711-317 ERROR: Undefined symbol: .OCILobRead
ld: 0711-317 ERROR: Undefined symbol: .OCILobFileClose
ld: 0711-317 ERROR: Undefined symbol: .OCISessionBegin
ld: 0711-317 ERROR: Undefined symbol: .OCISessionEnd
ld: 0711-317 ERROR: Undefined symbol: .OCIServerAttach
ld: 0711-317 ERROR: Undefined symbol: .OCIServerDetach
ld: 0711-317 ERROR: Undefined symbol: .OCIBindByName
ld: 0711-317 ERROR: Undefined symbol: .OCIBindDynamic
ld: 0711-317 ERROR: Undefined symbol: .OCIBindObject
ld: 0711-317 ERROR: Undefined symbol: .OCILobWrite
ld: 0711-317 ERROR: Undefined symbol: .OCILobCreateTemporary
ld: 0711-317 ERROR: Undefined symbol: .OCILobOpen
ld: 0711-317 ERROR: Undefined symbol: .OCILobClose
ld: 0711-317 ERROR: Undefined symbol: .OCILobIsTemporary
ld: 0711-317 ERROR: Undefined symbol: .OCILobFreeTemporary
ld: 0711-317 ERROR: Undefined symbol: .OCITransCommit
ld: 0711-317 ERROR: Undefined symbol: .OCIObjectFree
ld: 0711-317 ERROR: Undefined symbol: .OCICollAppend
ld: 0711-317 ERROR: Undefined symbol: .OCIDateFromText
ld: 0711-317 ERROR: Undefined symbol: .OCIStringAssignText
ld: 0711-317 ERROR: Undefined symbol: .OCINumberFromReal
ld: 0711-317 ERROR: Undefined symbol: .OCICollGetElem
ld: 0711-317 ERROR: Undefined symbol: .OCIDateToText
ld: 0711-317 ERROR: Undefined symbol: .OCIStringPtr
ld: 0711-317 ERROR: Undefined symbol: .OCINumberToReal
ld: 0711-317 ERROR: Undefined symbol: .OCICollAssign
ld: 0711-317 ERROR: Undefined symbol: .OCICollAssignElem
ld: 0711-317 ERROR: Undefined symbol: .OCICollSize
ld: 0711-317 ERROR: Undefined symbol: .OCICollMax
ld: 0711-317 ERROR: Undefined symbol: .OCICollTrim
ld: 0711-317 ERROR: Undefined symbol: .OCITypeByName
ld: 0711-317 ERROR: Undefined symbol: .OCIDescribeAny
ld: 0711-317 ERROR: Undefined symbol: .OCITypeByRef
ld: 0711-317 ERROR: Undefined symbol: .OCIObjectNew
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status


The configure options were:

./configure  --enable-shared --without-mysql --without-gettext 
             --with-apxs=/opt/apache/bin/apxs --without-iconv 
             --enable-sigchild --enable-memory-limit --prefix=/opt/php 
             --with-gd=/opt/lib/gd --with-jpeg-dir=/usr/lib 
             --with-oracle=/opt/oracle/product/920
             --with-oci8=/opt/oracle/product/920


The same configuration and libraries worked perfectly two weeks ago with PHP 4.2.3,
so what's the problem now?

Thanks in advance

Sergio
--- End Message ---
--- Begin Message ---
Hi there,

I'm running make test after the configure and it fails for one of the tests 
(pspell). Is there something wrong with my configuration or is it a bug 
that needs to be reported (PHP version 4.3.0 compiled on a SuSE 8.0 box 
with Apache 2). If this is with my configuration, are there any hints on 
how to configure it so that it also pass the pspell test?

Thanks and cheers
--- End Message ---
--- Begin Message ---
On Fri, Jan 03, 2003 at 04:39:33PM -0500, Wayne Graham wrote:
> Hi,
> 
> I'm running PHP on an XP system (with IIS) and am having a bit of a
> problem with some of the extensions...the php_yaz.dll to be exact. I've
> set extension_dir = c:\php\extensions where all of the extensions are
> located. When I uncomment the extension=php_yaz.dll line, I get a
> warning box that pops up and states "Unknown(): Unable to load dynamic
> library 'c:\php\extensions\php_yaz.dll' - The specified procedure could
> not be found." However, the file is in fact there.
yaz.dll must also be in the system path (\winnt\system or similar).
php_yaz.dll depends on it.

-- Adam

> I tried placing this file in the Windows and Windows\system32 folders
> after looking at some posts, but to no avail. I noticed that php_gd.dll
> worked, so I went through and tested every extension to see which ones
> worked to a grand total of 25 of the 46. I uninstalled and reinstalled
> using both the manual method and the installer, but with the same
> result. Does anyone have any suggestions?
> 
> 
> These were the extensions that didn't work:
> 
> php_curl.dll
> php_domxml.dll
> php_flosql.dll
> php_gd2.dll
> php_gettext.dll
> php_iconv.dll
> php_ifx.dll
> php_iisfunc.dll
> php_interbase.dll
> php_ldap.dll
> php_mcrypt.dll
> php_mhash.dll
> php_msql.dll
> php_oli8.dll
> php_openssl.dll
> php_oracle.dll
> php_snmp.dll
> php_sybase_ct.dll
> php_xmlrpc.dll
> php_xslt.dll
> php_yaz.dll
> 
> **************************************
> Wayne Graham
> Systems Office
> Earl Gregg Swem Library
> College of William and Mary
> PO Box 8794
> Williamsburg, VA  23187-8794
> 757.221.3112
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Adam Dickmeiss  mailto:[EMAIL PROTECTED]  http://www.indexdata.dk
Index Data      T: +45 33410100           Mob.: 212 212 66
--- End Message ---
--- Begin Message ---
Where can I find good install instructions to upgrade from PHP 4.0.6 to PHP
4.2.3? I have downloaded the php-4.2.3.tar.gz file to install on an APACHE
server running RedHat 7.1, but didn't see any instructions.

Thanks.
Irvin.


--- End Message ---
--- Begin Message ---
                                                                                       
                             
                    "Irvin                                                             
                             
                    Amoraal"             To:     [EMAIL PROTECTED]             
                             
                    <irvin@rainbow       cc:                                           
                             
                    dio.com>             Subject:     [PHP-INST] Where to find install 
instruction?                 
                                                                                       
                             
                    01/04/2003                                                         
                             
                    12:36 PM                                                           
                             
                                                                                       
                             
                                                                                       
                             








Where can I find good install instructions to upgrade from PHP 4.0.6 to PHP
4.2.3? I have downloaded the php-4.2.3.tar.gz file to install on an APACHE
server running RedHat 7.1, but didn't see any instructions.

Thanks.
Irvin.



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




--- End Message ---
--- Begin Message ---
There is an INSTALL file in the distribution

On Sat, 4 Jan 2003 [EMAIL PROTECTED] wrote:

>
>                     "Irvin
>                     Amoraal"             To:     [EMAIL PROTECTED]
>                     <irvin@rainbow       cc:
>                     dio.com>             Subject:     [PHP-INST] Where to find 
>install instruction?
>
>                     01/04/2003
>                     12:36 PM
>
>
>
>
>
>
>
>
>
>
> Where can I find good install instructions to upgrade from PHP 4.0.6 to PHP
> 4.2.3? I have downloaded the php-4.2.3.tar.gz file to install on an APACHE
> server running RedHat 7.1, but didn't see any instructions.
>
> Thanks.
> Irvin.
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi,

I'm trying to get PDFLib 4.0.3 installed along with PHP 4.3.0, using the 
loadable module.

The module (libpdf_php.so) is in /usr/include/php. It's the folder specified 
in the extension_dir variable of the php.ini file.In the same file, I also 
added extension=libpdf_php.so

Checking if PDF is supported via the phpinfo function, it looks like the PDF 
support is not enabled. I restarted Apache after the modification of the 
php.ini file.

Is there anything else I need to do? If no, why is the support not enabled?

Thanks and cheers,

-- 
Dmitry
--- End Message ---
--- Begin Message ---
> The module (libpdf_php.so) is in /usr/include/php. It's the folder specified
> in the extension_dir variable of the php.ini file.In the same file, I also
> added extension=libpdf_php.so

Where did you get this libpdf_php.so file?  When building it from PHP
using --with-pdf=shared it gets called pdf.so, so I suspect you have a
bogus .so

-Rasmus
--- End Message ---
--- Begin Message ---
Hi Rasmus,

I did not build php with it. I downloaded PDFLib from pdflib.com and 
followed their instructions ("Loadable Module (DSO)" is the recommended way 
for using PDFlib with PHP instead of rebuilding PHP with --with-pdflib, 
accrodig to their manual).

Then I copied the file libpdf_php.* from the directory 
"bind/php/<phpversion>" of the PDFlib binary distribution to the directory 
which is specified in the "extension_dir" line in php.ini 
(/usr/include/php) and inserted one line in php.ini:
extension = libpdf_php.so.

When I restart Apache2, I get this in the error log:
PHP Warning: Unknown(): Unable to load dynamic library 
/usr/include/php/libpdf_php.so - /usr/include/php/libpdf_php.so: 
zif_warn_not_available in Unknown on line 0.

I made a check in Google for zif_warn_not_available but could not find 
anything relevant.

Cheers,

Dmitry

Rasmus Lerdorf wrote:

>> The module (libpdf_php.so) is in /usr/include/php. It's the folder
>> specified in the extension_dir variable of the php.ini file.In the same
>> file, I also added extension=libpdf_php.so
> 
> Where did you get this libpdf_php.so file?  When building it from PHP
> using --with-pdf=shared it gets called pdf.so, so I suspect you have a
> bogus .so
> 
> -Rasmus

-- 
Dmitry
--- End Message ---
--- Begin Message ---
> I did not build php with it. I downloaded PDFLib from pdflib.com and
> followed their instructions ("Loadable Module (DSO)" is the recommended way
> for using PDFlib with PHP instead of rebuilding PHP with --with-pdflib,
> accrodig to their manual).

Well, according to ours you should build it from PHP.

> When I restart Apache2, I get this in the error log:

Note that Apache2+PHP is very experimental.

-Rasmus
--- End Message ---
--- Begin Message ---
What is the difference between using the DSO install and the Static install,
other than the instructions? Is there a benefit to using one over the other?

Irvin.


--- End Message ---
--- Begin Message ---
Background Information:
I've just been asked to evaluate Drupal (a weblog content management
system written in PHP) for something.
I've installed Drupal in a subdirectory of my serverroot

<serverroot>/drp
I'm running Apache 2.0.40 and PHP 4.2.2 on a standard RH8 system.
phpinfo() and standard PHp test routines run from scripts in the /drp
directory work perfectly.
********************************************************************

However, trying to run the Drupal index.php script to initialize the
system results in a page that looks like this ...

***********************************************************************
>Warning: Failed opening '/drp/includes/common.inc' for inclusion
 (include_path='.:/php/includes:./includes:/usr/share/pear') in
 /var/www/html/drp/index.php on line 4

>Fatal error: Call to undefined function: page_header() in
 /var/www/html/drp/index.php on line 6

************************************************************************

The relevant part of the script that generates this error is ...

************************************************************************
<?php
include_once "includes/common.inc";
page_header();
                           ***<snip>***
?>

************************************************************************
Please note, I've fiddled with the include_path directive in php.ini a
bit to try to solve this, so the reported path isn't standard any more,
but the problem persists with any include_path values I can think of.

I've checked both the drupal support lists and php documentation, but
can't get a handle on what exactly is wrong here, or rather, obviously
its something to do with the include path, but what exactly is wrong?

Any ideas?  I know this isn't a drupal support list, but this seems to
be a problem involving my PHP setup, rather than drupal.

A possibly related problem is that a local .htaccess file doesn't seem
to be working,but I'm still trying to research this myself ... I reserve
the right to scream for help if I can't solve that problem later <g>

Thanks

TD




--- End Message ---
--- Begin Message ---
Additional information: 

I just thought to switch into the script directory and run 

#php index.php 

from the command line .. the output is exactly what it should be.. it
therefore seems to be something wrong with my  Apache/PHP setup, not the
script.

TD



On Sat, 2003-01-04 at 19:35, Tony Dietrich wrote:
> Background Information:
> I've just been asked to evaluate Drupal (a weblog content management
> system written in PHP) for something.
> I've installed Drupal in a subdirectory of my serverroot
> 
> <serverroot>/drp
> I'm running Apache 2.0.40 and PHP 4.2.2 on a standard RH8 system.
> phpinfo() and standard PHp test routines run from scripts in the /drp
> directory work perfectly.
> ********************************************************************
> 
> However, trying to run the Drupal index.php script to initialize the
> system results in a page that looks like this ...
> 
> ***********************************************************************
> >Warning: Failed opening '/drp/includes/common.inc' for inclusion
>  (include_path='.:/php/includes:./includes:/usr/share/pear') in
>  /var/www/html/drp/index.php on line 4
> 
> >Fatal error: Call to undefined function: page_header() in
>  /var/www/html/drp/index.php on line 6
> 
> ************************************************************************
> 
> The relevant part of the script that generates this error is ...
> 
> ************************************************************************
> <?php
> include_once "includes/common.inc";
> page_header();
>                            ***<snip>***
> ?>
> 
> ************************************************************************
> Please note, I've fiddled with the include_path directive in php.ini a
> bit to try to solve this, so the reported path isn't standard any more,
> but the problem persists with any include_path values I can think of.
> 
> I've checked both the drupal support lists and php documentation, but
> can't get a handle on what exactly is wrong here, or rather, obviously
> its something to do with the include path, but what exactly is wrong?
> 
> Any ideas?  I know this isn't a drupal support list, but this seems to
> be a problem involving my PHP setup, rather than drupal.
> 
> A possibly related problem is that a local .htaccess file doesn't seem
> to be working,but I'm still trying to research this myself ... I reserve
> the right to scream for help if I can't solve that problem later <g>
> 
> Thanks
> 
> TD
> 
> 
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---
--- Begin Message ---
Hey,

We just installed the latest version of PHP on a Windows 2000 servers.

http://www.glamourmodelsgonebad.com/scriptrevshare/gallery.php?goto=am01

Does anyone know how I fix that error?

/ Johan Sparrman

--- End Message ---

Reply via email to