php-install Digest 11 Jul 2001 15:41:05 -0000 Issue 357

Topics (messages 3493 through 3502):

php 4.0.6 and iodbc
        3493 by: Ryan La Riviere
        3494 by: Ryan La Riviere

php 4.0.6 and iodbc...additional info for question
        3495 by: Ryan La Riviere
        3497 by: Andrew Hill
        3499 by: Ryan La Riviere
        3500 by: Andrew Hill

problems compiling php+imap with apache
        3496 by: Piotr Szymanek

PHP_MCRYPT.DLL
        3498 by: chris

PHP onWinXP
        3501 by: DevGroups.com.pb1.pair.com, User.pb1.pair.com
        3502 by: Phil Driscoll

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]


----------------------------------------------------------------------


I'm trying to install 4.0.6 on Mac OS X Server 10.0.4 (has Apache 1.3.19).  I'm using 
iODBC with the <ftp://www.openlinksw.com/open40/m2kozzzz.taz> files.  I was able to 
install it once on a Mac OS X box that had Apache 1.3.20 and using PHP 4.0.6 and the 
same iODBC.  All my files are in the /usr/local/src and I'm using sudo with all my 
commands.

Where could it be going wrong?

It seems that attachments aren't accepted.

Here's the info from the debug.log:

CONFIGURE:   './configure' '--with-xml' '--with-zlib' '--with-apxs=/usr/sbin/apxs' 
'--with-iodbc=../odbcsdk' '--prefix=/usr' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--enable-debug'
CC:         cc
CFLAGS:     -g -O2
CPPFLAGS:    -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT 
-DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:   -I/usr/local/src/odbcsdk/include  -I/usr/include/httpd  
-I$(top_builddir)/Zend -I/usr/local/src/php-4.0.6/ext/mysql/libmysql 
-I../odbcsdk/include
LDFLAGS:     -L/usr/local/src/odbcsdk/lib -L/usr/local/src/odbcsdk/lib
LIBS:       -liodbc -lz -lm 
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/local/src/odbcsdk/lib
uname -a:   Darwin fileserver 1.3.7 Darwin Kernel Version 1.3.7: Sat Jun  9 11:12:48 
PDT 2001; root:xnu/xnu-124.13.obj~1/RELEASE_PPC  Power Macintosh powerpc

cc -o conftest -g -O2  -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT 
-DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8  -L/usr/local/src/odbcsdk/lib 
-L/usr/local/src/odbcsdk/lib conftest.c -liodbc -lz -lm  1>&5
dyld: ./conftest can't open library: .libs/libiodbc.dylib  (No such file or directory, 
errno = 2)


Thanks.
-- 

-Ryan

---
Mr. Ryan La Riviere
Drexel University; College of Engineering
The Drexel Engineering Curriculum
Philadelphia, PA 19104

hp: <http://staff.tdec.drexel.edu/larz/>
w: 215.895.6010




I'm trying to install 4.0.6 on Mac OS X Server 10.0.4 (has Apache 1.3.19).  I'm using 
iODBC with the <ftp://www.openlinksw.com/open40/m2kozzzz.taz> files.  I was able to 
install it once on a Mac OS X box that had Apache 1.3.20 and using PHP 4.0.6 and the 
same iODBC.  All my files are in the /usr/local/src and I'm using sudo with all my 
commands.

Where could it be going wrong?

It seems that attachments aren't accepted.

Here's the info from the debug.log:

CONFIGURE:   './configure' '--with-xml' '--with-zlib' '--with-apxs=/usr/sbin/apxs' 
'--with-iodbc=../odbcsdk' '--prefix=/usr' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--enable-debug'
CC:         cc
CFLAGS:     -g -O2
CPPFLAGS:    -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT 
-DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:   -I/usr/local/src/odbcsdk/include  -I/usr/include/httpd  
-I$(top_builddir)/Zend -I/usr/local/src/php-4.0.6/ext/mysql/libmysql 
-I../odbcsdk/include
LDFLAGS:     -L/usr/local/src/odbcsdk/lib -L/usr/local/src/odbcsdk/lib
LIBS:       -liodbc -lz -lm 
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/local/src/odbcsdk/lib
uname -a:   Darwin fileserver 1.3.7 Darwin Kernel Version 1.3.7: Sat Jun  9 11:12:48 
PDT 2001; root:xnu/xnu-124.13.obj~1/RELEASE_PPC  Power Macintosh powerpc

cc -o conftest -g -O2  -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT 
-DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8  -L/usr/local/src/odbcsdk/lib 
-L/usr/local/src/odbcsdk/lib conftest.c -liodbc -lz -lm  1>&5
dyld: ./conftest can't open library: .libs/libiodbc.dylib  (No such file or directory, 
errno = 2)


Thanks.
-- 

-Ryan

---
Mr. Ryan La Riviere
Drexel University; College of Engineering
The Drexel Engineering Curriculum
Philadelphia, PA 19104

hp: <http://staff.tdec.drexel.edu/larz/>
w: 215.895.6010




I'm trying to install 4.0.6 on Mac OS X Server 10.0.4 (has Apache 1.3.19).  I'm using 
iODBC with the <ftp://www.openlinksw.com/open40/m2kozzzz.taz> files.  I was able to 
install it once on a Mac OS X box that had Apache 1.3.20 and using PHP 4.0.6 and the 
same iODBC.  All my files are in the /usr/local/src and I'm using sudo with all my 
commands.

Where could it be going wrong?

It seems that attachments aren't accepted.

Here's the info from the debug.log after I run ./configure:

CONFIGURE:   './configure' '--with-xml' '--with-zlib' '--with-apxs=/usr/sbin/apxs' 
'--with-iodbc=../odbcsdk' '--prefix=/usr' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--enable-debug'
CC:         cc
CFLAGS:     -g -O2
CPPFLAGS:    -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT 
-DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:   -I/usr/local/src/odbcsdk/include  -I/usr/include/httpd  
-I$(top_builddir)/Zend -I/usr/local/src/php-4.0.6/ext/mysql/libmysql 
-I../odbcsdk/include
LDFLAGS:     -L/usr/local/src/odbcsdk/lib -L/usr/local/src/odbcsdk/lib
LIBS:       -liodbc -lz -lm 
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/local/src/odbcsdk/lib
uname -a:   Darwin fileserver 1.3.7 Darwin Kernel Version 1.3.7: Sat Jun  9 11:12:48 
PDT 2001; root:xnu/xnu-124.13.obj~1/RELEASE_PPC  Power Macintosh powerpc

cc -o conftest -g -O2  -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT 
-DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8  -L/usr/local/src/odbcsdk/lib 
-L/usr/local/src/odbcsdk/lib conftest.c -liodbc -lz -lm  1>&5
dyld: ./conftest can't open library: .libs/libiodbc.dylib  (No such file or directory, 
errno = 2)

I've gone through the "how to" at <http://www.iodbc.org/iodbc-phposxHOWTO.html> but 
I've still been having the problem.  What really bothers me is I had gotten it to 
config and make without problems ONCE (out of ~12 times).  grrr.... I don't know what 
I did differently that one time that allowed it to work and fine the libs.

I do know that one thing that is different after everything is installed was that the 
.dylib files had gotten installed into /usr/local/lib:

-rwxr-xr-x   1 root  staff  296552 Jul  7 16:07 libiodbc.2.1.5.dylib
lrwxr-xr-x   1 root  staff      20 Jul  7 16:07 libiodbc.2.dylib -> libiodbc.2.1
.5.dylib
-rw-r--r--   1 root  staff  531360 Jul  7 16:07 libiodbc.a
lrwxr-xr-x   1 root  staff      20 Jul  7 16:07 libiodbc.dylib -> libiodbc.2.1.5
.dylib
-rwxr-xr-x   1 root  staff     717 Jul  7 16:07 libiodbc.la
-rwxr-xr-x   1 root  staff  204076 Jul  7 16:07 libiodbcinst.2.1.5.dylib
lrwxr-xr-x   1 root  staff      24 Jul  7 16:07 libiodbcinst.2.dylib -> libiodbc
inst.2.1.5.dylib
-rw-r--r--   1 root  staff  559892 Jul  7 16:07 libiodbcinst.a
lrwxr-xr-x   1 root  staff      24 Jul  7 16:07 libiodbcinst.dylib -> libiodbcin
st.2.1.5.dylib
-rwxr-xr-x   1 root  staff     745 Jul  7 16:07 libiodbcinst.la

These files didn't get installed when ./configure can't find the .libs folder (and I'm 
assuming some other stuff since just making sure those files are there doesn't make it 
work either).

Thanks.
-- 

-Ryan

---
Mr. Ryan La Riviere
Drexel University; College of Engineering
The Drexel Engineering Curriculum
Philadelphia, PA 19104

hp: <http://staff.tdec.drexel.edu/larz/>
w: 215.895.6010




Ryan,

You need to set/export DYLD_LIBRARY_PATH environment variable to point to
the odbcsdk directory containing the .dylib.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers

> -----Original Message-----
> From: Ryan La Riviere [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 12:07 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] php 4.0.6 and iodbc...additional info for question
>
>
> I'm trying to install 4.0.6 on Mac OS X Server 10.0.4 (has Apache
> 1.3.19).  I'm using iODBC with the
> <ftp://www.openlinksw.com/open40/m2kozzzz.taz> files.  I was able
> to install it once on a Mac OS X box that had Apache 1.3.20 and
> using PHP 4.0.6 and the same iODBC.  All my files are in the
> /usr/local/src and I'm using sudo with all my commands.
>
> Where could it be going wrong?
>
> It seems that attachments aren't accepted.
>
> Here's the info from the debug.log after I run ./configure:
>
> CONFIGURE:   './configure' '--with-xml' '--with-zlib'
> '--with-apxs=/usr/sbin/apxs' '--with-iodbc=../odbcsdk'
> '--prefix=/usr' '--mandir=/usr/share/man'
> '--infodir=/usr/share/info' '--enable-debug'
> CC:         cc
> CFLAGS:     -g -O2
> CPPFLAGS:    -traditional-cpp -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT
> -DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8
> CXX:
> CXXFLAGS:
> INCLUDES:   -I/usr/local/src/odbcsdk/include
> -I/usr/include/httpd  -I$(top_builddir)/Zend
> -I/usr/local/src/php-4.0.6/ext/mysql/libmysql -I../odbcsdk/include
> LDFLAGS:     -L/usr/local/src/odbcsdk/lib -L/usr/local/src/odbcsdk/lib
> LIBS:       -liodbc -lz -lm
> DLIBS:
> SAPI:       apache
> PHP_RPATHS:  /usr/local/src/odbcsdk/lib
> uname -a:   Darwin fileserver 1.3.7 Darwin Kernel Version 1.3.7:
> Sat Jun  9 11:12:48 PDT 2001;
> root:xnu/xnu-124.13.obj~1/RELEASE_PPC  Power Macintosh powerpc
>
> cc -o conftest -g -O2  -traditional-cpp -DDARWIN -DUSE_HSREGEX
> -DUSE_EXPAT -DHARD_SERVER_LIMIT=1024 -DEAPI -DSUPPORT_UTF8
> -L/usr/local/src/odbcsdk/lib -L/usr/local/src/odbcsdk/lib
> conftest.c -liodbc -lz -lm  1>&5
> dyld: ./conftest can't open library: .libs/libiodbc.dylib  (No
> such file or directory, errno = 2)
>
> I've gone through the "how to" at
> <http://www.iodbc.org/iodbc-phposxHOWTO.html> but I've still been
> having the problem.  What really bothers me is I had gotten it to
> config and make without problems ONCE (out of ~12 times).
> grrr.... I don't know what I did differently that one time that
> allowed it to work and fine the libs.
>
> I do know that one thing that is different after everything is
> installed was that the .dylib files had gotten installed into
> /usr/local/lib:
>
> -rwxr-xr-x   1 root  staff  296552 Jul  7 16:07 libiodbc.2.1.5.dylib
> lrwxr-xr-x   1 root  staff      20 Jul  7 16:07 libiodbc.2.dylib
> -> libiodbc.2.1
> .5.dylib
> -rw-r--r--   1 root  staff  531360 Jul  7 16:07 libiodbc.a
> lrwxr-xr-x   1 root  staff      20 Jul  7 16:07 libiodbc.dylib ->
> libiodbc.2.1.5
> .dylib
> -rwxr-xr-x   1 root  staff     717 Jul  7 16:07 libiodbc.la
> -rwxr-xr-x   1 root  staff  204076 Jul  7 16:07 libiodbcinst.2.1.5.dylib
> lrwxr-xr-x   1 root  staff      24 Jul  7 16:07
> libiodbcinst.2.dylib -> libiodbc
> inst.2.1.5.dylib
> -rw-r--r--   1 root  staff  559892 Jul  7 16:07 libiodbcinst.a
> lrwxr-xr-x   1 root  staff      24 Jul  7 16:07
> libiodbcinst.dylib -> libiodbcin
> st.2.1.5.dylib
> -rwxr-xr-x   1 root  staff     745 Jul  7 16:07 libiodbcinst.la
>
> These files didn't get installed when ./configure can't find the
> .libs folder (and I'm assuming some other stuff since just making
> sure those files are there doesn't make it work either).
>
> Thanks.
> --
>
> -Ryan
>
> ---
> Mr. Ryan La Riviere
> Drexel University; College of Engineering
> The Drexel Engineering Curriculum
> Philadelphia, PA 19104
>
> hp: <http://staff.tdec.drexel.edu/larz/>
> w: 215.895.6010
>
> --
> 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]
>
>





On 07/11/2001 somewhere around the time of 09:13 -0400, Andrew Hill spoke about "RE: 
[PHP-INST] php 4.0.6 and iodbc...additional info fo":


>You need to set/export DYLD_LIBRARY_PATH environment variable to point to
>the odbcsdk directory containing the .dylib.

I had done the setenv before doing the configure.  Here's what the end of my env is:

HOSTTYPE=macintosh
VENDOR=apple
OSTYPE=macos
MACHTYPE=powerpc
SHLVL=1
PWD=/usr/local/src/php-4.0.6
GROUP=admin
HOST=fileserver
ENV_SET=
MANPATH=~/man:/usr/local/share/man:/usr/share/man
OPTIM=-O2
DYLD_LIBRARY_PATH=/usr/local/src/odbcsdk/lib

-- 

-Ryan

---
Mr. Ryan La Riviere
Drexel University; College of Engineering
The Drexel Engineering Curriculum
Philadelphia, PA 19104

hp: <http://staff.tdec.drexel.edu/larz/>
w: 215.895.6010




Well, it's not being picked up for some reason... what shell are you using?
Also, please verify that you actually have a file called libiodbc.dylib.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers
> -----Original Message-----
> From: Ryan La Riviere [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 10:17 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] php 4.0.6 and iodbc...additional info for
> question
>
>
> On 07/11/2001 somewhere around the time of 09:13 -0400, Andrew
> Hill spoke about "RE: [PHP-INST] php 4.0.6 and iodbc...additional
> info fo":
>
>
> >You need to set/export DYLD_LIBRARY_PATH environment variable to point to
> >the odbcsdk directory containing the .dylib.
>
> I had done the setenv before doing the configure.  Here's what
> the end of my env is:
>
> HOSTTYPE=macintosh
> VENDOR=apple
> OSTYPE=macos
> MACHTYPE=powerpc
> SHLVL=1
> PWD=/usr/local/src/php-4.0.6
> GROUP=admin
> HOST=fileserver
> ENV_SET=
> MANPATH=~/man:/usr/local/share/man:/usr/share/man
> OPTIM=-O2
> DYLD_LIBRARY_PATH=/usr/local/src/odbcsdk/lib
>
> --
>
> -Ryan
>
> ---
> Mr. Ryan La Riviere
> Drexel University; College of Engineering
> The Drexel Engineering Curriculum
> Philadelphia, PA 19104
>
> hp: <http://staff.tdec.drexel.edu/larz/>
> w: 215.895.6010
>
> --
> 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]
>
>





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




Hi,

Can anyone please tell me wher to get php_mcrypt.dll ??

thanx alot
Chris


*******************************************************************

This message may contain information which is confidential and subject to legal 
privilege. If you are not the intended recipient, you may not peruse, use, 
disseminate, distribute or copy this message. If you have received this message in 
error, please notify the sender immediately by email, facsimile or telephone and 
return and/or destroy the original message.

*******************************************************************




i try to install php on WinXP.
i have the the IIS running.
But when i intoduce a new isapi filter PHP which shell be executed by the 
php4isapi.dll he won\'t load this filter.
i also stopped the iis and started it again but that won\'t help.
can anyone one of you help me with this?
plz

could it be that microsoft won\'T php running on windows machines anymore?


------------------------------------------------------------------------
  DevGroups.com - The Complete Software Development Resource
  http://www.devgroups.com
------------------------------------------------------------------------






On Wednesday 11 July 2001 16:22, [EMAIL PROTECTED], 
[EMAIL PROTECTED] wrote:
> i try to install php on WinXP.
> i have the the IIS running.
> But when i intoduce a new isapi filter PHP which shell be executed by the
> php4isapi.dll he won\'t load this filter. i also stopped the iis and
> started it again but that won\'t help.
> can anyone one of you help me with this?
> plz
>
> could it be that microsoft won\'T php running on windows machines anymore?
>
Check that all the files php needs (php4isapi.dll, php4ts.dll and php.ini) 
have permissions such that they can be read by IUSR_<machinename>
and also comment out all the extention dlls in php.ini until you get things 
going.

You may be lucky enough to get reliable performance from the isapi module, 
but don't bank on it. If things go wrong (server 500 errors, memory aborts 
etc) switch to the cgi installation.

Cheers

-- 
Phil Driscoll


Reply via email to