php-install Digest 3 Aug 2002 03:46:31 -0000 Issue 960
Topics (messages 7983 through 7991):
success solaris7 php4.2.2 apache1.3.26 mysql
7983 by: s.budd
apache + php + suexec == uid problem
7984 by: Daniel Nolte
Re: Error compiling PHP with OpenSSL
7985 by: jim
Apache 2.0 and libphp4.so
7986 by: md
7987 by: Jeffrey_N_Dyke.Keane.com
7988 by: Austin Gonyou
MD5 checksums for downloads
7989 by: Aleksander Adamowski
PHP 4.2.2 & Apache 2.0.39 => non-numeric argument
7990 by: Peter Lindberg
Configure PHP/PDFlib on WinXP
7991 by: HonkyInc.aol.com
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 ---
After a lot of doings, the following configure worked on solaris7 for
php-4.2.2 apache1.3.26 solaris 7 mysql
1 Installed gcc3.1 from the solaris distribution
2 Installed binutils from the solaris distrubution ( dont know if it was
needed )
3. set PATH=/usr/local/bin:$PATH export PATH
The apache is in the default location (/usr/local/apache) and was
compiled with
./configure --with-layout=Apache --enable-rule=SHARED_CORE
--add-module=src/modules/standard/mod_so.c
4. extracted the php-4.2.2 and ran configure with
./configure --enable-libgcc \
--enable-bcmath \
--with-mysql \
--with-apxs=/usr/local/apache/bin/apxs
The enable-libgcc and enable-bcmath were essential.
5. did make then make install.
Needed root access for the install as PEAR want to be in
/usr/local/bin ( which has only root write permissions on my sytem)
--- End Message ---
--- Begin Message ---Hi! I use apache 1.3.26 with suexec and php4 as cgi-module. But I have the following problem: I do not want to copy for every single user a php-binay, but suexec checks while executing the php-script, who owns the php-binary. suexec.log > error: target uid/gid (1004/2000) mismatch with directory (0/0) or program (0/0) I could now copy for every uid an own php-binary and configurate it in the virtualhost, but I do not think this is a good solution, is there no easier solution ? Bye Daniel--- End Message ---
--- Begin Message ---Further searching seems to indicate this is a problem with OpenSSL not PHP and will be fixed in later versions of OpenSSL . What puzzles me is that I have compiled this before with PHP4.2.1 and openssl 0.9.6 - both earlier than I'm trying with now. If there is any light anyone can shed on this it'd be good. "Jim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to compile PHP on Solaris using: > > ./configure \ > > --with-apxs=/usr/local/apache/bin/apxs \ > > --with-mysql \ > > --with-sybase=/usr/local/freetds \ > > --with-gd \ > > --enable-gd-native-ttf \ > > --with-curl \ > > --enable-ftp \ > > --with-mcrypt \ > > --with-snmp \ > > --with-ucd-snmp-hack \ > > --with-openssl=/usr/local/ssl > > > > I have done this before with earlier versions of OpenSSL successfully, but > having upgraded OpenSSL I cannot get PHP to compile. I get the error: > > > > /usr/local/sparc-sun-solaris2.8/bin/ld: .libs/libphp4.so: undefined > versioned symbol name des_encrypt1@@SUNWprivate_1.1 > > /usr/local/sparc-sun-solaris2.8/bin/ld: failed to set dynamic section sizes: > Bad value > > collect2: ld returned 1 exit status > > make[1]: *** [libphp4.la] Error 1 > > make[1]: Leaving directory `/opt/php-4.2.2' > > make: *** [all-recursive] Error 1 > > > > Versions of software: > > openssl: 0.9.6.d > > Solaris: 8 > > PHP: 4.2.2 > > > > Googling shows some possible issues I've tried to work around but I still > get same error. > > Any suggestions? > > >--- End Message ---
--- Begin Message ---Who knows how to make apache2 work with PHP4.2.2? I have tried a variety of configure options without success. My goal was to build libphp4.so but the closes I got was libphp4.a (A static library) It was built using: configure --with-mysql --with-apache=/path/to/apache Every other flavor of configure failed. FAILED: configure --with-mysql --with-apxs2=/path/to/apache/apxs -> Failes because header file is not visible. FAILED: configure --with-mysql --with-apxs=/path/to/apache/apxs -> Requires APXS2 for Apache 2 Anyone have any tips? Thanks, Mark Diener--- End Message ---
--- Begin Message ---
grab the latest stable from snaps.php.net. i think there are a couple
fixes out there as of 7/24 for different items, one being libraries. also
i noticed there is a warning in my make install that told me to run libtool
--finish. this was my configure(using the php from 7/24/02)
./configure
--prefix=/path/to/php
--with-config-file-path=/usr/local
--with-apxs2=/path/to/apache/bin/apxs
--enable-ftp
--enable-debugger
--with-mysql=/path/to/mysql
--with-zlib
HTH
Jeff
md
Sent by: root To: [EMAIL PROTECTED]
cc:
Subject: [PHP-INST] Apache 2.0 and
libphp4.so
08/02/2002
11:29 PM
Who knows how to make apache2 work with PHP4.2.2?
I have tried a variety of configure options without success.
My goal was to build libphp4.so but the closes I got was libphp4.a (A
static library)
It was built using: configure --with-mysql --with-apache=/path/to/apache
Every other flavor of configure failed.
FAILED: configure --with-mysql --with-apxs2=/path/to/apache/apxs ->
Failes because header file is not visible.
FAILED: configure --with-mysql --with-apxs=/path/to/apache/apxs ->
Requires APXS2 for Apache 2
Anyone have any tips?
Thanks,
Mark Diener
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---rebuild apache2 with --enable-so, if you've done that, and you have apxs , ensure it is accessible in the path. On Fri, 2002-08-02 at 22:29, md wrote: > Who knows how to make apache2 work with PHP4.2.2? > > I have tried a variety of configure options without success. > > My goal was to build libphp4.so but the closes I got was libphp4.a (A > static library) > > It was built using: configure --with-mysql > --with-apache=/path/to/apache > > Every other flavor of configure failed. > > FAILED: configure --with-mysql --with-apxs2=/path/to/apache/apxs -> > Failes because header file is not visible. > FAILED: configure --with-mysql --with-apxs=/path/to/apache/apxs -> > Requires APXS2 for Apache 2 > > Anyone have any tips? > > Thanks, > > Mark Diener > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Austin Gonyou <[EMAIL PROTECTED]> Coremetrics, Inc.--- End Message ---
signature.asc
Description: This is a digitally signed message part
--- Begin Message ---
Don't you think it would be very useful to have md5 checksums accompanying
all the files on download sites? Currently one can never be 100% sure
whether the package has been downloaded properly...
Best regards,
--
Olo
GG#: 274614
ICQ UIN: 19780575
http://olo.office.altkom.com.pl
--- End Message ---
--- Begin Message ---Hi! i have AIX 4.3.3, Apache 2.0.39, gcc-2.9-020209 both rpm installed from AIX Toolbox, (they had php also but v4.0.6 and that said "Exec format error"). And now i'm trying to install the "php4-STABLE-latest", In the manual i read that i should probably do a "./configure --with-mysql --with-apxs=/www/bin/apxs" but since i have Apache 2 i guess it would be "./configure --with-mysql --with-apxs2=/www/bin/apxs" right?, it's the first time i install php btw ;-).. but i get this error message: checking for Apache 2.0 module support via DSO through APXS... expr: non-numeric argument what can be wrong?, i haven't found anyone with a similar problem, so i figure i should ask here, Anyone have any tips?--- End Message ---
--- Begin Message ---
Hi everyone :o)
I have downloaded PDFlib (the latest version), and placed the php_pdf.dll
into both the extensions dir of PHP, and in the Windows dir of my sys. When
I try an example on my server (apache), however, a gray line appears running
across the top of the page, and the left side, but nothing else.
Has anyone else run into this problem before? Also, I'm having to use this
to get ANY PDFlib functions to work:
dl("php_pdf.dll");
Any ideas would help TONS! Thanks in advance!
Martin
--- End Message ---
