php-install Digest 14 Jan 2003 16:31:02 -0000 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: You have enabled the
> > > > suEXEC feature. Be aware that you need + root privileges to
> > > > complete the final installation step. Creating Makefile Creating
> > > > Configuration.apaci in src + enabling mod_so for DSO support
> > > > Creating Makefile in src + configured for FreeBSD 4.7
> > platform +
> > > > setting C compiler to gcc + setting C pre-processor to gcc -E +
> > > > checking for system header files + adding selected modules
> > > > o rewrite_module uses ConfigStart/End
> > > > enabling DBM support for mod_rewrite
> > > > o dbm_auth_module uses ConfigStart/End
> > > > o db_auth_module uses ConfigStart/End
> > > > using Berkeley-DB/1.x for mod_auth_db (-lc)
> > > > o ssl_module uses ConfigStart/End
> > > > + SSL interface: mod_ssl/2.8.12
> > > > + SSL interface build type: DSO
> > > > + SSL interface compatibility: enabled
> > > > + SSL interface experimental code: disabled
> > > > + SSL interface conservative code: disabled
> > > > + SSL interface vendor extensions: disabled
> > > > + SSL interface plugin: Vendor DBM (libc)
> > > > + SSL library path: [SYSTEM]
> > > > + SSL library version: OpenSSL 0.9.6g 9 Aug 2002
> > > > + SSL library type: installed package (system-wide)
> > > > o php4_module uses ConfigStart/End
> > > > + enabling Extended API (EAPI)
> > > > + using builtin Expat
> > > > + checking sizeof various data types
> > > > + doing sanity check on compiler and options
> > > > ** A test compilation with your Makefile configuration
> > > > ** failed. The below error output from the compilation
> > > > ** test will give you an idea what is failing. Note that
> > > > ** Apache requires an ANSI C Compiler, such as gcc.
> > > >
> > > > ======== Error Output for sanity check ========
> > > > cd ..; gcc -funsigned-char -DMOD_SSL=208112
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/main
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/main
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/Zend
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/Zend
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/TSRM
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/TSRM
> > > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3 -DEAPI
> > > > -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o helpers/dummy
> > > > helpers/dummy.c -R/usr/local/lib -R/usr/local/lib/mysql -rdynamic
> > > > -L/usr/local/lib -L/usr/local/lib/mysql -Lmodules/php4
> > > > -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lmcal
> > > > -lc-client4 -lyaz -lsablot -liconv -lexpat -liconv
> > -lexpat -lexpat
> > > > -lexpat -lsnmp -lmm -lpspell -lpdf -lz -ltiff -lpng -ljpeg
> > > > -lmysqlclient -lming -lmhash -lmcve -lmcrypt -lltdl -lldap -llber
> > > > -lcrypt -lpam -liconv -lintl -lgd -lfreetype -lpng -lz -ljpeg -lz
> > > > -lcurl -lbz2 -lz -lcrypt -lssl -lcrypto -lm -lcrypt -lcurl -lssl
> > > > -lcrypto
> > > > -lxml2 -lz -liconv -lm -lssl -lcrypto -lcrypt
> > > > /usr/local/lib/libc-client4.so: undefined reference to
> > `mm_expunged'
> > > > /usr/local/lib/libc-client4.so: undefined reference to
> > > > `mm_diskerror'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_lsub'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_flags'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_fatal'
> > > > /usr/local/lib/libc-client4.so: undefined reference to
> > `mm_nocritical'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_notify'
> > > > /usr/local/lib/libc-client4.so: undefined reference to
> > `mm_searched'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_status'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_login'
> > > > /usr/local/lib/libmcal.so: undefined reference to `cc_login'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_list'
> > > > /usr/local/lib/libc-client4.so: undefined reference to
> > `mm_critical'
> > > > /usr/local/lib/libmcal.so: undefined reference to `cc_searched'
> > > > /usr/local/lib/libmcal.so: undefined reference to `cc_vlog'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_exists'
> > > > /usr/local/lib/libmcal.so: undefined reference to `cc_vdlog'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_log'
> > > > /usr/local/lib/libc-client4.so: undefined reference to `mm_dlog'
> > > > *** Error code 1
> > > >
> > > > Stop in
> > > > /usr/home/admin/installs/apache_1.3/apache_1.3.27/src/helpers.
> > > > ============= End of Error Report =============
> > > >
> > > > Aborting!
> > > >
> > > > PHP is compiling fine as a DSO and standalone CLI. (Both of which
> > > > work.)
> > > >
> > > > I get the same problems from php-4.3.0 and php-4.2.3.
> > > >
> > > >
> > > >
> > > > --
> > > > 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 installed PHP4.3.0 with the following configure line.
./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-jpeg-dir
--with-gettext=/usr --enable-safe-mod --with-png --enable-track-vars
--with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes
--with-regex=system --with-ttf --with-gdbm --enable-mbstring
--enable-mbstr-enc-trns --enable-wddx=shared --enable-mm=shared
--enable-xml --enable-ftp --enable-debug --with-libdir=/usr/lib
--with-interbase=shared --with-pgsql-shared --with-imap
The /usr/lib directory has (among other things):
libjpeg.a, libjpeg.so.62, libjpeg.so.62.0.0
linpng.so.2, libpng.so.2.1.0.8
the /usr/local/lib directory has:
libjpeg.a
libpng.a, libpng.so, libpng.so.3, libpng.so.3.1.2.1
PHP installed into /usr/local/bin and appears to be running fine. BUT.
I have an application that (in the past) would generate a .jpg image on
it based on some sql server data. It now doesn't work. (no, I don't
have the old config line anymore). It is also supposed to be able to
generate a .png, but that has never worked.
Am I missing a config entry?
--Will
--- End Message ---
--- Begin Message ---
On Mon, 13 Jan 2003 19:40:45 -0500
"Will Nordmeyer" <[EMAIL PROTECTED]> wrote:
> gd
configure --with-gd
without any parameter will setup the bundled gd.
hth
pierre
--- End Message ---
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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?
--- End Message ---