php-install Digest 18 Jul 2001 11:45:36 -0000 Issue 368
Topics (messages 3591 through 3599):
Need assistance installing php-4.0.0
3591 by: jk
3592 by: Julie Meloni
3597 by: Steve Brazill
php-4.0.6 with IMAP with Apache 1.3.20
3593 by: GHz
Re: --with-imap-ssl
3594 by: GHz
Re: problems compiling php+imap with apache
3595 by: GHz
Browser wants to download .php file
3596 by: Stuart Hunter
3598 by: James Tan
can't install Orbit for satellite extension
3599 by: HENAFF Mari-mai FTRD/DMI/LAN
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]
----------------------------------------------------------------------
Greetings,
I am a new Redhat Linux (7, publisher's edition) user, so please be clear
when giving instructions or
advice. I am trying to set up an Apache server (ver 1.3.12) with MySQL
(3.22.32) and php(4.0.0) support.
MySQL and Apache are installed and working, but I am having a lot of
trouble getting php to find the files it needs in the mySQL
directory. Has anyone had this problem before- and if so, how can I fix
it? The debug.log file is attached to this message (I hope- it's my first
PINE message with an attachment) The configure command that generated the
errors comes directly from a book named PHP fast & easy web development
that includes a CD ROM with the software. It was written by Julie
C. Meloni.
Any help anyone can give me would be greatly appreciated- I need to switch
over from Microsoft ASP to PHP within the next 24 hours, so time is of the
essence!
Thank you,
Jesse Krenzelok
CONFIGURE: './configure' '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686'
'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache_1.3.12/include -I$(top_builddir)/Zend
-I$(top_srcdir) -I/usr/include/freetype
-I/usr/local/mysql-3.22.32-pc-linux-gnu-i686/include
LDFLAGS: -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
LIBS: -lmysqlclient -lttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl
-lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
uname -a: Linux localhost.localdomain 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686
unknown
gcc -o conftest -g -O2
-Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686/lib/mysql conftest.c -lmysqlclient -lttf
-lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
find / -name *libmysqlclient* -print
put the result in ld.so.conf
run ldconfig
make/make install php.
Julie Meloni
[EMAIL PROTECTED]
"PHP Essentials" & "PHP Fast & Easy"
--- www.thickbook.com ---
You should really install the latest version of Apache and PHP (versions
1.3.20 and 4.0.6 respectively).
But, in the meantime, you can either add the MySQL 'library' directory to
your LDPATH (library search path), or simply 'link' the necessary MySQL file
to "/usr/lib" (which is the 'standard' system library area):
cd /usr/lib
ln -s /usr/local/mysql/lib/mysql/libmysqlclient.so.4
You should check YOUR system to see if that's the correct directory and
filename for your version of MySQL (you might have to do a 'find' on /usr to
locate it...)
jk wrote:
> Greetings,
>
> I am a new Redhat Linux (7, publisher's edition) user, so please be clear
> when giving instructions or
> advice. I am trying to set up an Apache server (ver 1.3.12) with MySQL
> (3.22.32) and php(4.0.0) support.
>
> MySQL and Apache are installed and working, but I am having a lot of
> trouble getting php to find the files it needs in the mySQL
> directory. Has anyone had this problem before- and if so, how can I fix
> it? The debug.log file is attached to this message (I hope- it's my first
> PINE message with an attachment) The configure command that generated the
> errors comes directly from a book named PHP fast & easy web development
> that includes a CD ROM with the software. It was written by Julie
> C. Meloni.
>
> Any help anyone can give me would be greatly appreciated- I need to switch
> over from Microsoft ASP to PHP within the next 24 hours, so time is of the
> essence!
>
> Thank you,
>
> Jesse Krenzelok
>
> ------------------------------------------------------------------------
> Name: debug.log
> debug.log Type: Plain Text (TEXT/PLAIN)
> Encoding: BASE64
>
php configure and make is fine (*appears*)
after ./configure --prefix=blah --activate-module=src/modules/libphp4.a
then
make
*snip*
modules/php4/libphp4.a(php_imap.o): In function `mail_close_it':
/usr/local/php-4.0.6/ext/imap/php_imap.c:190: undefined reference to
`mail_close_full'
*snip*
there are lots of those sorts of errors when compiling apache_1.3.20
Any ideas?
Ron
try --with-imap
"Alexus" <[EMAIL PROTECTED]> wrote in message
002101c10bdf$c686a550$97625c42@alexus">news:002101c10bdf$c686a550$97625c42@alexus...
>
> ----- Original Message -----
> From: "alexus" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 13, 2001 4:41 PM
> Subject: --with-imap-ssl
>
>
> > i've tryed --with-imap-ssl in my configure line and i got this..
> >
> > .....
> > checking for SSL support in IMAP... yes
> > configure: error: This c-client library does not support SSL. Recompile
or
> > remove --with-imap-ssl from configure line.
> > su-2.05#
> >
> > what needs to be done in order to make it work?
> >
>
I'm having the same problem on Redhat 7.2
Ron
"Piotr Szymanek" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi.
>
> I'm trying to install apache with php4 and imap (c-client) on RedHat7.1
> .
>
> C-client compiles fine.
> PHP (4.0.6) always compiles fine (with --with-imap or without it).
> Apache (1.3.9) compiles (and works) fine only if PHP was compiled
> WITHOUT imap. If PHP was compiled with imap apache does not compile
> successfully (problems with imap libraries):
>
> ..
> modules/php4/libphp4.a(php_imap.o): In function `mail_close_it':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:190: undefined reference to
> `mail_close_full'
> modules/php4/libphp4.a(php_imap.o): In function
> `mail_newfolderobjectlist':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:250: undefined reference to
> `fs_get'
> modules/php4/libphp4.a(php_imap.o): In function `mail_free_foblist':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:263: undefined reference to
> `fs_give'
> modules/php4/libphp4.a(php_imap.o): In function `mail_newerrorlist':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:277: undefined reference to
> `fs_get'
> modules/php4/libphp4.a(php_imap.o): In function `mail_free_errorlist':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:288: undefined reference to
> `fs_give'
> modules/php4/libphp4.a(php_imap.o): In function `php_rshutdown_imap':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:330: undefined reference to
> `mail_free_stringlist'
> modules/php4/libphp4.a(php_imap.o): In function `mail_newmessagelist':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:356: undefined reference to
> `fs_get'
> modules/php4/libphp4.a(php_imap.o): In function `php_minit_imap':
> /root/soft/php-4.0.6/ext/imap/php_imap.c:437: undefined reference to
> `unixdriver'
> /root/soft/php-4.0.6/ext/imap/php_imap.c:437: undefined reference to
> `mail_link'
> /root/soft/php-4.0.6/ext/imap/php_imap.c:439: undefined reference to
> `imapdriver'
> ..
>
> Any suggestions are welcome.
>
> - Piotr Szymanek
I installed PHP 4.06 for Linux on my server and followed the
instructions for uncommenting the AddType in my APache httpd.conf file.
However when I try and get to a .php file on the server my browser tries
to download it instead of displaying the contents generated by the php
file.
What have I done wrong, and where should php.ini really live?
Stuart
hi stuart (litter) lol.. just joking :P
well, how did u install ur php?
from rpm or from source?
there is 2 ways to install php, as module or as static,
both have different ways of installing..
pls refer to the INSTALL file located in the distributed source files...
hope it works.. :)
regards,
James
Stuart Hunter wrote:
> I installed PHP 4.06 for Linux on my server and followed the
> instructions for uncommenting the AddType in my APache httpd.conf file.
>
> However when I try and get to a .php file on the server my browser tries
> to download it instead of displaying the contents generated by the php
> file.
>
> What have I done wrong, and where should php.ini really live?
>
> Stuart
Hi,
I'm triing to install Orbit, in order to add the satellite extension to php.
I've update the glib library to 1.2.10 version.
I've downloaded an Orbit snapshot from
http://download.2good.nu/satellite/ORBit-20000902.tgz
"./configure" works fine, but when I run "make" I get errors (see above).
Is there something I did wrong or I forgott to do ?
Thanks
Henaff.
------------------------------------------------
...
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src -I/usr/include/glib-1.2
-I/
usr/lib/glib/include -D_REENTRANT -DORBit_SYSRC=\"/PROG/orbit/etc/orbitrc\"
-I..
/../src/ORBitutil -DORBIT_MAJOR_VERSION=0 -DORBIT_MINOR_VERSION=5
-DORBIT_MICRO_
VERSION=1 -DORBIT_VERSION=\"0.5.1\" -g -O2 -Wall -Wunused
-Wmissing-prototypes -
Wmissing-declarations -Wp,-MD,.deps/orb.pp -c orb.c -fPIC -DPIC -o
.libs/orb.lo
orb.c: In function `ORBit_rc_load_internal':
orb.c:535: warning: passing arg 3 of `poptParseArgvString' from incompatible
poi
nter type
orb.c:543: warning: passing arg 3 of `poptGetContext' from incompatible
pointer
type
orb.c: At top level:
orb.c:608: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:608: initializer element for `ORBit_options[2].argInfo' is not
constant
orb.c:609: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:609: initializer element for `ORBit_options[3].argInfo' is not
constant
orb.c:610: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:610: initializer element for `ORBit_options[4].argInfo' is not
constant
orb.c:613: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:613: initializer element for `ORBit_options[5].argInfo' is not
constant
orb.c:614: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:614: initializer element for `ORBit_options[6].argInfo' is not
constant
orb.c:615: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:615: initializer element for `ORBit_options[7].argInfo' is not
constant
orb.c:616: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:616: initializer element for `ORBit_options[8].argInfo' is not
constant
orb.c:617: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:617: initializer element for `ORBit_options[9].argInfo' is not
constant
orb.c:618: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:618: initializer element for `ORBit_options[10].argInfo' is not
constant
orb.c:619: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:619: initializer element for `ORBit_options[11].argInfo' is not
constant
orb.c:620: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:620: initializer element for `ORBit_options[12].argInfo' is not
constant
orb.c:621: `POPT_ARGFLAG_STRIP' undeclared here (not in a function)
orb.c:621: initializer element for `ORBit_options[13].argInfo' is not
constant
orb.c: In function `CORBA_ORB_init':
orb.c:645: warning: passing arg 3 of `poptGetContext' from incompatible
pointer
type
orb.c:657: warning: implicit declaration of function `poptStrippedArgv'
make[3]: *** [orb.lo] Error 1
make[3]: Leaving directory `/home/henaffma/install/ORBit-20000902/src/orb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/henaffma/install/ORBit-20000902/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/henaffma/install/ORBit-20000902'
make: *** [all-recursive-am] Error 2