[PHP-INST] Help with Oracle

2003-01-14 Thread Eicke Felipe
Hi folks,
I have the following environment:

Solaris 9
Oracle 9.0.2 (64 bits)
Apache 1.3.26
php-4.3.0

I need to compile php with Oracle 9i support. The apache already running.
Could you help me?


php-install Digest 14 Jan 2003 16:31:02 -0000 Issue 1201

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

php-install Digest 14 Jan 2003 16:31:02 - Issue 1201

Topics (messages 9688 through 9693):

Re: PHP Install Problems W/FrontPage
9688 by: Martin DiViaio

Can't generate graphics
9689 by: Will Nordmeyer
9690 by: Pierre-Alain Joye

Re: Embed word, excel and pdf documents
9691 by: Naqashzade, Sadeq

PHP 4.3 Upgrade on redhat 8
9692 by: Luke Woollard

Help with Oracle
9693 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 ---


Unfortunately, the ports collection is not really an option. I have to
apply some other patches to the Apache sources besides the fp2002 stuff
and the ports collection makes that extreamly difficult.

By the way, I did manage to get it to work by recompiling php without imap
and mcal support. This is really a kludge since I do want both of these
options in php.



On the 13th day of January in the year 2003 you wrote:

> Date: Mon, 13 Jan 2003 08:59:39 +1000
> From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
> To: 'Martin DiViaio' <[EMAIL PROTECTED]>,
>  "'Timothy Hitchens (HiTCHO)'" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO version=2.20
> Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage
>
> You need to do a cvsup on your ports then redo using ports and all will
> be well:
>
> Current Ports after you do cvsup:  PHP 4.2.3 and Apache 1.3.2.7 etc
>
>
>
> Timothy Hitchens (HiTCHO)
> Open Platform Consulting
> e-mail: [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Martin DiViaio [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, 13 January 2003 8:43 AM
> > To: Timothy Hitchens (HiTCHO)
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage
> >
> >
> >
> >
> > My own compile, both Apache and PHP. The ports collection
> > only uses php-4.1.2.
> >
> >
> > On the 13th day of January in the year 2003 you wrote:
> >
> > > Date: Mon, 13 Jan 2003 08:31:44 +1000
> > > From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]>
> > > To: 'Martin DiViaio' <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED]
> > > X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO
> > version=2.20
> > > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage
> > >
> > > Did you install using ports/packages or your own compile under
> > > FreeBSD??
> > >
> > >
> > > Timothy Hitchens (HiTCHO)
> > > Open Platform Consulting
> > > e-mail: [EMAIL PROTECTED]
> > >
> > > > -Original Message-
> > > > From: Martin DiViaio [mailto:[EMAIL PROTECTED]]
> > > > Sent: Monday, 13 January 2003 8:05 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [PHP-INST] PHP Install Problems W/FrontPage
> > > >
> > > >
> > > >
> > > > I'm running Apache 1.3.27 on FreeBSD 4.7 and I'm having problems
> > > > getting FrontPage and PHP working together.
> > > >
> > > > Basically, when I start Apache, I get an error from mod_frontpage
> > > > that it can't read the output of the random number
> > command. This is
> > > > ONLY when I enable PHP (as a DSO). When PHP is disabled,
> > FrontPage
> > > > works perfectly.
> > > >
> > > > I've tried re-compiling PHP and Apache statically but that fails
> > > > when I go to re-configure Apache for libphp.a with the following
> > > > configure command:
> > > >
> > > > ./configure --prefix=/usr/local/apache \
> > > > --activate-module=src/modules/php4/libphp4.a \
> > > > --server-uid=www \
> > > > --server-gid=www \
> > > > --with-perl=/usr/bin/perl \
> > > > --with-layout=Apache \
> > > > --without-confadjust \
> > > > --enable-module=most \
> > > > --enable-module=auth_db \
> > > > --enable-module=mmap_static \
> > > > --add-module=./mod_frontpage.c \
> > > > --enable-shared=max \
> > > > --disable-shared=frontpage \
> > > > --disable-shared=php4 \
> > > > --enable-module=ssl \
> > > > --enable-module=define \
> > > > --enable-suexec \
> > > > --suexec-caller=www \
> > > > --suexec-uidmin=1000 \
> > > > --suexec-gidmin=1000 \
> > > > --suexec-logfile=/var/log/suexec.log \
> > > > --suexec-userdir=public_html \
> > > >
> > > >
> > > > I get the following from configure:
> > > >
> > > > Configuring for Apache, Version 1.3.27
> > > >  + using installation path layout: Apache (config.layout)
> > > >  + activated php4 module (modules/php4/libphp4.a)
> > > >  + on-the-fly added and activated frontpage module
> > > > (modules/extra/mod_frontpage.o)  + Warning: Y

RE: [PHP-INST] Re: Embed word, excel and pdf documents

2003-01-14 Thread William Cheung
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



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




[PHP-INST] Re: Embed word, excel and pdf documents

2003-01-14 Thread Stephen Cuppett
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



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




Re: [PHP-INST] PHP 4.3 Upgrade on redhat 8

2003-01-14 Thread Jeanne Case
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 basically, the SRPMS are just another file format that holds the 
tar.gz file.

To install Apache with PHP support see the following doc:
http://www.redhat.com/support/resources/howto/howtophp.pdf

to install Apache, PHP and MySQL see Permaine Chung's article, just 
subsitute MySQL for the Redhat Database:
http://www.redhat.com/support/resources/howto/database/database_php/

It really isn't hard once you have gone through it. The important thing 
to remember is to have a gcc complierer in your path.

-Jeanne


Luke Woollard wrote:
Hello,

Can anybody help with an upgrade of PHP4.3 on REDHAT Linux 8 (psyche)?

The system was built via the RPM method.

I cannot find a PHp 4.3 RPM anywhere and I don't know how to compile an RPM
from
source code... Does anybody have one?

Apache Version: Apache/1.3.23
Mysql Version: 3.23.49P
Postgresql Version 7.3.1

This is my current configure command which I would like to replicate:
 './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3'
'--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext'
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
'--with-mm' '--with-openssl' '--with-png' '--with-pspell'
'--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib'
'--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared'
'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs'

NOTE: apxs is not installed on the system. At least I couldn't find it using
" find / | grep 'apxs' "

I'm not sure where to start and so any help would be appreciated.


Luke Woollard




--
UNIX Systems Administrator
Academic Resources
Library
Saint Mary's College
Moraga, CA


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




[PHP-INST] 4.2.3 and 4.3.0 - bus error w/ apache 1.3.27/mod_ssl and squirrelmail 4.0

2003-01-14 Thread Brian C. Hill
SunOS 5.8/sparc (w/ latest patches)
gcc 3.2 (64-bit)
apache 1.3.27
php 4.2.3 and 4.3.0

I have scoured the web (php mailing lists, interest groups,
google, etc) and see many references to the php module generating
SIGBUS errors. The application is squirrelmail, but depending upon
which options I compiled php with, I couldn't even get apache to start,
which leads me to believe that this a php issue.

Should I try a snapshot or removing all optimization?

Brian

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




Re: [PHP-INST] Re: phpinfo() still shows 4.2.2 after 4.3 install

2003-01-14 Thread Sudiarsa Imade
I thought i installed 4.3.0, but when running a page w/phpinfo() 
(B>>>it still
(B>>>shows 4.2.2
(B>>>How Installed/upgraded to 4.3:
(B>>>./configure
(B>>>make
(B>>>make install
(B>>>
(B>>>What did I miss?
(B>>>
(B
(BTry this...
(Bmake distclean
(B./configure
(Bmake
(Bmake install
(B
(B
(B_
$B%O%$%;%s%9$J>&IJ$r5$7Z$K9XF~(B MSN $B%7%g%C%T%s%0(B  http://shopping.msn.co.jp/ 
(B
(B
(B-- 
(BPHP Install Mailing List (http://www.php.net/)
(BTo unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-INST] Re: phpinfo() still shows 4.2.2 after 4.3 install

2003-01-14 Thread Alan W. Rateliff, II
- Original Message -
(BFrom: "Sudiarsa Imade" <[EMAIL PROTECTED]>
(BTo: <[EMAIL PROTECTED]>
(BSent: Tuesday, January 14, 2003 7:13 PM
(BSubject: Re: [PHP-INST] Re: phpinfo() still shows 4.2.2 after 4.3 install
(B
(B
(B> >>>I thought i installed 4.3.0, but when running a page w/phpinfo()
(B> >>>it still
(B> >>>shows 4.2.2
(B> >>>How Installed/upgraded to 4.3:
(B> >>>./configure
(B> >>>make
(B> >>>make install
(B> >>>
(B> >>>What did I miss?
(B> >>>
(B
(BSomething else to check is that you specified the same --prefix as your
(Bcurrent installation.  Working between systems with different setups, I've
(Baccidentally installed programs to the wrong directories plenty of times...
(Bas recently as last night.
(B
(BThat's all I got :)
(B
(B--
(B   Alan W. Rateliff, II:   RATELIFF.NET
(B Independent Technology Consultant :[EMAIL PROTECTED]
(B  (Office) 850/350-0260:  (Mobile) 850/559-0100
(B-
(B[System Administration][IT Consulting][Computer Sales/Repair]
(B
(B
(B
(B-- 
(BPHP Install Mailing List (http://www.php.net/)
(BTo unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-INST] Re: phpinfo() still shows 4.2.2 after 4.3 install

2003-01-14 Thread Jason Reid
Another thing to check is that sometimes the .so file isnt overwriten by the
newly compiled one. I usually rename the existing file before I do a
recompile, that way there is no old file, and still a backup in case
something goes wrong. I've ran into this on several occasions, and this
usually fixes it.

Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca

- Original Message -
From: "Alan W. Rateliff, II" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 14, 2003 8:01 PM
Subject: Re: [PHP-INST] Re: phpinfo() still shows 4.2.2 after 4.3 install


> - Original Message -
> From: "Sudiarsa Imade" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 14, 2003 7:13 PM
> Subject: Re: [PHP-INST] Re: phpinfo() still shows 4.2.2 after 4.3 install
>
>
> > >>>I thought i installed 4.3.0, but when running a page w/phpinfo()
> > >>>it still
> > >>>shows 4.2.2
> > >>>How Installed/upgraded to 4.3:
> > >>>./configure
> > >>>make
> > >>>make install
> > >>>
> > >>>What did I miss?
> > >>>
>
> Something else to check is that you specified the same --prefix as your
> current installation.  Working between systems with different setups, I've
> accidentally installed programs to the wrong directories plenty of
times...
> as recently as last night.
>
> That's all I got :)
>
> --
>Alan W. Rateliff, II:   RATELIFF.NET
>  Independent Technology Consultant :[EMAIL PROTECTED]
>   (Office) 850/350-0260:  (Mobile) 850/559-0100
> -
> [System Administration][IT Consulting][Computer Sales/Repair]
>
>
>
> --
> 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