php-install Digest 25 Feb 2002 14:40:58 -0000 Issue 717
Topics (messages 6144 through 6148):
Re: php java extension (php 4.1.1 and jdk1.4) not working
6144 by: Yasuo Ohgaki
Re: php.ini problem
6145 by: Mikael Petterson (ERA)
compiling php4.1.1 undersolsris8 broken ?
6146 by: Gérard Gachelin
6147 by: Mikael Petterson (ERA)
urgent: need help!
6148 by: Cees van den Acker
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 ---
Sukhwinder Singh wrote:
> Hello,
> As I mentioned php4.1.1 did work with jdk 1.2 but only after exporting
> java lib directories. So do you think that there is some kind of problem
> (bug etc.) with php 4.1.1 java extension?
Not sure now.
>
> Can I compile php4.1.1 with Apache 2.0 using --with-apache option?
Never. Use --with-apxs2. Read README file for Apache2
>
> Also in which file this export command should be written so that I don't
> have to export it every time manually and restart apache? I have tried it in
> /etc/profile, /root/.bashsrc and even in /etc/init.d/httpd script file's
> start function but it only works when I manually export these java libs...
There are too many bug reports for Java extension and nobody trying to
sort out them. I'm just trying to clean bugs reports.
I would like to fix session and output control problems rather than
exprimental Java extension ;)
--
Yasuo Ohgaki
>
> ----- Original Message -----
> From: Yasuo Ohgaki <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; Sukhwinder Singh <[EMAIL PROTECTED]>
> Sent: Sunday, February 24, 2002 9:25 AM
> Subject: [PHP-INST] Re: php java extension (php 4.1.1 and jdk1.4) not
> working
>
>
>
>>Try JDK 1.2 if you are using 4.1.1.
>>
>>Sukhwinder Singh wrote:
>>
>>>Hello,
>>>I tried to compile php with Java support and faced these problems. My
>>>
> configuration is RedHat Linux 7.1, apache_1.3.23, php-4.1.1 and Jdk1.4 beta
> 2.
>
>>>I must mention here that earlier php versions 4.0.6 (or earlier) and
>>>
> jdk1.2.2 worked without any problems (and without exporting
> LD_LIBRARY_PATH). Questions I have begin with @@@@ ( four @ symbols).
>
>>>With php 4.1.1 and jdk1.4, I faced 100s of problems:
>>>
>>>
>>--
>>Yasuo Ohgaki
>>
>>
>>--
>>PHP Install Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
--- End Message ---
--- Begin Message ---
Send a copy of your php.ini and check if you also have one in <php_home>/lib. That´s
where I keep mine.
//Mikael
-----Original Message-----
From: Mefistofeles [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 24, 2002 9:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php.ini problem
I'm trying to install a PHP-app which requires changes to the path.
In /usr/local/lib/php.ini I have changed the path to include the path to
the file required like so:
include_path = "/chroot/htdocs/irm/include/DBI:/usr/local/lib/php:."
but when I try to access the setup file for the app I still get
Fatal error: Failed opening required 'class.DBI'
(include_path='.:/usr/local/lib/php') in
Compare the two paths ... I locks like it's not looking at the new one.
Even after apache restarts.
Any suggestions?
/Mef.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Does anybody succeed compiling php4.1.1, using apxs (apache 1.3.23)
under Solaris 8 ?
Here is what happens during the compilation of ext/standard/mail.c :
/bin/sh /local/src/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/local/src/php-4.1.1/ext/standard -I/local/src/php-4.1.1/main
-I/local/src/php-4.1.1 -I/usr/local/apache/include
-I/local/src/php-4.1.1/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/mysql/include
-I/local/src/php-4.1.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=280 -DMOD_SSL=208106 -DMOD_PERL -DUSE_PERL_SSI
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT
-I/local/src/php-4.1.1/TSRM -g -O2 -prefer-pic -c mail.c
mail.c: In function `php_mail':
mail.c:191: `EX_OK' undeclared (first use in this function)
mail.c:191: (Each undeclared identifier is reported only once
mail.c:191: for each function it appears in.)
gmake[3]: *** [mail.lo] Error 1
gmake[3]: Leaving directory `/local/src/php-4.1.1/ext/standard'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/local/src/php-4.1.1/ext/standard'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/local/src/php-4.1.1/ext'
gmake: *** [all-recursive] Error 1
Here is the configure line :
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --enable-track-vars
--with-openssl=/usr/local/ssl --with-imap-ssl=/local/src/imap-2001a
--with-gd --with-ldap=/usr/local --enable-ftp --enable-sysvsem
--enable-sysvshm --enable-sockets --with-pdflib=/usr/local/lib
--with-gettext --with-mm=/local/src/mm-1.1.3
--with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
Thanks for any help.
--
Gerard Gachelin Universite de la Reunion
15, Avenue Rene Cassin - BP 7151 97715 Saint-Denis MESSAG-CEDEX 9
Tel: 0262 93 82 72 Fax: 0262 93 82 60
Email : [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hi,
I had problems with Solaris2.6 and php4.1.1
I am using gcc 2.95.2 and Perl 5.003.
Try using 4.0.6! It works fine!
//Mikael
-----Original Message-----
From: Gérard Gachelin [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 9:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] compiling php4.1.1 undersolsris8 broken ?
Does anybody succeed compiling php4.1.1, using apxs (apache 1.3.23)
under Solaris 8 ?
Here is what happens during the compilation of ext/standard/mail.c :
/bin/sh /local/src/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/local/src/php-4.1.1/ext/standard -I/local/src/php-4.1.1/main
-I/local/src/php-4.1.1 -I/usr/local/apache/include
-I/local/src/php-4.1.1/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/mysql/include
-I/local/src/php-4.1.1/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS
-DSOLARIS2=280 -DMOD_SSL=208106 -DMOD_PERL -DUSE_PERL_SSI
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DEAPI_MM -DUSE_EXPAT
-I/local/src/php-4.1.1/TSRM -g -O2 -prefer-pic -c mail.c
mail.c: In function `php_mail':
mail.c:191: `EX_OK' undeclared (first use in this function)
mail.c:191: (Each undeclared identifier is reported only once
mail.c:191: for each function it appears in.)
gmake[3]: *** [mail.lo] Error 1
gmake[3]: Leaving directory `/local/src/php-4.1.1/ext/standard'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/local/src/php-4.1.1/ext/standard'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/local/src/php-4.1.1/ext'
gmake: *** [all-recursive] Error 1
Here is the configure line :
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --enable-track-vars
--with-openssl=/usr/local/ssl --with-imap-ssl=/local/src/imap-2001a
--with-gd --with-ldap=/usr/local --enable-ftp --enable-sysvsem
--enable-sysvshm --enable-sockets --with-pdflib=/usr/local/lib
--with-gettext --with-mm=/local/src/mm-1.1.3
--with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
Thanks for any help.
--
Gerard Gachelin Universite de la Reunion
15, Avenue Rene Cassin - BP 7151 97715 Saint-Denis MESSAG-CEDEX 9
Tel: 0262 93 82 72 Fax: 0262 93 82 60
Email : [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi,
What version of PHP is better 3 or 4 for a raq3 server?
Does someone have an instal package for the raq 3 for PHP or can someone
thell me how to instal? (instal manual in dutch is welcome)
Cees
http://www.zoek-nl.net
--- End Message ---