php-install Digest 26 Oct 2002 02:37:27 -0000 Issue 1087

Topics (messages 8915 through 8922):

Re: PHP with FTP support on a Raq4 Server
        8915 by: Jeffrey_N_Dyke.Keane.com

mod_php
        8916 by: php user

Compiling PHP 4.2.3 "checking for cyrus support..." yes and then "not found"
        8917 by: Erik Enge
        8918 by: Jim Thome

Re: Application Error
        8919 by: William Cheung

PHP + GD Install?
        8920 by: Tyler Hall
        8922 by: Michael Risda

Oracle 8.0.6 connection
        8921 by: William Cheung

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 ---
Looks like they were configured differently.  I have two version on alot of
my machines(Solaris) one tied into apache and one for command line.  The
configures are run independently of each other and each PHP is a seperate
instance.  I don't use your platfrom, but you should be able to build in
the option of --enable-ftp for the apache module PHP.

I'm not sure of the syntax to add in configure options after the fact,
without a rebuild, but i'm pretty sure i've seen it in the manual...

hth
Jeff



                                                                                       
                                   
                    "Chris Morrow"                                                     
                                   
                    <chris.morrow@btopen       To:     [EMAIL PROTECTED]       
                                   
                    world.com>                 cc:                                     
                                   
                                               Subject:     [PHP-INST] PHP with FTP 
support on a Raq4 Server              
                    10/25/2002 08:40 AM                                                
                                   
                                                                                       
                                   
                                                                                       
                                   




Hi People,

I am running PHP 4.1.2 on a Cobalt Raq4 server. I'm pretty new to Linux and
can't understand why the server has come preinstalled with 2 diffrent
versions of PHP. When I run phpinfo() from scripts on the site through my
browser it says PHP is installed as an Apache module, but when I run it
from
the command line it still has the same version number but says its a CGI
install.

I'm trying to use the ftp_connect() function in a script that is run from
the command line, ie. the CGI version and everytime I run it it says 'Call
to undefined function ftp_connect()' yet when I run it through the browser
on my site which is running the same version of PHP just the Apache module
it works fine.

Does anyone know what causes this strange behaviour or what I can do to get
my ftp_connect() function working from the command line on a Raq4 server?

Thanks for any help.

Chris Morrow



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




--- End Message ---
--- Begin Message ---
Interesting ...took a RedHat apache rpm and installed it (ver 1.3.23-14) the
http.conf file is automatically set up to look for the mod_php.so library but
looked every where on my system and the mod_php.so does not exist. Is this correct?
--- End Message ---
--- Begin Message --- Hi!

I'm trying to compile PHP 4.2.3 on RedHat 7.2 x86. This is my configure line:

./configure --prefix=/share/sys/php/php-$ver/ \
--with-mysql --with-apxs --with-gettext \
--with-cyrus --with-imap-ssl

The configure scripts dies with this as its last output

checking for cyrus imap support... yes
not found

What is "not found" and where can I find it?

The problem goes away if I compile without Cyrus support (Cyrus is compiled and installed - although not in a default location).

Any help would be greatly appreciated,

Erik Enge



--- End Message ---
--- Begin Message ---
--with-cyrus=/path/to/cyrus

>>> Erik Enge <[EMAIL PROTECTED]> 10/25/02 09:48AM >>>
Hi!

I'm trying to compile PHP 4.2.3 on RedHat 7.2 x86.  This is my configure 
line:

./configure --prefix=/share/sys/php/php-$ver/ \
             --with-mysql --with-apxs --with-gettext \
             --with-cyrus --with-imap-ssl

The configure scripts dies with this as its last output

   checking for cyrus imap support... yes
   not found

What is "not found" and where can I find it?

The problem goes away if I compile without Cyrus support (Cyrus is 
compiled and installed - although not in a default location).

Any help would be greatly appreciated,

Erik Enge




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


--- End Message ---
--- Begin Message ---
I got the following error when I activate the php_oci8.dll and execute
PHP CLI on a php script.
 
The instruction at "0x77f853ca" referenced memory at "0x00000010". The
memory could not be "read".
 
When I display the call stack, I got the following lines
 
NTDLL!  77f853ca()
ORACORE8!  6064f321()
ORACLIENT8!  6044a9d7()
ORACLIENT8!  6040120a()
OCI!  011958df()
PHP_OCI8!  011815e6()
325068ff()
 
My platform is as follow:
OS: Win 2K sp3
PHP version: 4.2.3
 
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
 
--- End Message ---
--- Begin Message ---
I seem to have a problem when trying to compile php with gd.    

I run this; 

[tyler@stimpy php-4.2.3]$ ./configure --with-mysql --with-apache=../apache_1.3.27 
--enable-track-vars --with-gd=/usr

Then, after the configuration is over with, it tells me this; 

| Something is likely to be messed up here, because the configure    |
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages.  

and my debug.log tells me this; 

CONFIGURE:   './configure' '--with-mysql' '--with-apache=../apache_1.3.27' 
'--enable-track-vars' '--with-gd=/usr'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/home/tyler/apache_1.3.27/src/include 
-I/home/tyler/apache_1.3.27/src/os/unix  -I$(top_builddir)/Zend -I/home/tyler/p
hp-4.2.3/ext/mysql/libmysql
LDFLAGS:    
LIBS:       -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
DLIBS:      
SAPI:       apache
PHP_RPATHS: 
uname -a:   Linux stimpy.nerdie.org 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i686 
unknown

gcc -o conftest -g -O2   conftest.c -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 
-lcrypt 1>&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libgd.so: undefined reference 
to `uncompress'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../libgd.so: undefined reference 
to `compress'
collect2: ld returned 1 exit status

and when I try to make PHP, it gives me this error: 

Making all in gd
make[2]: Entering directory `/home/tyler/php-4.2.3/ext/gd'
make[3]: Entering directory `/home/tyler/php-4.2.3/ext/gd'
gcc -I. -I/home/tyler/php-4.2.3/ext/gd -I/home/tyler/php-4.2.3/main 
-I/home/tyler/php-4.2.3 -I/home/tyler/apache_1.3.27/src/include 
-I/home/tyler/apache_1.3.27/src/os/unix -I/home/tyler/php-4.2.3/Zend 
-I/home/tyler/php-4.2.3/ext/mysql/libmysql -I/home/tyler/php-4.2.3/ext/xml/expat  
-I/home/tyler/php-4.2.3/TSRM -g -O2  -c gd.c && touch gd.lo
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/tyler/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tyler/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tyler/php-4.2.3/ext'
make: *** [all-recursive] Error 1

Please help!! 

Tyler
--- End Message ---
--- Begin Message ---
I too am having problems with this.  Here is my config line:

./configure --with-gd --with-dom --with-apxs --with-gettext --with-xml --wit
h-mysql --with-mcrypt --with-imap --with-ldap --with-zlib-dir --with-jpeg-di
r

Last lines:

checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... no
configure: error: Unable to find required gettext library




--- End Message ---
--- Begin Message ---
As php_oci8.dll is not working, I tried php_oracle.dll. However, the
script can't make a connection to the database. I use the following code
to make a connection. Could anyone tell me if it is correct?
 
ora_logon(user@tnsname, "password");
 
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
 
--- End Message ---

Reply via email to