php-install Digest 30 Jun 2001 04:43:22 -0000 Issue 341
Topics (messages 3372 through 3385):
Dynamic library support not available.
3372 by: Raphael JAGER
php install.upgrade on RH 7.1 and MySQL
3373 by: gerald langiewicz
3375 by: James Tan
SSL_CTX_set_tmp_rsa_callback
3374 by: James Tan
Apache 2.0, APXS & PHP 2.0.6
3376 by: Tim Stoop
3379 by: James Tan
3381 by: Tim Stoop
Re: PHP & Java (another one!)
3377 by: Benjamin Heckmann
3382 by: Chris
Re: [PHP-DEV] PHP 4.0 Bug
3378 by: Jac Kloots
Bounced mail could not appended to sender's mailbox
3380 by: nilesh Dharaiya
[PHP-INSTALL]
3383 by: Martin Schmidt
PHP + Java compile problems ( NetBSD 1.5 )
3384 by: Jan Branbergen
Help getting PHP work with IMAP
3385 by: Yan Lam
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]
----------------------------------------------------------------------
Hi,
I cannot use gd functions though php and apache compile successfully (I get a
fatal error, function is not defined)!
More, phpinfo() says that the dynamic library support is not avalaible (at the
top of the 'standard' section) and gd is compiled as a shared library.
I compiled php with the configuration:
./configure --with-mysql=/opt/mysql --with-oci8=/oracle\
--with-apache=/opt/apache-1.3.19 --enable-gd-imgstrttf
--with-gd=shared,/opt/gd --with-jpeg-dir=/opt/jpeg-6\
--with-ttf=/opt/freetype --with-xpm-dir=/opt/xpm --enable-track-vars
--enable-magic-quotes
And I compiled apache with the config:
./configure --enable-module=info --enable-module=speling
--enable-module=rewrite --enable-module=expires\
--enable-module=usertrack --prefix=/home/raphael/WWW
--activate-module=src/modules/php4/libphp4.a
What are the remedials ? Did I forget to specify a path in one of the
environment variables ?
Thank you,
Raphael
PS: I'm working with:
-HP UX 11.0
-php 4.0.4pl1
-apache 1.3.19
-gd 1.8.4
--
Raphael JAGER [EMAIL PROTECTED]
Ingenieur d'etudes ALPLOG Information Technology & Web Applications
Telephone: (33) 04 74 99 36 15 HP telnet: 769-361
I have been reading and working and doing more reading trying to get PHP
(4.0.5 and 4.0.6), MySQL working an Redhat 7.1
This is what I know:
php-4.0.4pl1-9.i386.rpm works as advertised. I get the phpinfo() command
to give me a lot of information including the version but it does not
support MySQL.
MySQL works
I have downloaded the patch php 4.0.6 and tried to do the ./configure using
the appropriate --with-mysql =/to/source/path. I do not get any errors.
I delete the .cache file and run make and make install. I do not get any
errors... that I can see.
I can't get the latest version to show up in the page generated from
phpinfo() and the configure command does not match the one i used and the
build Date is march 3 2001.
Can somebody please shed some light on why I can't get this to work?
thanks
gerald
hi ..
did u tried uninstalling ur previous rpm ?
and have u tried restarting your apache daemon? httpd?
i've redhat 7.1 with mysql and also php 4.0.6, all done with source and
compilation (except the os lol ) :P
regards,
James
"gerald langiewicz" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> I have been reading and working and doing more reading trying to get PHP
> (4.0.5 and 4.0.6), MySQL working an Redhat 7.1
>
> This is what I know:
>
> php-4.0.4pl1-9.i386.rpm works as advertised. I get the phpinfo() command
> to give me a lot of information including the version but it does not
> support MySQL.
>
> MySQL works
>
> I have downloaded the patch php 4.0.6 and tried to do the ./configure
using
> the appropriate --with-mysql =/to/source/path. I do not get any errors.
>
> I delete the .cache file and run make and make install. I do not get any
> errors... that I can see.
>
> I can't get the latest version to show up in the page generated from
> phpinfo() and the configure command does not match the one i used and the
> build Date is march 3 2001.
>
> Can somebody please shed some light on why I can't get this to work?
>
> thanks
> gerald
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
hiee everyone...
did anyone come accross the same problem?
when i tried to configure my php with the --with-imap
it came out gss_... undefined..
so i found out i must use the extra --with-kerebos
and i've to install krb development rpm and others...
after all is finished, my php configure all well!
and i make and make install without any errors...
but when i tried to run my httpd apache...
this is what it says
undefined symbol: SSL_CTX_set_tmp_rsa_callback in lib4php.so
(** i can't remember the name of the php .so :P )
what should i do next??
i configure apache with this option:
--enable-module=so
and the prefix...
should i --enable-module=ssl and --enable-shared=ssl?
please advise...
thank you
p/s: this newsgroup seems to be down often...
regards,
James
Hi people,
When I compile PHP, I get the following error:
+--------------------------------------------------------------------+
| WARNING: Your /usr/local/apache/bin/apxs script is most likely broken.
| |
| Please go read http://www.php.net/FAQ.php#6.11 and make the |
| changes described there and try again. |
+--------------------------------------------------------------------+
I looked at that page, but I can't find the variables that are mentioned
there. Could this have anything to do with me using Apache 2.0 Beta?
Does anyone have a fix for this?
Kind regards,
Tim Stoop
hi...
i've faced the same problem with apache 2.0++beta version in linux
when i use the stable version 1.3.2.0, it works fine :)
hope it helps..
regards,
James
"Tim Stoop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi people,
>
> When I compile PHP, I get the following error:
> +--------------------------------------------------------------------+
> | WARNING: Your /usr/local/apache/bin/apxs script is most likely broken.
> | |
> | Please go read http://www.php.net/FAQ.php#6.11 and make the |
> | changes described there and try again. |
> +--------------------------------------------------------------------+
> I looked at that page, but I can't find the variables that are mentioned
> there. Could this have anything to do with me using Apache 2.0 Beta?
> Does anyone have a fix for this?
>
> Kind regards,
> Tim Stoop
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
James Tan wrote:
>
> hi...
>
> i've faced the same problem with apache 2.0++beta version in linux
> when i use the stable version 1.3.2.0, it works fine :)
Yeah, I noticed that too, but alas, I really want to use the beta Apache
:( Anyone else who can help me with this problem?
Kind regards,
Tim Stoop
First: If there is no entry in the phpinfo(); it won't work! So get the
entry there! How? Well, lets see...
First: I hope you hav used --with-java=/usr/local/jdk1.2.2 or something
additional.
Second: There is missing a line in your [Java]. Ther should also be an entry
"java.library=libjava.so".
Third: The second point will only work if you add
"/usr/local/lib/php/extensions/no-debug-non-zts-20001222" to your
"java.library.path".
You have to modify your paths as needed for your installation.
Benjamin
I've tryied to put /usr/local/lib/php/extensions/no-debug-non-zts-20001222
in java.library.path but nothing has changed...
I've put online the output of my phpinfo() page at
www.prismanet.com/phpinfo.htm so if you can have a look at it you could
understand a little bit more of what is happening here...
Thank you, Chris.
Hi there,
I'm trying to compile snmp (ucd_snmp 4.2.1 installed in /usr/local/snmp)
into PHP 4.0.6 all works fine ( ./configure --with-mysql
--with-apache=../apache_1.3.20/ --enable-track-vars
--with-snmp=/usr/local/snmp/ --enable-ucd-snmp-hack). Then I try to
configure apache 1.3.20 but that doesn't work.
[root@hello apache_1.3.20]# ./configure --prefix=/usr/local/apache/
--activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.20
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
[root@hello apache_1.3.20]# ./configure --prefix=/usr/local/apache/
--activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.20
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc -DLINUX=22 -I/tmp/php-4.0.6 -I/tmp/php-4.0.6/main
-I/tmp/php-4.0.6/main -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/Zend
-I/tmp/php-4.0.6/TSRM -I/tmp/php-4.0.6/TSRM -I/tmp/php-4.0.6 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy
helpers/dummy.c -Wl,-rpath,/usr/local/snmp//lib -rdynamic
-L/usr/local/snmp//lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lpam -ldl -lsnmp -lcrypt -lresolv -lm
-ldl -lnsl -lresolv -lm -lcrypt
/usr/local/snmp//lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`EVP_DigestFinal'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `HMAC'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`des_cbc_encrypt'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`EVP_DigestUpdate'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`des_ncbc_encrypt'
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ 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 ========
============= End of Error Report =============
Aborting!
[root@hello apache_1.3.20]#
any Idea what goes wrong?
Regards,
Jac
--
Jac Kloots
SURFnet bv
The Netherlands
I am using RH 6.2 TWIG 4.0.2, The problem is whenever
the sender mis type the receipent address
MAILER-DAEMON sends back the bounced mail to
Administrator and not to the original sender. Please
help.
Regards,
Nilesh Dharaiya
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
Hi,
I am just starting with PHP, I installed the new version on my Suse 7.1
with apache 1.3.14, because I need a tool for accessing databases
(Informix/Oracle).
Everything seemed fine, until I tried to start apache, it told me:
Cannot load /usr/lib/apache/libphp4.so into server: shared object not
open
All my investigations showed me a very "kind" member of bug.php.net, who
told someone else, that this isn't a bug and we should connect the
mailing-lists. He generously had a hint : /etc/ld.so.conf and ldconfig.
In the archive of the mailing lists I found the same informations ( a
little bit more informative), but my ld.so.conf is o.k. and at this
point any help stops.
I hope, that someone found out what's happening here and helps me.
So I have:
Intel Celreon 366 on Asus Mainboard, 256 MB RAM, Adaptec 2940UW with all
together 20GB HD, 5 swap-Areas with 128MB each.
SuSE 7.1 Prof-Edition, from this distribution I installed apache and PHP
(everything working fine, but no idea how to activate
informix/oracle-support)
Apache says, PHP4-module installed.
Thanks a lot for any help
Martin Schmidt
Hi,
i am trying to compile PHP with java support ( --with-java ). i have
build sun-jdk13 from pkgsrc. the build of php does not seem to work
because i get an error at the file ext/java/java.c:
"gcc: could not combine -c an -o ..."
when executing the libtool without the --silent, i am able to remove
the -c ( or the -o ), and execute the gcc command by hand. when doing
this i get an other error msg:
/usr/pkg/java/include: file not recognized, operation not permitted.
does anybody have this succesful running on NetBSD 1.5 ? what could be
my problem ?
regards,
Jan Branbergen
PS: My ultimate goal here is to compile PHP with Java, and then use
Oracle JDBC thin client to connect to an Oracle server. Would this be
feasable?
I compiled php 4.06 with mysql, imap, openssl, and other stuff. Everything
compiles find except when restarting Apache web server, I get a undefine
symbol: mxdriver.
If I took out the -with-imap option, everything works fine.
Oh, I running Redhat 7.1.
Any suggestions will be gratefull.
Thank you,
Yan