php-install Digest 4 Jul 2003 03:07:30 -0000 Issue 1447

Topics (messages 11203 through 11209):

Error configure php 5.0.0b1 on Solaris 2.8 with openssl 0.9.7b
        11203 by: Ziying Sherwin

PHP3 kills apache
        11204 by: dayton.brooklyn.cuny.edu

Re: Addings extensions...
        11205 by: jsWalter

new install of PEAR on 2k
        11206 by: jsWalter

Re: Movie
        11207 by: jsWalter

win2k iis php 4.3.2 404 error -
        11208 by: arakaht

Install php 4.2.x on RH 7.1
        11209 by: Alex Shi

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

We are trying to build php 5.0.0b1 on our Solaris 2.8 platform with gcc 3.3 and
openssl 0.9.7b. The configuration failed with the following message:


Configuring extensions
checking for OpenSSL support... yes
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... no
configure: error: libssl not found!

The relevant lines in config.log look like:

configure:17773: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
      -L/depot/package/openssl_0.9.7b/vendor/lib -lcrypto
      -R/usr/ucblib -L/usr/ucblib 
-R/depot/package/gcc_3.3/lib/gcc-lib/sparc-sun-solaris2.8/3.3 
-L/depot/package/gcc_3.3/lib/gcc-lib/sparc-sun-solaris2.8/3.3 conftest.c -lssl  
-lresolv -lm -ldl -lnsl -lsocket  -lgcc 1>&5
Undefined                       first referenced
 symbol                             in file
CRYPTO_lock                         
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_cert.o)
lh_free                             
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
COMP_CTX_free                       
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
CRYPTO_dup_ex_data                  
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
EVP_get_cipherbyname                
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_ciph.o)
...
sk_set                              
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 17762 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char SSL_CTX_set_ssl_version();

int main() {
SSL_CTX_set_ssl_version()
; return 0; }

According to the header file ssl.h file in the openssl package, the function
SSL_CTX_set_ssl_version is defined as:

/* This sets the 'default' SSL version that SSL_new() will create */
int SSL_CTX_set_ssl_version(SSL_CTX *ctx,SSL_METHOD *meth);
 
which looks different from the test program generated by configure. 

Does php 5.0.0b1 have special requirement for the openssl package or is it
an error in the configuration file?

Thanks.
Ziying Sherwin



--- End Message ---
--- Begin Message ---
Folks,

I posted this before along with another problem.  The other problem turned
out to be operator error but this one I still can't figure out.

Specs: FreeBSD 4.8.
       XFree86 4.3.0
       Apache/1.3.27
       Php 4.3.2RC4
       Php3-3.0.18_3
       Tohsiba Tecra M1

I want php3 to run phpmyadmin.

If I start apache with both mod_php3 and mod_php4, httpd gets a SEGV and
dumps core.  If I comment out LoadModule and AddModule commands for
mod_php3, apache runs fine (except, of course, w/o php3).

I've reinstalled Apache, Php4, and Php3 via the FreeBSD ports.

I've scanned the various config files.  Nothing stands out as a potential
problem.



thanks in advance
dayton


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


--- End Message ---
--- Begin Message ---
Andrej Snedic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am adding some extensions to PHP engine so I edited PHP.INI in
c:\windows
> directory this way:
>
> ...
> extension_dir = "D:\Web\PHP\extensions"
> ...
> extension=php_some-extension.dll
> ...


Is your 'extensions' path also in your 'include_path'?

This is from my INI file...

   include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
...
   extension_dir = "G:\etc\php\extensions"

Walter




--- End Message ---
--- Begin Message ---
I just installed PEAR on my Win2k box.

I try to use DB.php and I get this...

     Fatal error: main(): Failed opening required 'DB.php'
    (include_path='.;c:\php4\pear')

I can't find this path defined *anywhere*.

It is *not* in my INI file...

    include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"


I don't have PHP installed there.

How can I "fix" this include path issue.

[besides placing the PEARS directory at that path.
 which I did and that works fine, but I don't
 want it there]

Thanks

Walter



--- End Message ---
--- Begin Message ---
WARNING:

This is a virus!

do not open the attached file that came with orgignal message!

HEY [EMAIL PROTECTED] You are infected!

<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Please see the attached zip file for details.



--- End Message ---
--- Begin Message ---
Hello:  I am running a win2k iis server and attempting to install php 4.3.2.
I am running php in cgi mode.  c:\php has permissions set.  The ini.php is
located in both %system% and c:\php. cgi redirect is set to 0, extention_dir
is set to "c:\winnt\sysstem32", Doc_root = c:\Inetpub\wwwroot, app mapping
completed.  index.php added to default document. Test the directory with
index.html (works)

I am getting a 404 error....  What am I missing...

Thank you....  Kat



--- End Message ---
--- Begin Message ---
Hello,

I have a PHP 4.0.6 running on a RH Linux 7.1. For some reason I am 
unable to upgrate the Linux, but I really want to upgrate the PHP. Is it 
possible to upgrade PHP from 4.0.6 to a higher version on a RH 7.1? 
Thanks in advance!

Alex Shi



-- 
==================================================
Cell Phone Batteries at 30-50%+ off retail prices!
http://www.pocellular.com
==================================================
TrafficBuilder Network: 
http://www.bestadv.net/index.cfm?ref=7029
==================================================

--- End Message ---

Reply via email to