php-install Digest 4 Oct 2001 02:53:04 -0000 Issue 488
Topics (messages 4486 through 4498):
Re: undefined symbol: table_get
4486 by: PHP
libphp4.so don't greating
4487 by: astrow
Mac OS X 10.1 install problems
4488 by: Lucas Rockwell
Re: Can I get some help with adding gdlib support to my php installation??
4489 by: Iván Milanez Castellanos
Problems accesing oracle server
4490 by: Jacfeth Moreno B.
Re: php 4.01, mySQL 3.23, Redhat 7.1 db connection
4491 by: Gary Tai
Error: Unable to open c:\*\index.php in Unknown on line 0
4492 by: Scott Fletcher
Linux/390
4493 by: Grant Johnson
./buildconf problem
4494 by: Marcin Liwinski
4497 by: Yasuo Ohgaki
Compiling PHP4.0.6 in Freebsd 4.3 --> sapi_apache.c gives an error
4495 by: Doctrluv
4496 by: Rasmus Lerdorf
[±¤°í] php-install´Ô ¾È³çÇϽʴϱî?
4498 by: ±Ç¿ÀÁØ
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 ---
I have managed to figure this out. For those of you that run into this
problem I thought that I would document the solution for you.
table_get is the old version of ap_table_get which is an Apache function.
Because I still need to use a few of the older components it becomes
necessary to build a "bridge" between the versions. Fortunately, this has
already been provided by the wonderful folks developing Apache. The answer
is to include the ap_compat.h file which simply defines table_get (and
others) as ap_table_get.
I hope that this helps somebody. Or maybe this was obvious and I am just a
slow nut.
Regards.
"Php" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HELP!!
>
> I have been working on this for a couple of days now. I have read all of
> the posts here and other places as well as the PHP FAQ, MySQL support and
> Apache support.
>
> The problem is simple, I have installed php-4.0.6 as dynamic with
> Apache-1.3.19 and MySQL-3.23.39 on a Linux 7.x platform. I also have
> MySQL-devel-3.23.39 and MySQL-Shared-3.23.39 installed via RPM. make and
> make install produced no obvious errors but when I start apache I receive:
> "Cannot load [libphp4.so] into server: [lbphp4.so]: undefined symbol:
> table_get yada yada yada unable to start httpd"
>
> PHP and Apache were compiled from source and mysql was downloaded and
> installed with RPM.
>
> I am certain that the error that I am receiving is the result of a
missing,
> misplaced or bad version of a library but which library?
>
> PHP was configured as:
>
> --with-mcal=/path/to/mcal
> --with-apxs=/path/to/apxs
> --with-mysql=/usr
> --with-impa=/path/to/c-client
> --enable-track-vars
>
> Apache has mod_so.c enabled.
>
> The current ld.so.conf is a mess but looks like:
> /usr
> /usr/lib
> /usr/lib/php4
> /usr/lib/mysql
> /usr/kerberos/lib
> /usr/x11r6/lib
> /usr/lib/sane
> /usr/lib/qt-23.0/lib
> /usr/local/lib
> /usr/local/apache
> /lib
> /lib/libmcal
>
> Obviously not all of these are required but it is what it is for now.
>
> I am sure that I have not mentioned something that is vitally important in
> order to resolve this mystery, so ask away. Unless of course you are one
of
> the really incredible types that can solve this puzzle with the
information
> provided.
>
> Thanks in advance.
>
>
>
>
--- End Message ---
--- Begin Message ---
#cd php-4.0.6
#sh configure --with-axps=/www/bin/axps
#make
#make install
# find /www/ -name 'libphp*.so'
# find / -name 'libphp*.so'
# ls /www/bin
ab dbmmanage httpd startup.perl
apachectl htdigest logresolve startup.perl~
apxs htpasswd rotatelogs
#
a run this with php-4.0.5 and php-3.0.18 but i don'n find libphp4.so a use
apache 1.3.20, but with 1.3.19 ....
--- End Message ---
--- Begin Message ---
Hello,
I am posting this to both dev and install because I don't know which is
the best place to try. Also, I have searched the mailing list archive and
have found no comments about this issue (unless I was not looking
correctly).
With release 10.1 of Mac OS X Apple has turned on, by default,
twolevel_namespace in the ld program. When compiling PHP and other
applications -- like Berkeley Database -- you get an error when ld tries
to put all the parts together. The following is the PHP error:
Making all in .
/bin/sh /Users/lr/src/php-4.0.6/libtool --silent --mode=link cc
-I. -I/Users/lr/src/php-4.0.6/ -I/Users/lr/src/php-4.0.6/main
-I/Users/lr/src/php-4.0.6 -I/usr/include/httpd
-I/Users/lr/src/php-4.0.6/Zend
-I/Users/lr/src/php-4.0.6/ext/xml/expat/xmltok
-I/Users/lr/src/php-4.0.6/ext/xml/expat/xmlparse
-I/Users/lr/src/php-4.0.6/TSRM -traditional-cpp -DDARWIN -DUSE_HSREGEX
-DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -o libphp4.la
-rpath /Users/lr/src/php-4.0.6/libs -avoid-version stub.lo
Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la
ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la
ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lm
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libZend.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libsapi.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libmain.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libregex.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libpcre.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libposix.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libsession.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libstandard.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libxml.al
/Users/lr/src/php-4.0.6/.libs/libphp4.lax/libtsrm.al
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in
effect
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1
With some software simply defining OTHER_LDFLAGS = -flat_namespace (or
some variant on that theme like EXTRA_LDFLAGS) works just fine, but not
with PHP. I've also tried setting -undefined error and that does not work
either.
I have no idea what Apple is planning to do but I'm wondering if any of
you have any suggestions.
Thanks in advance.
-lucas
--- End Message ---
--- Begin Message ---
I configured the php make file with:
./configure --with-mysql --with-apache=../apache-source --with-gd=/usr/local
/ --with-jpgeg-dir=/usr/lib/ --with-png-dir=/usr/lib/ --enable-track-vars
But I still can't use any of the image functions that require the libgd
library.
Any more help will be apreciated.
Iván
"IVáN Milanez Castellanos" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yeap... I did recompile PHP and it still can't use any of the image
> functions that require the gd libraries.
>
>
> "Jeremy Wadsack" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> >
> > Did you rebuild/recompile PHP? You need to add --with-gd (and maybe
> > the path to the libraries) to your ./configure line.
> >
> > --
> >
> > Jeremy Wadsack
> > Wadsack-Allen Digital Group
> >
>
>
--- End Message ---
--- Begin Message ---
OS: W2KS
Web Server: IIS5
PHP v. 4.0.6
I need acces an oracle server 8.1.7.
I installed php 4.0.6 without problems, but when I config the
extension_dir directive, I receive a message box:
Unable to load dynamic library 'c:\Inetpub\php\extension\php_oci8.dll' –
No se encontró el proceso especificado
Any help for this problem?
Thanks in advance …
Jack
--- End Message ---
--- Begin Message ---
Many thanks...
I've got PHP with mySQL up and running.
Thanks again,
Gary
"Mike Dick" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Gary,
>
> Redhat comes with an additional RPM that you can install, named
> php-mysql-4.0.xxxx that will add the support you want.
> See http://www.redhat.com/swr/i386/php-mysql-4.0.4pl1-9.i386.html for more
> info, but the file should be on your Redhat CD.
>
> From the page above:
> The php-mysql package contains a dynamic shared object that will add
> MySQL database support to PHP. MySQL is an object-relational database
> management system. PHP is an HTML-embeddable scripting language. If
> you need MySQL support for PHP applications, you will need to install
> this package and the php package.
>
> Hope that helps,
> Mike
> "Gary" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I installed mySQL 3.23 (works), php 4.01 from RPM (works) on Redhat 7.1
> >
> > When I try to access a db from a php script using mysql_connect it says
> > "Fatal error: Call to undefined function: mysql_connect() in..."
> >
> > From reading it looks like the php RPM install didn't specify to use
mySQL
> > (yeah I'm new to this).
> >
> > The instructions I found at
> > http://www.php.net/manual/en/faq.installation.php#AEN62909 specify php3.
> >
> > Are there installation instructions for php4? If I need to, how do I
> remove
> > php and start over again?
> >
> >
> > Thanks,
> >
> >
> > Gary
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Hi ya all!
I'm having some trouble with PHP on IIS. Yes, I know IIS suck! When I
have one website, I have no problem. But when I have more than one website
on IIS. This is when I have problem with PHP. I looked up on php.ini to
make sure the line, "doc root = " is left blank and the other line,
"include_path = " is left blank also. It seem that php.ini can't work with
multiple website on IIS that each website have different directory and
seperate directory.
So, what's hte problem and what do I need to do to fix it?
Thanks,
Scott
--- End Message ---
--- Begin Message ---
Has anyone tried installing with Apache on Linux on an S/390 IBM
mainframe? I may be trying soon, and would like to know your
experiences, good or bad. It is a SuSE distribution.
--- End Message ---
--- Begin Message ---
hi,
where is an errror ?
root@bsd /usr/php4> ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.4.2 (ok)
*** Error code 1
Stop in /usr/php4.
*** Error code 1
Stop in /usr/php4.
root@bsd /usr/php4>
--
rgrds, gospos
--- End Message ---
--- Begin Message ---
It seems some combination of autoconf/automake/libtool does not work
well. (Depends of what version of PHP you are using, though)
Try libtool 1.4 instaed of 1.4.2, it may work.
[yohgaki@dev php4]$ ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4-p5 (ok)
buildconf: libtool version 1.4 (ok)
There is a discussion in php-dev list recently. You'll find more info in
php-dev list archives.
--
Yasuo Ohgaki
Marcin Liwinski wrote:
> hi,
>
> where is an errror ?
>
> root@bsd /usr/php4> ./buildconf
> buildconf: checking installation...
> buildconf: autoconf version 2.13 (ok)
> buildconf: automake version 1.4 (ok)
> buildconf: libtool version 1.4.2 (ok)
> *** Error code 1
>
> Stop in /usr/php4.
> *** Error code 1
>
> Stop in /usr/php4.
> root@bsd /usr/php4>
>
>
> --
> rgrds, gospos
>
>
>
--- End Message ---
--- Begin Message ---
Got this really strange error message when compiling PHP for apache 2.0.16.
Any ideas?
thanks
Making all in apache
/bin/sh /root/temp/php-4.0.6/libtool --silent --mode=compile gcc -I. -
I/root/temp/php-4.0.6/sapi/apache -I/root/temp/php-4.0.6/main -
I/root/temp/php-4.0.6 -I/usr/local/include/apache -I/root/temp/php-
4.0.6/Zend -I/usr/local/include -I/root/temp/php-4.0.6/ext/mysql/libmysql -
I/root/temp/php-4.0.6/ext/xml/expat/xmltok -I/root/temp/php-
4.0.6/ext/xml/expat/xmlparse -I/root/temp/php-4.0.6/TSRM -
DNO_DBM_REWRITEMAP -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c
sapi_apache.c
sapi_apache.c: In function `apache_php_module_main':
sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function)
sapi_apache.c:80: (Each undeclared identifier is reported only once
sapi_apache.c:80: for each function it appears in.)
*** Error code 1
Stop in /root/temp/php-4.0.6/sapi/apache.
*** Error code 1
Stop in /root/temp/php-4.0.6/sapi/apache.
*** Error code 1
Stop in /root/temp/php-4.0.6/sapi.
*** Error code 1
Stop in /root/temp/php-4.0.6.
--- End Message ---
--- Begin Message ---
Use current CVS of both PHP and Apache if you are going to work with
Apache 2.0
On 3 Oct 2001, Doctrluv wrote:
> Got this really strange error message when compiling PHP for apache 2.0.16.
> Any ideas?
> thanks
>
> Making all in apache
> /bin/sh /root/temp/php-4.0.6/libtool --silent --mode=compile gcc -I. -
> I/root/temp/php-4.0.6/sapi/apache -I/root/temp/php-4.0.6/main -
> I/root/temp/php-4.0.6 -I/usr/local/include/apache -I/root/temp/php-
> 4.0.6/Zend -I/usr/local/include -I/root/temp/php-4.0.6/ext/mysql/libmysql -
> I/root/temp/php-4.0.6/ext/xml/expat/xmltok -I/root/temp/php-
> 4.0.6/ext/xml/expat/xmlparse -I/root/temp/php-4.0.6/TSRM -
> DNO_DBM_REWRITEMAP -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c
> sapi_apache.c
> sapi_apache.c: In function `apache_php_module_main':
> sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function)
> sapi_apache.c:80: (Each undeclared identifier is reported only once
> sapi_apache.c:80: for each function it appears in.)
> *** Error code 1
>
> Stop in /root/temp/php-4.0.6/sapi/apache.
> *** Error code 1
>
> Stop in /root/temp/php-4.0.6/sapi/apache.
> *** Error code 1
>
> Stop in /root/temp/php-4.0.6/sapi.
> *** Error code 1
>
> Stop in /root/temp/php-4.0.6.
>
>
--- End Message ---
--- Begin Message ---
¾È³çÇϼ¼¿ä. kkmoon¿î¿µÀÚÀÔ´Ï´Ù.
º»¸ÞÀÏÀÌ ÇÊ¿ä¾øÀ¸½Ã¸é ¸ÞÀϼö½Å°ÅºÎ¼³Á¤À»
ÇϽðųª [EMAIL PROTECTED] ·Î ¼ö½Å°ÅºÎ¸ÞÀϹٶø´Ï´Ù.
¾ÕÀ¸·Î ¹ß¼Û ÇÏÁö ¾Ê°Ú½À´Ï´Ù
ÀúÀÇ È¨ÆäÀÌÁökkmoonÀÌ »õ·Ó°Ô °³ÆíµÇ¾ú½À´Ï´Ù. ³î·¯ ¸¹ÀÌ¿À¼¼¿ä Àý´ë ¹«·á»çÀÌÆ®ÀÔ´Ï´Ù.
kkmoonÀÇ Æ¯Â¡
1. ¹«·áÁ¾ÇÕ ¼ºÀΰ¡À̵å(¹«·á »çÀÌÆ® ¼³¸í ¹× Á¤º¸Á¦°ø)
2. ÀÚü ¹Ì¼Ò³à °¶·¯¸® ¹× À¯¸Ó, Ç÷¡½Ã, µ¿¿µ»ó Á¦°ø
3. »çÀÌÆ® µ¿¸Í ½Åû °¡´É(Á¦ÇÑ ¾øÀ½)
ÀÌ»ó °£·«È÷ »çÀÌÆ®¿¡ °üÇØ¼ ¼³¸í µå·È½À´Ï´Ù. ÀÚ¼¼ÇѰÍÀº ȨÆäÀÌÁö¿¡ ³î·¯ ¿À¼Å¼ È®ÀÎ
¹Ù¶ø´Ï´Ù.
ÁÖ¼Ò´Â http://kkmoon.wo.to ÀÔ´Ï´Ù.
ÀúÀÇ »çÀÌÆ®´Â ¼ºÀÎÀü¿ë »çÀÌÆ®·Î¼ ¼ºÀι°¿¡ ´ëÇÑ °ÅºÎ°¨ÀÌ ÀÖÀ¸½ÅºÐÀ̳ª ¸¸19¼¼¹Ì¸¸ÀÇ
û¼Ò³âÀÇ Á¢±ÙÀ» ±ÝÁöÇÕ´Ï´Ù.
--- End Message ---