php-install Digest 16 May 2002 07:32:41 -0000 Issue 837

Topics (messages 6996 through 7004):

Solaris 7 / iPlanet 4.1 Install
        6996 by: Thomas Finley

make install
        6997 by: Shanti Kunchaparty

Re: Is ISAPI production ready
        6998 by: Steen Rabol

Re: SIze of libphp4.so
        6999 by: Rasmus Lerdorf

PHP upgrade
        7000 by: Yazid Benakmoum

compiling PHP 4.2 with MySQL support
        7001 by: Martin Tsachev

php4.2.1 with apache2.0.36
        7002 by: Michael Schummel
        7003 by: Michael Schummel

Problem with GD support for JPEG images
        7004 by: Lukas Barton

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 ---
Please help. I'm installing php on a Solaris 7 server that is running
iplanet 4.1.

PHP Version 4.2.1

Configure: (I had more compiled in (gd, gdbm...) but error below occured so
I cut it down)

./configure --with-nsapi=/usr/netscape/server4 --enable-libgcc \

--prefix=/usr --with-mysql=/usr/local/mysql --enable-track-vars

The Error:

bash-2.05# make

Making all in Zend

make[1]: Entering directory `/usr/share/src/php-4.2.1/Zend'

/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PT
HREAD_SEMANTICS -D_REENTRANT -I../TSRM -g -O2 -pthreads -DZTS -prefer-pic -c
 -o zend_language_parser.lo `test -f zend_language_parser.c || echo
'./'`zend_language_parser.c

In file included from zend_compile.h:24,

from zend_language_parser.c:147:

zend.h:55: unix.h: No such file or directory

make[1]: *** [zend_language_parser.lo] Error 1

make[1]: Leaving directory `/usr/share/src/php-4.2.1/Zend'

make: *** [all-recursive] Error 1

Thomas Finley

[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Hello
I am trying to install PHP version 4.2.1 on redhat linux version 7.2
with mysql and apache version 2.0.35
The configure command used was:
./configure --prefix=/usr/local/php/
--with-mysql=/srv/local/mysql/mysql-3.23.49a-pc-linux-gnu-i686
--with-xml\ 
--with-apxs2=/usr/local/apache/bin/apxs --enable-shared-pdflib
--enable-track-vars
the make command ran fine but when I try to do a make install I get the
following error:

Making install in .
make[1]: Entering directory `/eve/dist/saxs/php/php-4.2.1'
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/eve/dist/saxs/php/php-4.2.1'
make: *** [install-recursive] Error 1

Any help will be appreciated!
Shanti
-- 
Shanti Kunchaparty,
--- End Message ---
--- Begin Message ---
Hi

Hmm

It was not my intention to start a war, but just a simple question to hear if the 
ISAPI is considered stable.

Steen


"Shrock, Court" <[EMAIL PROTECTED]> wrote:
> That depends on if you think IIS is stable?
> 
> > -----Original Message-----
> > From: Steen Rabol [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 14, 2002 12:33 AM
> > To: PHP Install
> > Subject: [PHP-INST] Is ISAPI production ready
> > 
> > 
> > Hi
> > 
> > I've tried several times, without luck but....
> > 
> > Is the php4isapi.dll considered stable enough for
> production use ?
> > 
> > Steen
> > 
> > -- 
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
man strip

On Wed, 15 May 2002, chad kellerman wrote:

> Rasmus,
>
>    I am sorry but I am unfamiliar with this term.  What is stripping?
>
> thanks,
> chad
>
>
>
> On Tue, 14 May 2002 19:37:06 -0700 (PDT)
> Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
>
> > Did you strip yours?
> >
> > On Tue, 14 May 2002, chad kellerman wrote:
> >
> > > Hi everyone,
> > >
> > >    I was wondering what the appropriate size for the libphp4.so module should 
>be?  I am running php4.2.1 with apache 1.3.20.
> > >
> > >      It seems that the basic red hat install of php 1.3M  I just compiled php 
>with the following options:
> > >
> > > ./configure --with-apxs=/etc/httpd/bin/apxs --with-apache=../apache_1.3.20 
>--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc2.1 
>--with-mysql=/usr/local/mysql --with-gdbm=/usr/local/lib --enable-bcmath 
>--enable-dbase --enable-ftp --enable-track-vars --enable-trans-sid 
>--disable-posix-threads --disable-debug --with-gd=/usr/local --enable-gd-native-ttf 
>--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/lib --with-mcrypt=/usr/local 
>--with-curl=/usr/local --with-xml --with-zlib --enable-memory-limit=yes
> > >
> > > and got an so 3M.
> > >
> > >    THis just doesn't seem right, especially when phpinfo() returns almost the 
>same information.
> > >
> > >
> > > Anyone know what the scoop is?
> > >
> > > THanks,
> > >
> > > --Chad
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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

        I'm having apache 1.3 with php 4.0.6 I want to upgrade php to 4.1.2 how can
I do this.

--- End Message ---
--- Begin Message ---
I compiled PHP 4.2 with MySQL support but it can't connect to the database, it
was working OK with PHP 4.1.2. I then tried to use the full path to the MySQL
client( if for some reason the packed client is outdated?) but it didn't work
neither. When I build PHP 4.1.2 again it worked.

The problem arises when connecting to the database - I thought it may be a
problem with PEAR::DB but the native MySQL connect() doesn't work.

I couldn't find any information on that nor in the PHP manual nor in mailing
archives, can you please help?


-----------------------
Martin Tsachev
Web developer, MetaVisia

http://members.evolt.org/shaggy/
[EMAIL PROTECTED]


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

I tried to compile php4.2.1 for apache 2.0.36 and mysql. I used the
following configure parameters:

./configure --prefix=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apx
s --with-config-file-path=/usr/local/php4 --with-mysql

configure seems to run well but I do not understand most of the show lines,
then I started make and that finnished to fast with the following errors:

/bin/sh /usr/src/php-4.2.1/libtool --silent --mode=link
gcc  -I. -I/usr/src/php-4.2.1/ -I/usr/src/php-4.2.1/main -I/usr/src/php-4.2.
1 -I/usr/local/apache2/include -I/usr/src/php-4.2.1/Zend -I/usr/src/php-4.2.
1/ext/mysql/libmysql -I/usr/src/php-4.2.1/ext/xml/expat  -D_REENTRANT -I/usr
/src/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic   -o
libphp4.la -rpath /usr/src/php-4.2.1/libs -avoid-version   stub.lo
Zend/libZend.la sapi/apache2filter/libsapi.la main/libmain.la
regex/libregex.la /usr/src/php-4.2.1/ext/ctype/libctype.la
/usr/src/php-4.2.1/ext/mysql/libmysql.la
/usr/src/php-4.2.1/ext/pcre/libpcre.la
/usr/src/php-4.2.1/ext/posix/libposix.la
/usr/src/php-4.2.1/ext/session/libsession.la
/usr/src/php-4.2.1/ext/standard/libstandard.la
/usr/src/php-4.2.1/ext/xml/libxml.la
TSRM/libtsrm.la -lpam -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
make[1]: Leaving directory `/usr/src/php-4.2.1'


/usr/i486-suse-linux/bin/ld:stub.lo: file format not recognized; treating as
linker script
/usr/i486-suse-linux/bin/ld:stub.lo:2: parse error
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1


sorry for this long message, does anyone know what is wrong on my linux box
(linux suse 7.2)

Michael



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

sorry I've got it. First I had some bad compile trails that left bad files
in my source tree, but when I deleted the complete tree und untared the tar
file again, then the shown configure parameters worked well.

Great, now it's running. (next step is tomcat with virtual hosts)

Michael

----
german java webspace on www.go-jsp.de



--- End Message ---
--- Begin Message ---
gd-jpeg: JPEG library reports unrecoverable error: JPEG parameter struct
mismatch: library thinks size is 464, caller expects 428
X-Powered-By: PHP/4.1.2
Content-type: text/html; charset=iso-8859-1

<br>
<b>Warning</b>:  imagecreatefromjpeg: '/home/shop/test_img/test.jpeg' is not
a valid JPEG file in <b>/home/shop/test_img/ikona_upload.php</b> on line
<b>4</b><br>


    Thx for help,

        Lukas




--- End Message ---

Reply via email to