php-install Digest 25 Oct 2001 01:29:08 -0000 Issue 521
Topics (messages 4730 through 4735):
HELP on compiling PHP as a Module !!!
4730 by: Michael Chan
Problem loading php module into apache_1.3.20
4731 by: Michael Chan
Re: It gives me just a header!
4732 by: Jason Wood
php installation problem "ld: fatal: Symbol referencing errors."
4733 by: chuck solie
libphp4.so is garbled
4734 by: Gregory Gray
My Problem about GD Library.
4735 by: Archer
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 hope some one can help me. I am compiling PHP with apxs,oci8,oracle
options. But the library for oracle is in "/opt/oracle/815/lib", but it
thinks it is in "/opt/oas/4.0/libs". Is there a way to tell it explicitly
that it is "/opt/oracle/815/lib". Thanks.
Helo, I am having problem loading php module, here's the err when I got when
I checked it with "/httpd -t":
Syntax error on line 206 of /opt/oas/app/apache1320/conf/httpd.conf:
Cannot load /opt/oas/app/apache1320/libexec/libphp4.so into server: ld.so.1:
./httpd: fatal: relocation error: file /opt/oas/4.0/lib/libclntsh.so.1.0:
symbol slpmprodstab: referenced symbol not found"
Line 206 is "LoadModule php4_module libexec/libphp4.so". Have
someone ever run into this before?
Here's the options is
used:./configure --with-apxs=/opt/oas/app/apache1320/bin/apxs --with-oci8 --
with-oracle=/opt/oracle/815/ --enable-versioning --enable-track-vars
or
./configure --with-apxs=/opt/oas/app/apache1320/bin/apxs --with-oci8 --with-
oracle=/opt/oas/4.0 --enable-versioning --enable-track-vars
Either gives the same error. Have someone ever run into this problem
before. Some help or pointer is appreciated. Thanks.
Hmm... That always happened to me when I was working on a win2k machine
with IIS... I'd have a parse error, and the hosting company had all error
handling set off... so every time i had a parse error, i'd have to download
the file, update my local database, and check out the file... fix it... and
reupload it. Such a pain in the butt =)
If that's not it, i've got no idea. Sorry!
Jason
"Stef�N Vignir Skarph��Insson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for trying to help :)
> If my server (xitami) would not run php it would send me the page
including
> the php source code.
>
> This happens even if I try to execute a script as simple as
> <? print ("blah blah blah") ?>
>
> Jason Wood <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > It means that either PHP is not running, or there's a parse error on the
> > page and you dont have the error handling set.
> >
> >
> > --
> > Jason Wood
> > Chief Technology Officer
> > Expressive Tek, Inc.
> > 407 Kehrs Mill Road
> > Ballwin, MO 63011
> > Phone 636.256.1362
> > www.expressivetek.com
> >
> >
> >
> > "Stef�N Vingir Skarph��Insson" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hello folks!
> > >
> > > I was trying to execute a PHP script (on Win98) but it came only this
> > source
> > > code from my server:
> > >
> > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > > <HTML><HEAD>
> > > <META http-equiv=Content-Type content="text/html;
> > > charset=windows-1252"></HEAD>
> > > <BODY></BODY></HTML>
> > >
> > > This happens to all the scripts I try to execute both from my server
and
> > > using MS-DOS-Prompt (php webpage.php) it returns nothing
> > >
> > > What's wrong?
> > > Please help!
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
Hi,
I am having a problem installing php/mysql/apache on a
solaris 8 box. I get the following error during the
configure stage of php that i expect this might have
an obvious reason to someone with more gcc
configuration knowledge. I have looked at the mysql
and php sites for similar problems and followed all
the ./configure recommended options and still see this
problem. Any help would be appreciated.
the mysql install appears to run fine. i'm using gcc
2.95.3
thanks,
-chuck
debug.log
------------------------------------------------------
CONFIGURE: './configure' '--prefix=/opt/php-4.0.6'
'--with-apache=/tmp/apache_1.3.22'
'--with-config-file-path=/opt/php-4.0.6' '--with
-mysql=/opt/mysql-3.23.43' '--enable-trans-sid'
'--enable-inline-optimization'
CC: gcc
CFLAGS: -O3 -mcpu=v8 -Wa,-xarch=v8plusa
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
CXX: gcc
CXXFLAGS: -O3 -felide-constructors -fno-exceptions
-fno-rtti -mcpu=v8 -Wa,-xarch=v8plusa
INCLUDES: -I/tmp/apache_1.3.22/src/include
-I/tmp/apache_1.3.22/src/os/unix
-I$(top_builddir)/Zend
-I/opt/mysql-3.23.43/include/mysq
l
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/opt/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/opt/gcc-2.95.3/lib/gcc-lib/sparc-s
un-solaris2.8/2.95.3 -R/opt/mysql-3.23.43/lib/mysql
-L/opt/mysql-3.23.43/lib/mysql
LIBS: -lmysqlclient -lcrypt -lresolv -lresolv
-lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib
/opt/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
/opt/mysql-3.23.43/lib/mysql
uname -a: SunOS rock 5.8 Generic_108528-07 sun4u
sparc SUNW,Ultra-2
gcc -o conftest -O3 -mcpu=v8 -Wa,-xarch=v8plusa
-D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8
-R/usr/ucblib -L/usr/ucblib -R/opt/gcc-2.95.
3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/opt/gcc-2.95.3/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/opt/mysql-3.23.43/lib/mysql -L/op
t/mysql-3.23.43/lib/mysql conftest.c -lmysqlclient
-lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl
-lsocket -lsocket -lgcc 1>&5
Undefined first referenced
symbol in file
uncompress
/opt/mysql-3.23.43/lib/mysql/libmysqlclient.so
compress
/opt/mysql-3.23.43/lib/mysql/libmysqlclient.so
ld: fatal: Symbol referencing errors. No output
written to conftest
collect2: ld returned 1 exit status
--------------------------------------------------------
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
I've seen others with this problem but haven't seen any solutions yet.
I'm trying to install php4 on apache 1.3.20 running on Solaris 8 (Sparc)
and getting the following configtest error:
Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file
/usr/local/apache/libexec/libphp4.so is garbled -
perhaps this is not an Apache module DSO?
It was built with the following commands:
./configure --with-pgsql=shared --with-apxs=/usr/local/apache/bin/apxs
--prefix=/usr/local --without-mysql --enable-libgcc
make
make install
There were no errors during the build and install.
Any and all help will be greatly appreciated.
Greg Gray
[EMAIL PROTECTED]
Good Day!
Can somebody help me about GD Libray?
Presently I am using WinNT OS and PHP4, I would like to used
the function ImageCreate but this is in GD library so I need to
secure GD library but after having it, I thought its .dll but the codes
are in C therefore I have no idea how can I join this to PHP project.
If you have idea about this library and how can I make C codes
useful to my PHP please tell me.
Thank you very much.
Archer