[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ4, PHP and IMAP with StackGuard



Jeremy Wadsack schrieb:

>Goetz Lohmann (goetz.lohmann@xxxxxx; Monday, March 31, 2003 5:20 PM):
>  
>
>>Jeremy Wadsack schrieb:
>>    
>>
>>>Can you tell me what steps you had to take to make this build? Or
>>>did you not run into problems with missing definitions for
>>>__canary_death_handler()?
>>>      
>>>
>>I ran into trouble with that ...but Its quit a time ago ... I
>>installed a Stackguard Compiler which could Handle that.
>>    
>>
>Has Cobalt released a StackGuard compiler patch? I thought all these
>servers were up-to-date on Cobalt patches. Or did you build that by
>hand or from another source? Can you point me to that?
>
NOPE ... sadly, there is No StackGuard gcc Compiler from Sun Cobalt till
now.
But since Cobalt is a RedHat 6 Clone I used the Immunix gcc Compiler
which is
in fact also a RedHat 6 Clone (installed the rpm package from this
distribution).

With this i got it compiled fine ;-)

>>MySQL is always included in PHP since version 3.5 ??? ... maybe ... far
>>ago ... unless if you have
>>installed MySQL. It's just the function librarys to handle this. It's
>>not quit neccessary to have the server
>>installed and running too. Also the MySQL Library in PHP is a bit
>>independet to the running Server ...
>>maybe you only could use functions which are compatible ... the others
>>might fail or maybe unavailable,
>>but I never heard of any problems with it ... even if the MySQL server
>>for example  is 3.23.x and the
>>PHP Modul was 3.21.x ...
>>    
>>
>
>This is absolutely contrary to my experience. MySQL 3.22 server would
>never work with MySQL 3.23 libraries. I have always ended up building
>PHP with the installed MySQL library because there have been
>significant problems that seem to show that the client versions (even
>within the 3.23.xx set) are not compatible with different version
>servers.
>
curious ... never struggled with this, cause I used the internaly PHP
mysql functions
maybe ... anyway ... I build a PHP 4.3.1 with StackGuard now depending on

rpm -qa|grep MySQL
MySQL-shared-3.23.54-1

you might download it from:

http://www.edutaine.net/downloads/php431.tar.gz

it includes the following files:

/usr/lib/apache/libphp4.so
/usr/lib/apache/php/curl.so
/usr/lib/apache/php/dba.so
/usr/lib/apache/php/gd.so
/usr/lib/apache/php/imap.so
/usr/lib/apache/php/interbase.so
/usr/lib/apache/php/ldap.so
/usr/lib/apache/php/mcrypt.so
/usr/lib/apache/php/ming.so
/usr/lib/apache/php/pdf.so
/usr/lib/apache/php/pgsql.so
/usr/lib/apache/php/wddx.so

here is the config command used:

./configure \
--prefix=/usr \
--enable-magic-quotes \
--enable-mbstr-enc-trans \
--enable-mbstring \
--enable-mm=shared \
--enable-calendar \
--enable-dba=shared \
--enable-dbase \
--enable-dbx \
--enable-ftp \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-safe-mode \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx=shared \
--enable-xml \
--disable-debug \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/httpd \
--with-curl=shared \
--with-dba=shared \
--with-db3=/usr/include/db3 \
--with-exec-dir=/usr/bin \
--with-flatfile \
--with-freetype-dir=/usr/local/freetype2 \
--with-gd=shared \
--with-gdbm=/usr/include/gdbm \
--with-gettext=/usr \
--with-gdbm=shared \
--with-imap=shared \
--with-imap-ssl \
--with-interbase=shared \
--with-jpeg-dir=/usr/lib \
--with-kerberos \
--with-ldap=shared \
--with-libdir=/usr/lib \
--with-mbstr-enc-trans \
--with-mbstring=shared \
--with-mcrypt=shared \
--with-ming=shared \
--with-mysql \
--with-openssl=/usr/local/ssl \
--with-pdflib=shared \
--with-png-dir=/usr/lib \
--with-pgsql=shared \
--with-regex=system \
--with-ttf=/usr/include/freetype \
--with-t1lib=/usr/local/t1lib \
--with-tiff-dir=/usr/lib \
--with-zlib \
--with-xpm-dir=/usr/lib

>OTOH, maybe PHP has improved their distributed client since the last
>time I tried this. After all they just bundled gd and made it very
>friendly.
>
maybe ...

>>By the way ... In the next week I wil try to compile PHP4.3.1 on a RaQ4 ...
>>    
>>
>Likely I will be doing the same here.
>  
>
finaly got it ready ;-)


-- 

¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸

Götz Lohmann  |  D-Mannheim  |  Web-Developer & Sys-Admin
---------------------------------------------------------
He's the fellow that people wonder what he does and why
the company needs him, until he goes on vacation.
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸