php-install Digest 21 Oct 2002 21:50:24 -0000 Issue 1080

Topics (messages 8862 through 8871):

Re: Problems with PHP 4.2.3 & IIS 5.1 & WinXP
        8862 by: David Barrett

Help Please.
        8863 by: Alfredo Jimenez

mcrypt
        8864 by: Chris Boget

Error on POST method
        8865 by: noor2002

Re: PHP 4.3.0Pre1 - Mcrypt - OSX
        8866 by: Dean Dahnke

Help Please 2.
        8867 by: Alfredo Jimenez

Error Compiling
        8868 by: Francisco Puente (CEA)

help installing
        8869 by: Marcos A. Rivera

openldap and php, error
        8870 by: dweise

make fails for iplanet 4.1
        8871 by: Brian Vaughan

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 ---
Ok, I want you to picture someone on their knees with a picture of complete
and abject humiliation on their face as you read this.

It WAS the register_globals setting.  I have been using the PHP.ini that I
use for all my installations... but I obviously screwed up somewhere along
the line.  I fell into the mistake of believing it couldn't be something so
obvious.

Thanks for your help Stuart.  You are now welcome to make as many sarcastic
and cutting comments as you like... I certainly deserve them!

Oh well... we live and learn.  On this basis, I am apparently the only
person (according to this newsgroup!) that has got the PHP 4.2.3 and Apache
2.0.43 working together?  I can't believe this is the case, though...


"Stuart" <[EMAIL PROTECTED]> wrote in message
news:3E3C18B2-E147-11D6-B6DA-000393A7098C@;sharedserver.net...
> On Tuesday, Oct 15, 2002, at 01:08 Europe/London, David Barrett wrote:
> > Hehe... I love quick solutions... not...
> >
> > The problem has got to be with PHP 4.2.3.  I have the same using it
> > under
> > Apache 2.whatever the latest stable release is.  And my php.ini is the
> > same
> > as it is on all my other installations.
> >
> > Mind you, in my case the problem could be Apache, too... the above
> > versions
> > appear not to like each other.
> >
> > Any more ideas?  Oh, and can I have a page reference for any "look it
> > up in
> > manual" comments, please? ;-)
>
> Are you absolutely sure your php.ini file is exactly the same on each
> installation? You are aware that the default value for register_globals
> changed at version 4.2? If not, read the warning on this page:
> http://www.php.net/manual/en/language.variables.predefined.php
>
> If that's not it, have you tried echoing the variable. Have you tried
> doing a print_r (www.php.net/print_r) on $_GET and/or $_POST?
>
> --
> Stuart
>


--- End Message ---
--- Begin Message ---
I thinks I'm not not the first with this problem, but help me please.
I wan't to install PHP 4.2.3 as Apache 2 Module under Windows XP Professional, but I 
don't have anything.
Apache2 just don't start.

Help me please.
Alfredo Jimenez
--- End Message ---
--- Begin Message ---
I'm trying to install php with mcrypt support.  However, I'm
having serious problems configuring mcrypt.  Every time I
try, I get an error saying that it couldn't find libmcrypt.  The
only problem with that is I made and installed libmcrypt (the
right version to meet mcrypt's criteria) with no difficulty.
Has anyone had any experience installing mcrypt on RH 7.3?
Could you give me pointers as to what I may need to do?  Or
the steps you took to configure and make mcrypt?

Thanks!

Chris


--- End Message ---
--- Begin Message ---
Hallo,

I have installed PHP4 and Apache Server.
My problem is error if use POST method in Form Action.

Thank for your help.


noor

--- End Message ---
--- Begin Message ---
Mitch,

It doesnąt look to me like mcrypt support is built into OS X. Did you get
mcrypt from somewhere and install it before trying to build?

Dean


On 10/21/02 11:04 AM, "Dean Dahnke" <[EMAIL PROTECTED]> wrote:

> From: Mitch <[EMAIL PROTECTED]>
> Date: Sat, 19 Oct 2002 21:09:41 -0700
> To: [EMAIL PROTECTED]
> Subject: PHP 4.3.0Pre1 - Mcrypt - OSX
> 
> After some hacking (had to comment out a block depending on libmcrypt22
> in mcrypt.c around line 269), I got this far with the installation..
> But can't get any further.. Can anyone offer any help or is the mcrypt
> module just broken? :-)
> 
> Thanks!
> 
> gcc -g -O2  -L/usr/local/lib -L/usr/local/pgsql/lib  -L/usr/local/lib
> -L/usr/local/pgsql/lib ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o
> ext/bcmath/bcmath.o ext/bcmath/number.o ext/bcmath/libbcmath/src/add.o
> ext/bcmath/libbcmath/src/div.o ext/bcmath/libbcmath/src/init.o
> ext/bcmath/libbcmath/src/neg.o ext/bcmath/libbcmath/src/outofmem.o
> ext/bcmath/libbcmath/src/raisemod.o ext/bcmath/libbcmath/src/rt.o
> ext/bcmath/libbcmath/src/sub.o ext/bcmath/libbcmath/src/compare.o
> ext/bcmath/libbcmath/src/divmod.o ext/bcmath/libbcmath/src/int2num.o
> ext/bcmath/libbcmath/src/num2long.o ext/bcmath/libbcmath/src/output.o
> ext/bcmath/libbcmath/src/recmul.o ext/bcmath/libbcmath/src/sqrt.o
> ext/bcmath/libbcmath/src/zero.o ext/bcmath/libbcmath/src/debug.o
> ext/bcmath/libbcmath/src/doaddsub.o ext/bcmath/libbcmath/src/nearzero.o
> ext/bcmath/libbcmath/src/num2str.o ext/bcmath/libbcmath/src/raise.o
> ext/bcmath/libbcmath/src/rmzero.o ext/bcmath/libbcmath/src/str2num.o
> ext/ctype/ctype.o ext/mbstring/mbfilter_ja.o ext/mbstring/mbfilter_cn.o
> ext/mbstring/mbfilter_tw.o ext/mbstring/mbfilter_kr.o
> ext/mbstring/mbfilter_ru.o ext/mbstring/mbfilter.o
> ext/mbstring/mbstring.o ext/mbstring/mbregex.o
> ext/mbstring/php_mbregex.o ext/mbstring/html_entities.o
> ext/mbstring/php_unicode.o ext/mcrypt/mcrypt.o ext/overload/overload.o
> ext/pcre/pcrelib/maketables.o ext/pcre/pcrelib/get.o
> ext/pcre/pcrelib/study.o ext/pcre/pcrelib/pcre.o ext/pcre/php_pcre.o
> ext/pdf/pdf.o ext/pgsql/pgsql.o ext/posix/posix.o ext/session/session.o
> ext/session/mod_files.o ext/session/mod_mm.o ext/session/mod_user.o
> ext/standard/array.o ext/standard/base64.o
> ext/standard/basic_functions.o ext/standard/browscap.o
> ext/standard/crc32.o ext/standard/crypt.o ext/standard/cyr_convert.o
> ext/standard/datetime.o ext/standard/dir.o ext/standard/dl.o
> ext/standard/dns.o ext/standard/exec.o ext/standard/file.o
> ext/standard/filestat.o ext/standard/flock_compat.o
> ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o
> ext/standard/html.o ext/standard/image.o ext/standard/info.o
> ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o
> ext/standard/mail.o ext/standard/math.o ext/standard/md5.o
> ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o
> ext/standard/pageinfo.o ext/standard/parsedate.o
> ext/standard/quot_print.o ext/standard/rand.o ext/standard/reg.o
> ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o
> ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o
> ext/standard/url.o ext/standard/url_scanner.o ext/standard/var.o
> ext/standard/versioning.o ext/standard/assert.o
> ext/standard/strnatcmp.o ext/standard/levenshtein.o
> ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o
> ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o
> ext/standard/php_fopen_wrapper.o ext/standard/credits.o
> ext/standard/css.o ext/standard/var_unserializer.o ext/standard/ftok.o
> ext/standard/aggregation.o ext/standard/sha1.o
> ext/tokenizer/tokenizer.o ext/xml/xml.o ext/xml/expat/xmlparse.o
> ext/xml/expat/xmlrole.o ext/xml/expat/xmltok.o regex/regcomp.o
> regex/regexec.o regex/regerror.o regex/regfree.o TSRM/TSRM.o
> TSRM/tsrm_strtok_r.o TSRM/tsrm_virtual_cwd.o main/main.o
> main/snprintf.o main/spprintf.o main/php_sprintf.o main/safe_mode.o
> main/fopen_wrappers.o main/alloca.o main/php_ini.o main/SAPI.o
> main/rfc1867.o main/php_content_types.o main/strlcpy.o main/strlcat.o
> main/mergesort.o main/reentrancy.o main/php_variables.o
> main/php_ticks.o main/streams.o main/network.o
> main/php_open_temporary_file.o main/php_logos.o main/output.o
> main/memory_streams.o main/user_streams.o Zend/zend_language_parser.o
> Zend/zend_language_scanner.o Zend/zend_ini_parser.o
> Zend/zend_ini_scanner.o Zend/zend_alloc.o Zend/zend_compile.o
> Zend/zend_constants.o Zend/zend_dynamic_array.o Zend/zend_execute_API.o
> Zend/zend_highlight.o Zend/zend_llist.o Zend/zend_opcode.o
> Zend/zend_operators.o Zend/zend_ptr_stack.o Zend/zend_stack.o
> Zend/zend_variables.o Zend/zend.o Zend/zend_API.o
> Zend/zend_extensions.o Zend/zend_hash.o Zend/zend_list.o
> Zend/zend_indent.o Zend/zend_builtin_functions.o Zend/zend_sprintf.o
> Zend/zend_ini.o Zend/zend_qsort.o Zend/zend_multibyte.o
> Zend/zend_execute.o sapi/cgi/cgi_main.o sapi/cgi/getopt.o
> main/internal_functions.o  -lpq -lpdf -lz -lmcrypt -lz -lm  -o
> sapi/cgi/php-cgi
> ld: Undefined symbols:
> _end_mcrypt_cbc
> _end_mcrypt_cfb
> _end_mcrypt_ecb
> _end_mcrypt_ofb
> _init_mcrypt_cbc
> _init_mcrypt_cfb
> _init_mcrypt_ecb
> _init_mcrypt_ofb
> _mcrypt_cbc
> _mcrypt_cfb
> _mcrypt_ecb
> _mcrypt_get_algorithms_name
> _mcrypt_get_block_size
> _mcrypt_get_key_size
> _mcrypt_ofb
> _mdecrypt_cbc
> _mdecrypt_cfb
> _mdecrypt_ecb
> _mdecrypt_ofb
> 
> 
> 
> -Mitch
> 
> And in the end, it's not the years in your life that count. It's the
> life in your years.
> 
> 


--- End Message ---
--- Begin Message ---
Well, I worked with PHP 4.1.x and Apache 2.0.x, on Windows 2000 Professional. I got a 
web aplication developed on this plataform,
but all with PHP as a GCI. Now I want to work with PHP as "Apache Module", I tried all 
the instruction in "install.txt", but my Apache2 webwerver doesn't start.

The three lines: 
(1) LoadModule php4_module modules/php4apache2.dll
(2) AddModule mod_php4.c
(3) AddType application/x-httpd-php .php

Doesn't work, I tried only with lines (1) and (3) too. But nothing happened.

Please Helpme.
Thanks.
--- End Message ---
--- Begin Message ---
Hi, i got this error when compiling php-4.2.3 + apache-1.3.27 under RedHat7.2:
It worked before with the same ./configure paremeters....any clue?
This is the debug.log:
CONFIGURE:   './configure' '--with-apache=../apache_1.3.27' '--with-mysql' 
'--with-sybase-ct=/opt/sybase-11.9.2/'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:    -I/src/apache_1.3.27/src/include -I/src/apache_1.3.27/src/os/unix  
-I$(top_builddir)/Zend -I/src/php-4.2.3/ext/mysql/libmysql
LDFLAGS:
LIBS:       -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
DLIBS:
SAPI:       apache
PHP_RPATHS:
uname -a:   Linux ric2.xxx.xxxx.xxx 2.4.19 #1 SMP Wed Oct 16 09:58:48 ART 2002 i686 
unknown

gcc -o conftest -g -O2   conftest.c -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 
1>&5

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

Thanks in advance
Francisco
--- End Message ---
--- Begin Message ---
Using PHP 4.2.3 on IIS 5.1 for XP and have Website Systems Version 5.05
(e107 v5.05) in root folder of IIS.

Checked ISUR_Computername Security and it is set for read and execute in
php folder, and php.ini, also did php.exe -I in dos and everything is
fine.

Keep getting error when I try to go to page http://localhost/index.php
which file does exist and checkmark is check in php.exe to check files
1st in IIS.

Get Error:

CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:
--- End Message ---
--- Begin Message --- Hi,
After i compile php v4.2.1 on my Solaris 8 machine using this config for php:

./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs /
--with-gd=/usr/local --with-sockets /
--enable-track-vars --enable-force-cgi-redirect /
--with-gettext --with-ldap=/usr/local/downloads/openldap-2.0.25

i get an error trying to start my apache v1.3.24. the error is:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd:
fatal: relocation error: file /usr/local/apache/libexec/libphp4.so: symbol ldap_value_free: referenced
symbol not found
./apachectl start: httpd could not be started

i did a ldd on my libphp4.so and i get this output:
libdl.so.1 => /usr/lib/libdl.so.1
libpam.so.1 => /usr/lib/libpam.so.1
libmysqlclient.so.10 => /usr/local/mysql/lib/mysql/libmysqlclient.so.10
libintl.so.1 => /usr/lib/libintl.so.1
libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libc.so.1 => /usr/lib/libc.so.1
libz.so => /usr/lib/libz.so
libgen.so.1 => /usr/lib/libgen.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libmp.so.2 => /usr/lib/libmp.so.2

i have also include the full path in the httpd.conf file for libphp4.so. So now i'm stumped, can someone enlighten me? thanx.

--dave
unix guy
--- End Message ---
--- Begin Message --- I am trying to install PHP 4.2.3 on Solaris 7 with Iplanet 4.1SP11
I used the following config line:

./configure --with-mysql=/usr/local/mysql --with-nsapi=/disk1/netscape/server4 --enable-track-vars --enable-libgcc


I noticed the following during the configure, which is odd, since it obviously found the directory and determined which version. In fact, if you specify any other directory to configure, it aborts pretty quickly.

Configuring SAPI modules
..
..
checking for NSAPI support... /disk1/netscape/server4
checking for NSAPI include files... iPlanet/4.x style
./configure: -I/disk1/netscape/server4/plugins: does not exist

Configure runs all the way through, however the make itself fails with the following:

Making all in nsapi
make[2]: Entering directory `/disk2/source/php/php-4.2.3/sapi/nsapi'
make[3]: Entering directory `/disk2/source/php/php-4.2.3/sapi/nsapi'
/bin/sh /disk2/source/php/php-4.2.3/libtool --silent --mode=compile gcc -I. -I/disk2/source/php/php-4.2.3/sapi/nsapi -I/disk2/source/php/php-4.2.3/main -I/disk2/source/php/php-4.2.3 -I/include -I/disk2/source/php/php-4.2.3/Zend -I/usr/local/mysql/include -I/disk2/source/php/php-4.2.3/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/disk2/source/php/php-4.2.3/TSRM -g -O2 -pthreads -DZTS -prefer-pic -c nsapi.c
nsapi.c:50: nsapi.h: No such file or directory
nsapi.c:51: base/pblock.h: No such file or directory
nsapi.c:52: base/session.h: No such file or directory
nsapi.c:53: frame/req.h: No such file or directory
nsapi.c:54: frame/protocol.h: No such file or directory
nsapi.c:55: base/util.h: No such file or directory
nsapi.c:56: frame/log.h: No such file or directory
make[3]: *** [nsapi.lo] Error 1
make[3]: Leaving directory `/disk2/source/php/php-4.2.3/sapi/nsapi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/disk2/source/php/php-4.2.3/sapi/nsapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/disk2/source/php/php-4.2.3/sapi'
make: *** [all-recursive] Error 1

Any ideas?

I see all these files in the plugins/include directory. I also tried copying them to the /plugins directory, but got the same errorrs.
Please let me know if you need any additional info to help debug this.

thanks!



**********
Brian Vaughan
Corporate Webmaster, Web Services
FAME Information Services, Inc.
325 E. Eisenhower Parkway, Suite #301
Ann Arbor, MI 48108, U.S.A.
Tel: 734.332.4382 Fax: 734.332.4440
e-mail: [EMAIL PROTECTED]
http://www.fame.com/

--- End Message ---

Reply via email to