[PHP-INST] make error

2003-01-15 Thread Eicke Felipe
Hi Folks

The following error appear when I try to make php:

ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so: wrong ELF
 class: ELFCLASS64
ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so: wrong ELF
 class: ELFCLASS64
ld: fatal: File processing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


My configure is:

./configure --with-apache=/usr/share/apache --with-oracle=/usr/share/oracle 
--with-oci8


Could anybody help me?


php-install Digest 15 Jan 2003 11:35:36 -0000 Issue 1202

2003-01-15 Thread php-install-digest-help

php-install Digest 15 Jan 2003 11:35:36 - Issue 1202

Topics (messages 9694 through 9701):

Re: Embed word, excel and pdf documents
9694 by: William Cheung
9695 by: Stephen Cuppett

Re: PHP 4.3 Upgrade on redhat 8
9696 by: Jeanne Case

4.2.3 and 4.3.0 - bus error w/ apache 1.3.27/mod_ssl and squirrelmail 4.0
9697 by: Brian C. Hill

Re: phpinfo() still shows 4.2.2 after 4.3 install
9698 by: Sudiarsa Imade
9699 by: Alan W. Rateliff, II
9700 by: Jason Reid

make error
9701 by: Eicke Felipe

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 ---
There are other information in the web page before the PHP code. I didn't
use ob_start(). Should I use it before the header() function? Will it allow
me to change header information then?

William

-Original Message-
From: Naqashzade, Sadeq [mailto:[EMAIL PROTECTED]] 
Sent: January 13, 2003 9:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: Embed word, excel and pdf documents


Hi,
Did you send any things for output before use Header() or not? if you do
this did you used ob_start() or not?

-Sadeq

"William Cheung" <[EMAIL PROTECTED]> wrote in message
001001c2bb2b$dd7b0510$[EMAIL PROTECTED]">news:001001c2bb2b$dd7b0510$[EMAIL PROTECTED]...
I have stored Word, Excel and PDF documents in a database. Now I am trying
to retrieve the documents from the database using PHP and embed them onto an
html web page. I don't want to use hyperlink. The documents will be
displayed on the web page along with other information. When I use header()
function to specify the type of document I want to display in PHP. I got the
error saying that I can't change the header information on a web page. I
tried to set the second parameter of header() to True/False but none help.
What could I do?

William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
There is no way that I am aware to just stop/pause what type of document
you are printing (which if you are embedding, then you have already
started a document of type text/html) and put another document type.

However, there are two types of solutions for this one:

If what you are displaying are images from a database, then you could use
the IMG tag of html with a SRC attribute of something like
"mypage.php?ImgID=239" and then from that PHP page do your image pull from
the database, respond with a header of "image/jpeg" or whatever for that
type of image and then the binary contents.

If, from you message, you are really displaying things like Word/Excel,
PDF, etc. you will need to create an IFRAME or LAYER tag to get another
page onto a page with the page location being "mypage.php?DocID=" and
then responding with the appropriate header and then outputting the binary
contents.

For either solution, the easiest way is to say to yourself, "How would I
get the particular document type from the filesystem into this HTML page?"
and then just do that, but replace the part where you specify the
filesystem document with your SECOND php page that returns the document
from the database.

"William Cheung" <[EMAIL PROTECTED]> wrote in message
001001c2bb2b$dd7b0510$[EMAIL PROTECTED]">news:001001c2bb2b$dd7b0510$[EMAIL PROTECTED]...
I have stored Word, Excel and PDF documents in a database. Now I am trying
to retrieve the documents from the database using PHP and embed them onto an
html web page. I don't want to use hyperlink. The documents will be
displayed on the web page along with other information. When I use header()
function to specify the type of document I want to display in PHP. I got the
error saying that I can't change the header information on a web page. I
tried to set the second parameter of header() to True/False but none help.
What could I do?

William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.


-- 
Stephen Cuppett, CEO
WebMasters, Inc.
http://www.webmastersinc.org
[EMAIL PROTECTED]
(814) 571-4987



--- End Message ---
--- Begin Message ---
Luke,
Basically, the SRPMS are just another file format that holds the tar.gz 
file. You can either download the SRPMS or just get the tar.gz file from 
PHP or Apache and do the compile. So for example you are going to build 
apache:

$ su -
# cd /tmp

put the packages here.

# rpm -i apache-1.3.19-5.src.rpm

Extract the tar file which are part of the SRPMS:

# tar -xzvf /usr/src/redhat/SOURCES/apache_1.3.19.tar.gz

After the files have been extracted, a directory is created under /tmp, 
namely the package_name_version, for example: apache_1.3.19.

# cd /tmp/apache_1.3.19
# pwd
# ./configure --prefix=/usr/local/apache
# make
# make install

So basic

[PHP-INST] Which php installs/builds on RH8?

2003-01-15 Thread Mitch Pirtle
H everyone,

Just asking if any 4.3.x (cvs or otherwise) will build on a current RedHat 8 
machine.  I've tried several cvs releases and 4.3.0 about 10 times.  I have 
the standard httpd and httpd-devel packages (including apxs).

I've been happily compiling PHP for years now, but just cannot figure out what 
is going on this time around.  I've heard that it was a gcc problem, and that 
it was fixed in CVS...  So, two questions:

1) What releases of PHP 4.3.x have successfully compiled on a RedHat 8 
machine?
2) What were the configure options used?

-- Mitch

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-INST] make error

2003-01-15 Thread warren daly
Your using 64 bit libraries whilst
LD_LIBRARY_PATH points to the 32 bit libraries? 

If so, you will need to build 64-bit versions of the necessary
libraries.
regards,
Warren 

Warren Daly - Network Engineer
HEAnet Ltd. 
Brooklawn House, Crampton Avenue, Shelbourne Rd, Dublin 4, Ireland.  
Tel:+353-1-660 9040 
Fax:+353-1-660 3666 
 
Web: <> 

-Original Message-
From: Eicke Felipe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 11:36 AM
To: php-install
Subject: [PHP-INST] make error


Hi Folks

The following error appear when I try to make php:

ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so:
wrong ELF
 class: ELFCLASS64
ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so:
wrong ELF
 class: ELFCLASS64
ld: fatal: File processing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


My configure is:

./configure --with-apache=/usr/share/apache
--with-oracle=/usr/share/oracle --with-oci8


Could anybody help me?



smime.p7s
Description: application/pkcs7-signature


[PHP-INST] PHP with 2 diffrent versions of Apache on same machine

2003-01-15 Thread SuratSingh Bhati



Hi,

I would like to use the Apache2+PHP(latest) , and Apache1.3+PHP(latest)
on same machine.

We can complie the PHP using the APXS as DSO, using diffrent
APXS for each Apache. This will create a sepereate DSO library
for each Apache.

But PHP installs some other files at /usr/local/lib/php , can we keep
commom set of such file for both the Apache version?

Someone had such exprience before?

Any other complication in by using diffrent Apache version with same PHP
version on same server?

Regards,

-Surat



_
The new MSN 8 is here: Try it free* for 2 months 
http://join.msn.com/?page=dept/dialup


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-INST] running PHP 3 and 4 at the same time

2003-01-15 Thread Yakov Cherkassky
Hello,

Quick question: 

Can PHP 3 and PHP 4.3.0 run concurrently from on Win2Kpro/IIS 5??

My first posting,
Thanks,
Yakov.


-Original Message-
From: Mitch Pirtle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 6:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Which php installs/builds on RH8?


H everyone,

Just asking if any 4.3.x (cvs or otherwise) will build on a current RedHat 8

machine.  I've tried several cvs releases and 4.3.0 about 10 times.  I have 
the standard httpd and httpd-devel packages (including apxs).

I've been happily compiling PHP for years now, but just cannot figure out
what 
is going on this time around.  I've heard that it was a gcc problem, and
that 
it was fixed in CVS...  So, two questions:

1) What releases of PHP 4.3.x have successfully compiled on a RedHat 8 
machine?
2) What were the configure options used?

-- Mitch

-- 
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-INST] Libtool error

2003-01-15 Thread Jose
When i do "make install" shows this error:
Installing PHP SAPI module
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp4.so
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/software2/php5-200301091353/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.so: Un archivo o directorio en la
vía de acceso no existe.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 El código de error del último mandato es 1.

If i edit instdso.sh, remove rm -f /usr/local/apache2/modules/libphp4.so
line and cp libphp4.so to /usr/local/apache2/modules all go fine , but this
error continue:

libtool: install: warning: remember to run `libtool --finish
/software2/php5-200301091353/libs'

I have probed with php-4.2.2,4.2.3,4.3.0, php4-x. and php5-200301091353, but
the result is the same.




Tu portal de Aix en Español
http://aixpanish.com




[PHP-INST] php from command line

2003-01-15 Thread Pradeep Tallogu

hi all,

i need to try out a few php scripts. do i need to have a webserver installed already 
to install php. or is there a way i can install php so that i can use it from the 
command line.

Thanks.

Pradeep.



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


php-install Digest 16 Jan 2003 00:51:12 -0000 Issue 1203

2003-01-15 Thread php-install-digest-help

php-install Digest 16 Jan 2003 00:51:12 - Issue 1203

Topics (messages 9702 through 9707):

Which php installs/builds on RH8?
9702 by: Mitch Pirtle

Re: make error
9703 by: warren daly

PHP with 2 diffrent versions of Apache on same machine
9704 by: SuratSingh Bhati

running PHP 3 and 4 at the same time
9705 by: Yakov Cherkassky

Libtool error
9706 by: Jose

php from command line
9707 by: Pradeep Tallogu

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 ---
H everyone,

Just asking if any 4.3.x (cvs or otherwise) will build on a current RedHat 8 
machine.  I've tried several cvs releases and 4.3.0 about 10 times.  I have 
the standard httpd and httpd-devel packages (including apxs).

I've been happily compiling PHP for years now, but just cannot figure out what 
is going on this time around.  I've heard that it was a gcc problem, and that 
it was fixed in CVS...  So, two questions:

1) What releases of PHP 4.3.x have successfully compiled on a RedHat 8 
machine?
2) What were the configure options used?

-- Mitch

--- End Message ---
--- Begin Message ---
Your using 64 bit libraries whilst
LD_LIBRARY_PATH points to the 32 bit libraries? 

If so, you will need to build 64-bit versions of the necessary
libraries.
regards,
Warren 

Warren Daly - Network Engineer
HEAnet Ltd. 
Brooklawn House, Crampton Avenue, Shelbourne Rd, Dublin 4, Ireland.  
Tel:+353-1-660 9040 
Fax:+353-1-660 3666 
 
Web: <> 

-Original Message-
From: Eicke Felipe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 11:36 AM
To: php-install
Subject: [PHP-INST] make error


Hi Folks

The following error appear when I try to make php:

ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so:
wrong ELF
 class: ELFCLASS64
ld: fatal: file /usr/local/db/install/Oracle.9i.rel2/lib/libclntsh.so:
wrong ELF
 class: ELFCLASS64
ld: fatal: File processing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


My configure is:

./configure --with-apache=/usr/share/apache
--with-oracle=/usr/share/oracle --with-oci8


Could anybody help me?



smime.p7s
Description: application/pkcs7-signature
--- End Message ---
--- Begin Message ---



Hi,

I would like to use the Apache2+PHP(latest) , and Apache1.3+PHP(latest)
on same machine.

We can complie the PHP using the APXS as DSO, using diffrent
APXS for each Apache. This will create a sepereate DSO library
for each Apache.

But PHP installs some other files at /usr/local/lib/php , can we keep
commom set of such file for both the Apache version?

Someone had such exprience before?

Any other complication in by using diffrent Apache version with same PHP
version on same server?

Regards,

-Surat



_
The new MSN 8 is here: Try it free* for 2 months 
http://join.msn.com/?page=dept/dialup

--- End Message ---
--- Begin Message ---
Hello,

Quick question: 

Can PHP 3 and PHP 4.3.0 run concurrently from on Win2Kpro/IIS 5??

My first posting,
Thanks,
Yakov.


-Original Message-
From: Mitch Pirtle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 6:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Which php installs/builds on RH8?


H everyone,

Just asking if any 4.3.x (cvs or otherwise) will build on a current RedHat 8

machine.  I've tried several cvs releases and 4.3.0 about 10 times.  I have 
the standard httpd and httpd-devel packages (including apxs).

I've been happily compiling PHP for years now, but just cannot figure out
what 
is going on this time around.  I've heard that it was a gcc problem, and
that 
it was fixed in CVS...  So, two questions:

1) What releases of PHP 4.3.x have successfully compiled on a RedHat 8 
machine?
2) What were the configure options used?

-- Mitch

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
When i do "make install" shows this error:
Installing PHP SAPI module
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp4.so
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/software2/php5-200301091353/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.so: Un archivo o directorio en la
vía de acceso no existe.
apxs:Error:

Re: [PHP-INST] PHP with 2 diffrent versions of Apache on same machine

2003-01-15 Thread Bob Lockie
On 01/15/03 10:18 SuratSingh Bhati spoke thusly





Hi,

I would like to use the Apache2+PHP(latest) , and Apache1.3+PHP(latest)
on same machine.

We can complie the PHP using the APXS as DSO, using diffrent
APXS for each Apache. This will create a sepereate DSO library
for each Apache.

But PHP installs some other files at /usr/local/lib/php , can we keep
commom set of such file for both the Apache version?

Someone had such exprience before?

Any other complication in by using diffrent Apache version with same PHP
version on same server?

Regards,

-Surat 

I would just put Apache in different directories.
If you build PHP as a DSO then you specify where it puts the shared 
library (libexec for Apache 1.3 and modules for Apache 2 but under their 
directories anyways).



--

Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-INST] php from command line

2003-01-15 Thread Bob Lockie
On 01/15/03 19:51 Pradeep Tallogu spoke thusly


hi all,

i need to try out a few php scripts. do i need to have a webserver installed already to install php. or is there a way i can install php so that i can use it from the command line.

Thanks.

Pradeep.


You don't need a web server.
I think the command line version is the default, read the documentation.


--

Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-INST] PHP 4.3.0, can't get CLI to work

2003-01-15 Thread Brent Meshier
I get the following error from the php client:
 
[bmeshier@martin bmeshier]$ php
HTTP/1.0 0 X
Content-type: text/html
 
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/imap.so' - /usr/lib/php/extensions/imap.so:
undefined symbol: SSL_library_init in Unknown on line 0
 
Any ideas?
 
On a side note, I had to disable -with-mm, was getting a seg fault with
the client although the dso works fine.
 
On a Mandrake 8.1 box I configured and made using -
 
./configure --with-apxs --with-mysql=/usr --with-mcrypt=shared
--with-mhash=shared --enable-pic --enable-inline-optimization
--prefix=/usr --with-zlib --with-config-file-path=/etc
--enable-magic-quotes --enable-track-vars --with-exec-dir=/usr/bin
--with-regex=system --enable-trans-sid  --with-dbase --with-filepro
--enable-yp --enable-ftp --with-xml=shared --with-gettext
--with-gd=shared,/tmp/gd --with-imap=shared,/tmp/imap-2002b
--with-pdflib=shared --with-snmp --with-tiff-dir=/usr
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr
--with-openssl=/usr/local/ssl --with-imap-ssl=/usr/local/ssl
--with-kerberos