php-install Digest 16 Apr 2002 03:26:08 -0000 Issue 790

Topics (messages 6639 through 6645):

Re: Annoyance
        6639 by: Julie Meloni

Re: Problem..
        6640 by: sinapsis

Cannot load /usr/libexec/libphp4.so into serer: undefined symbol: uncompress
        6641 by: Beauford

Re: how to get a php shell binary
        6642 by: Ray Hunter

Re: Request from RH7.2 php rpm users
        6643 by: Ray Hunter

Re: PHP and SNMP issue
        6644 by: Ray Hunter

php4.2.0RC4 apache2
        6645 by: Petrov Ivan

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 ---
NM> Warning: Failed to write session data (files). Please verify that the
NM> current setting of session.save_path is correct (\tmp) in Unknown on line 0

NM> I'm guessing it has something to do with file permissions to those folders, 
NM> but what exactly it has to do I don't know.

Rather, that you don't have a /tmp folder in Windows.  Change the
setting in php.ini to a temporary folder in WIndows, using Windows
pathing.  Then, restart your web server.


- Julie

--> Julie Meloni
--> [EMAIL PROTECTED]
--> www.thickbook.com

Find "Sams Teach Yourself MySQL in 24 Hours" at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20

--- End Message ---
--- Begin Message ---
thank you for your response, well.. there was something wrong with gcc
apparently, so I reinstalled gcc and did a make clean and then a make, and
then it worked..

Thanks again.
----- Original Message -----
From: "Leo Tung" <[EMAIL PROTECTED]>
To: "sinapsis" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, April 12, 2002 9:10 PM
Subject: Re: [PHP-INST] Problem..


> It seems that your system has not installed library of crypto and ssl.
> These libraries can be refer to Sourceforge to get the copy.
>
> Hope this helps.
>
> L.
>
> On Fri, 12 Apr 2002, sinapsis wrote:
>
> > Hello people..
> >
> > I just downloaded the current version of php. tried to install it with
the following command:
> >
> >
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-sysvsem --enable
-sysvshm --enable-track-vars --enable-magic-quotes --enable-memory-limit --e
nable-ftp --with-mysql=/usr/local/mysql --with-xml --with-gdbm --with-ndbm -
-with-dbase --with-jpeg-dir=/usr/local --with-gd=/usr/local --with-png-dir=/
usr/local --with-ttf=/usr/local --with-zlib-dir=/usr/local --enable-EAPI
> >
> > but when I do # make, the following error appears:
> >
> > ld: fatal: library -lssl: not found
> > ld: fatal: library -lcrypto: not found
> > ld: fatal: File processing errors. No output written to .libs/libphp4.so
> > make[1]: *** [libphp4.la] Error 1
> >
> > any of you have an idea of how to fix this?
> >
> > Thanks.
> >
> > yung
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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

Linux Slackware 8 (x86)
Apache 1.3.24
PHP 4.1.2
Mysql 3.23.49a
Zlib 1.1.3

I am getting the following error starting Apache after installing PHP: 

Synatx error on line 237 of /etc/apache/httpd.conf
"Cannot load /usr/libexec/libphp4.so into server:
/usr/libexec/libphp4.so undefined symbol: uncompress"

I found a similar error and fix regarding libz.so.1, but after following
the instructions, it still doesn't work. Ths link is below.

( http://www.faqts.com/knowledge_base/view.phtml/aid/5087/fid/31 )

This is what I get when I do a ldd /usr/libexec/libphp4.so, which
differs from the one in the link.

ldd /usr/libexec/libphp4.so
        libdl.so.2 => /lib/libdl.so.2 (0x40130000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40134000)
        libm.so.6 => /lib/libm.so.6 (0x40145000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40167000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40195000)
        libc.so.6 => /lib/libc.so.6 (0x401aa000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Can someone shed some light on what I have to do to get this working?

Thanks, Beauford


--- End Message ---
--- Begin Message ---
For now you have to make two installations.

First you compile php with no options and you get the php executable.  The
you can recompile and make php with the apache module.

I believe that they are going to give the option for doing both at the same
time in a later release...

~~ BigDog ~~


"Nicholas Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have another question, how do I compile php so that have it as a
> module in apache and also a shell binary? I want to call php from a cron
> job (for cacti.)
>
> Nicholas
>
>


--- End Message ---
--- Begin Message ---
Check all the archives...I have posted this information before...

~~ BigDog ~~


"Nicholas Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This request is for anyone who is using Redhat 7.2 and the Redhat PHP
> rpms that come with Redhat 7.2.....
>
>
> Can someone send me the build options for the redhat rpm? Coping and
> pasting the build options section from a  <? phpinfo() ?> page should do
> the trick.  Nobody has answered my questions, and I know I can get the
> answer by copying the Redhat build.
>
> For those who don't know what I am talking about:
>
> 1) created a file in your public web directory, call it something (not
> that it matters) like phpconfiginfo.php.
> 2) In the file enter: <? phpinfo() ?>, and save it.
> 3) View the phpconfiginfo.php file with your web browser.
> 4) Copy and paste  the 'configure command' section and send it to me
please.
>
> Thanx in advance to anyone who answers my request.
>
> Nicholas
>


--- End Message ---
--- Begin Message ---
You might want to try to compile with the option of

--enable-ucd-snmp-hack

if that does not work then you might want to add do the following options

--includedir=DIR

if that does not work then the fastest way is to download the ucd-snmp and
compile it on your system then use the option

--with-snmp=/to/snmp

and then do what it say on php.net about compiling snmp with php...

let me know what happens

"Nicholas Ritter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Greetings everyone,
>
> I just joined the list again so I don't know if someone has posted any
> questions or info regarding this issue. With the listserv archive search
> down I was not able to search for an answer to this question.
>
> I have a RedHat 7.2 Professional based server (dual Pentium III 1GHz,
> 2GB RAM) with the RedHat 7.2 boxed RPMS for apache, mod_perl, mod_dav,
> etc., with the exception of PHP. I also have the most recent ucd-snmp
> rpms installed (ucd-snmp-4.2.3-1.7.2.3). With all of these rpms, I
> installed the devel rpms for everything except the apache modules.
>
> I downloaded the php-4.1.2 source and configured it to use apxs, and to
> enable snmp. When I issue the configure, I get an error about simple
> feature detection issues, which I am not knowledgable enough to resolve
> (see attached debug.log.) And when I go to build, I get a snmp related
> compiler error.
>
> Can someone give me hand on compiling php with Redhat 7.2 and ucd-snmp?
> I was reading the in the php docs about something that also needs to be
> done to the ucd-snmp source before the ucd-snmp source is compiled which
> may mean that I have to get and manually build snmp, but I am hoping
> someone on the list can give me some pointers on what should be done.
>
> Let me know if anyone can't read the two attached files (debug.log, and
> builderror.log.)
>
> Thanks in advance for any help that any can give me.
>
> Nicholas
>


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


> CONFIGURE:   './configure' '--with-mysql=/usr' '--with-apxs'
'--with-snmp=/usr/include/ucd-snmp'
> CC:         gcc
> CFLAGS:     -g -O2
>
CPPFLAGS:    -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/va
r/run/httpd.mm
> CXX:
> CXXFLAGS:
>
INCLUDES:    -I/usr/include/apache  -I$(top_builddir)/Zend -I/usr/include/my
sql -I/usr/include/ucd-snmp/include
>
LDFLAGS:     -Wl,-rpath,/usr/include/ucd-snmp/lib -L/usr/include/ucd-snmp/li
b
>
LIBS:       -lsnmp -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -
lcrypt
> DLIBS:
> SAPI:       apache
> PHP_RPATHS:  /usr/include/ucd-snmp/lib
> uname -a:   Linux vulcan.lfc.edu 2.4.9-31custom #1 SMP Thu Mar 14 11:21:30
CST 2002 i686 unknown
>
> gcc -o
conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH
=/var/run/httpd.mm  -Wl,-rpath,/usr/include/ucd-snmp/lib -L/usr/include/ucd-
snmp/lib
onftest.c -lsnmp -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lc
rypt 1>&5
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_DigestInit'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_DigestFinal'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_md5'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `HMAC'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_sha1'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `des_cbc_encrypt'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `des_key_sched'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `EVP_DigestUpdate'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `RAND_bytes'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsnmp.so: undefined
reference to `des_ncbc_encrypt'
> collect2: ld returned 1 exit status
>


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


>
> Making all in Zend
> make[1]: Entering directory `/root/f_www/php-4.1.2/Zend'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/root/f_www/php-4.1.2/Zend'
> Making all in main
> make[1]: Entering directory `/root/f_www/php-4.1.2/main'
> make[2]: Entering directory `/root/f_www/php-4.1.2/main'
> /bin/sh /root/f_www/php-4.1.2/libtool --silent --mode=compile
gcc  -I. -I/root/f_www/php-4.1.2/main -I/root/f_www/php-4.1.2/main -I/root/f
_www/php-4.1.2 -I/usr/include/apache -I/root/f_www/php-4.1.2/Zend -I/usr/inc
lude/mysql -I/usr/include/ucd-snmp/include -I/root/f_www/php-4.1.2/ext/xml/e
xpat  -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/h
ttpd.mm -I/root/f_www/php-4.1.2/TSRM -g -O2 -prefer-pic  -c
internal_functions.c
> /bin/sh /root/f_www/php-4.1.2/libtool --silent --mode=link
gcc  -I. -I/root/f_www/php-4.1.2/main -I/root/f_www/php-4.1.2/main -I/root/f
_www/php-4.1.2 -I/usr/include/apache -I/root/f_www/php-4.1.2/Zend -I/usr/inc
lude/mysql -I/usr/include/ucd-snmp/include -I/root/f_www/php-4.1.2/ext/xml/e
xpat  -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/h
ttpd.mm -I/root/f_www/php-4.1.2/TSRM -g -O2 -prefer-pic   -o libmain.la
main.lo internal_functions.lo snprintf.lo php_sprintf.lo safe_mode.lo
fopen_wrappers.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo
php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo reentrancy.lo
php_variables.lo php_ticks.lo streams.lo network.lo
php_open_temporary_file.lo php_logos.lo output.lo
> make[2]: Leaving directory `/root/f_www/php-4.1.2/main'
> make[1]: Leaving directory `/root/f_www/php-4.1.2/main'
> Making all in ext
> make[1]: Entering directory `/root/f_www/php-4.1.2/ext'
> Making all in mysql
> make[2]: Entering directory `/root/f_www/php-4.1.2/ext/mysql'
> make[3]: Entering directory `/root/f_www/php-4.1.2/ext/mysql'
> make[3]: Nothing to be done for `all-p'.
> make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/mysql'
> make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/mysql'
> Making all in pcre
> make[2]: Entering directory `/root/f_www/php-4.1.2/ext/pcre'
> Making all in pcrelib
> make[3]: Entering directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
> make[4]: Entering directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
> make[4]: Nothing to be done for `all-p'.
> make[4]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
> make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre/pcrelib'
> make[3]: Entering directory `/root/f_www/php-4.1.2/ext/pcre'
> make[3]: Nothing to be done for `all-p'.
> make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre'
> make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/pcre'
> Making all in posix
> make[2]: Entering directory `/root/f_www/php-4.1.2/ext/posix'
> make[3]: Entering directory `/root/f_www/php-4.1.2/ext/posix'
> make[3]: Nothing to be done for `all-p'.
> make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/posix'
> make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/posix'
> Making all in session
> make[2]: Entering directory `/root/f_www/php-4.1.2/ext/session'
> make[3]: Entering directory `/root/f_www/php-4.1.2/ext/session'
> make[3]: Nothing to be done for `all-p'.
> make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/session'
> make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/session'
> Making all in snmp
> make[2]: Entering directory `/root/f_www/php-4.1.2/ext/snmp'
> make[3]: Entering directory `/root/f_www/php-4.1.2/ext/snmp'
> /bin/sh /root/f_www/php-4.1.2/libtool --silent --mode=compile
gcc  -I. -I/root/f_www/php-4.1.2/ext/snmp -I/root/f_www/php-4.1.2/main -I/ro
ot/f_www/php-4.1.2 -I/usr/include/apache -I/root/f_www/php-4.1.2/Zend -I/usr
/include/mysql -I/usr/include/ucd-snmp/include -I/root/f_www/php-4.1.2/ext/x
ml/expat  -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/r
un/httpd.mm -I/root/f_www/php-4.1.2/TSRM -g -O2 -prefer-pic  -c snmp.c
> snmp.c:62:18: asn1.h: No such file or directory
> snmp.c:63:22: snmp_api.h: No such file or directory
> snmp.c:64:25: snmp_client.h: No such file or directory
> snmp.c:65:23: snmp_impl.h: No such file or directory
> snmp.c:66:18: snmp.h: No such file or directory
> snmp.c:67:19: parse.h: No such file or directory
> snmp.c:68:17: mib.h: No such file or directory
> snmp.c:69:21: version.h: No such file or directory
> make[3]: *** [snmp.lo] Error 1
> make[3]: Leaving directory `/root/f_www/php-4.1.2/ext/snmp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/f_www/php-4.1.2/ext/snmp'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/f_www/php-4.1.2/ext'
> make: *** [all-recursive] Error 1
>


--- End Message ---
--- Begin Message ---
Hi!

Is the subj still doesn't work together?


--- End Message ---

Reply via email to