php-install Digest 28 Apr 2001 21:36:16 -0000 Issue 283

Topics (messages 2930 through 2934):

sqli_connect_set  undefined symbol
        2930 by: dino

Re: Can build database module and PHP module separately?
        2931 by: dino

can't build Static mode, php4+informix+apache
        2932 by: dino

Re: PHP for PWS??
        2933 by: Phil Driscoll

how to turn on php4 to support mysql ...
        2934 by: jean-worldtouch

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 all,

    I am use PHP4+Informix 7.3.1 with Client SDK 2.5 on
SCO UnixWare 7 system. I configure it as the steps:

1. configure apache as enable-module=so
2. set IFX_LIBS / IFX_INCDIR / IFX_LIBDIR variables
3. configure PHP4 --with-informix, --with-apxs, --without-mysql
3.  I can make PHP4 library , but after install it into apache/libexec
and start Apache, it told me:

--------------
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: dynamic
linker:
/usr/local/apache/bin/httpd: relocation error: symbol not found:
sqli_connect_set;
referenced from: /usr/local/apache/libexec/libphp4.so
/usr/ocal/apache/bin/apachectl start : httpd could not be started
---------------

Anything wrong?








Hi,
    Yes, I have already build the extention.
But how can I add this into libphp.so ?
and let it can be used by Apache ?

Thanks.




""Yasuo Ohgaki"" <[EMAIL PROTECTED]> 撰寫於郵件
9cc177$ecp$[EMAIL PROTECTED]">news:9cc177$ecp$[EMAIL PROTECTED]...
> Change directory to exertion resides, then
> $ phpize
> $ ./configure --with-<module> (or --enable-<module>)
> $ make
> $ make install
>
> README.SELF-CONTAINED-EXTENSION will help also. It comes with PHP source.
>
> Regards,
> --
> Yasuo Ohgaki
>
> ""dino"" <[EMAIL PROTECTED]> wrote in message
> 9cbjud$oaj$[EMAIL PROTECTED]">news:9cbjud$oaj$[EMAIL PROTECTED]...
> > Hi
> >
> >     Because I always met problem when building the PHP, with
> > informix support. I used the steps to do this
> >
> > Apache
> > (1)./configure --enable-module=so
> > make ; make install
> >
> > PHP
> > (2)
> >
./configure --with-informox=/opt/informix --with-apxs=/usr/local/apache/bin/
> > apxs
> > (3)make ; make install
> >
> > But I can't pass (2), cause there are error occured in ext/informix, I
> > wonder
> > if I can skip this module first, and build php module first?
> > If yes, how can I re-build the informix module later?
> > possible? Thanks
> >
> >
> >
> >
> >
> > --
> > 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]
> >
>
>
> --
> 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 all,

    It's a little strange, to see the final error, because I got no error
message during building.

1. configure Apache  with no option
2. cd to PHP4
3. set IFX_LIBS , IFX_INCDIR, IFX_LIBDIR
3. ./configure --wih-informix=/usr/informix --with-apache=../apache_1.3.19
--without-mysql --prefix=/usr/local/bin
4. make / make install PHP4 , it looks fine
5. cd to Apache direcotyr, configure
with --activate-module=src/modules/php4/libphp4.a
and --enable-module=php4
6. make ... I got a lot of error, so many undefined symbol :

sqli_connect_close
SQLSTATE
sqli_prep
ifx_lo_write
...
...
..
(about 3 pages ), and all the undefined symbol , their reference are
the same : modules/php4/libphp4.a (ifx.o)

Most strange things are I really didn't get any fatal error message to stop
me
to go on.:)

can help?
Thanks







This error usually occurs when either the file you requested does not exist
(you might be asking for http://localhost/hello.php but hello.php does not
live there. Try creating hello.htm and see if you can access that or you get
a 404 error.

You haven't mentioned your OS, but if it is NT workstation, it may also be
that file permissions on hello.php are such that IUSR_<machinename> cannot
read it.

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org





from phpinfo() I know that php 4 is not
configure with mysql, how do I turn it on
in redhat 7.0 ?????

thanks

Jenny.




Reply via email to