php-install Digest 11 Jun 2002 10:52:25 -0000 Issue 878

Topics (messages 7274 through 7281):

Zend Sos Evaluation
        7274 by: listgetter.bend.com

sysmbol not found:pow: ......while starting apache
        7275 by: FAHIM K S

PHP Installation : apxs ?????
        7276 by: shanky
        7277 by: Sebastian Wolfgarten
        7278 by: shanky
        7279 by: Jason Reid

Problems Compiling PHP 4.2.1 on Solaris 8 SPARC
        7280 by: Matthias Steffens

PHP4.2.1 SUSE8.0 path/to/mysql
        7281 by: Jürgen Richter

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've got a question to ask about Zend Accelerator that should go in an 
evaluation support ticket, but I can't seem to create one. 

All of the docs say "Go to your Pickup Depot and click 'New Ticket'".
It  even says that *in* the pickup depot, but the words "new ticket"
aren't  linkable, and nowhere else in the pickup depot says "new
ticket". 

I'll go ahead and ask the questions I was going to make support tickets
out of as well: so if that's sufficiently off topic here then you can
skip  the rest. sorry :) 

A> I was going to mention that the Zend Accellerator v2.0.0 (the one
for  php 4.0.5/6) downloads as an empty file. We're already migrating
to php  4.1.2, so that one's mainly an fyi. 

B> We can't seem to get Zend Accellerator v2.0.1 to work with our php 
4.1.2 test installation. We've got --disable-debug set in our php 
configure flags, the install-tty script ran smoothly, everything looks 
good in php.ini, and apache had no complaints restarting, but nothing 
shows up in phpinfo(). Any other recommendations or things to check
would  be a great help. 

Thanks you all for listening, and may the force be with ye :) 

- - Jesse Thompson 


--- End Message ---
--- Begin Message ---
I am using apache 1.3.24 on UnixWare 7.1, PHP 4.2.1 and oracle 8.1.5

I have installed oracle 8.1.5.

In /etc/profile I have added the following  environment
variables,

ORACLE_HOME=/home/or8i/sw/8i; export ORACLE_HOME
PATH=$PATH:/usr/bin:/usr/java/bin:$ORACLE_HOME/bin:. export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib; export LD_LIBRARY_PATH
ORACLE_BASE=/home/or8i/sw; export ORACLE_BASE
ORACLE_OWNER=oracle; export ORACLE_OWNER
ORACLE_SID=OR8I; export ORACLE_SID
ORACLE_TERM=386x; export ORACLE_TERM
JAVA_HOME=/usr/java; export JAVA_HOME
TMPDIR=/home/oratmp; export TMPDIR


After the installation I could connect to my oracle database.

Then installed Apache 1.3.14 with the following configuration options,
./configure --prefix=/usr/local/apache_1.3.14 --enable-module=so   (Reading your 
article on webmonkey)

Then I installed php 4.1.2 with the folloing configuration options,
./configure --with-oci8=/home/oracle/or8i/sw/8i --with-apxs=/usr/local/apach
e_1.3.14/bin/apxs

But when I restarted apache it says:

Syntax error on line 207 of usr/local/apache_1.3.14/conf/httpd.conf : cannot
load /usr/local/apache_1.3.14/libexec/libphp4.so into server : dynamic linker: 
/usr/local/apache_1.3.14/bin/httpd : relocation error : sysmbol not found:
pow: referenced from : /usr/local/apache_1.3.14/libexec/libphp4.so
/bin/apachectl start : httpd could not be started

It will be very helpfull if you can assist me.


----FAHIM
--- End Message ---
--- Begin Message ---
greetings !

I un-tared php-4.2.1 and in the installation instructions, it tells me 
to install using

./configure --with-mysql --with-apxs

but I see that I don't have 'apxs'.

$ cd /
$ find . -name "*apxs*" -print
./usr/share/man/man8/apxs.8.bz2

I've httpd(v1.3.20) in Mandrake 8.1. How to install this.

I'm new to PHP. Please reply to me in detail.

All replies are very much appreciated. Thanks.

- shanky.

--- End Message ---
--- Begin Message ---
Hi Shanky,

apxs is part of the apache distribution,
you will find it in the subdirectory bin
of your apache install directory (mostly).
Be sure to use --with-apxs2 option when
configuring for the case you will ever
use apache2...

bye,
sebastian

--- End Message ---
--- Begin Message ---
Thanks Sebastian. But I don't seem to have it at all.

$ cd /
$ find . -name "*apxs*" -print
./usr/share/man/man8/apxs.8.bz2

Is it possible. But my apache seems to be working fine !

Sebastian Wolfgarten wrote:

> Hi Shanky,
> 
> apxs is part of the apache distribution,
> you will find it in the subdirectory bin
> of your apache install directory (mostly).
> Be sure to use --with-apxs2 option when
> configuring for the case you will ever
> use apache2...
> 
> bye,
> sebastian
> 
> 
> 


--- End Message ---
--- Begin Message ---
it is possible that you didnt build apache with apxs support. thats why its
not there im guessing.

----- Original Message -----
From: "shanky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Sebastian Wolfgarten" <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 12:04 AM
Subject: Re: [PHP-INST] PHP Installation : apxs ?????


> Thanks Sebastian. But I don't seem to have it at all.
>
> $ cd /
> $ find . -name "*apxs*" -print
> ./usr/share/man/man8/apxs.8.bz2
>
> Is it possible. But my apache seems to be working fine !
>
> Sebastian Wolfgarten wrote:
>
> > Hi Shanky,
> >
> > apxs is part of the apache distribution,
> > you will find it in the subdirectory bin
> > of your apache install directory (mostly).
> > Be sure to use --with-apxs2 option when
> > configuring for the case you will ever
> > use apache2...
> >
> > bye,
> > sebastian
> >
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Dear PHP-Users,

I am new to PHP and even in compiling Sources with an Compiler.
Unfortuneatly I have some big problems installing
PHP 4.2.1 on Solaris 8 (64Bit) SPARC Envirement
with Apache 1.3.12 & MySQL 3.23.49.

So my first question is:
Is there any binary-package which I can Install with ´pkgadd´?

If not I may have to configure and/or Install Pathes and libs.
So here is my Envirement-Summary:

Sun Solaris (Full install) 5.8 64-Bit
System is already Patched (Full)
Additional I have installed the following
Software (always binaries with pkgadd):

gcc 3.1 (but not libgcc 3.1 because sunfreeware told that these files are
included in gcc 3.1)

autoconf 2.53
automake 1.6
bison 1.34
flex 2.5.4a
make 3.79.1
openssl 0.9.6c
openssh3.1
prngd0.9.23

I manually set "export CC; CC=gcc" to use gcc as the Compiler.
When I wrote a simple C-Source "HelloWorld" and compile it with
make, everything works fine.
May I have to set more LIB-PATHES? Which and where?

Maybe there is anywhere an good indeep-description for using
gcc on Solaris and/or php-Installation.

Many thanks for your help in advantage

Matthias Steffens


--- End Message ---
--- Begin Message ---
Hi,

I try to install php 4.2.1 on Suse8.0 with the external MySQL Support

./configure [...] --with-mysql=path/to/mysql

on Suse8.0 this is (or better was on the standard installation
php4.1.0))  --with-mysql=/usr

=======================================
what I get is:
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more
information.

=======================================
and in config.log
configure:40051: checking for mysql_close in -lmysqlclient
configure:40070: gcc -o
conftest -g -O2  -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD
_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=2
2 -DMOD_SSL=208107 -DEAPI
    -L/usr/lib
    -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/
X11R6/lib
conftest.c -lmysqlclient  -lmcrypt -lltdl -lldap -llber -lcrypt -lpam
 -lgmp -lgd -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lz -lm -lz -lxml2 
-lgdbm -lcurl -ldl -lcrypto -lssl -lcurl -lbz2 -lz -lcrypt -lssl -lcrypto -l
res
olv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 40059 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_close();

int main() {
mysql_close()
; return 0; }
configure:40195: checking for mysql_error in -lmysqlclient
configure:40214: gcc -o
conftest -g -O2  -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD
_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=2
2 -DMOD_SSL=208107 -DEAPI
        -L/usr/lib -L/usr/lib
        -Wl,-rpath,/usr/ssl/lib -L/usr/ssl/lib -Wl,-rpath,/usr/X11R6/lib -L/
usr/X11R6/lib -Wl,-rpath,/usr -L/usr
conftest.c -lmysqlclient  -lz -lmcrypt -ll
tdl -lldap -llber -lcrypt -lpam -lgmp -lgd -lt1 -lfreetype -lX11 -lXpm -lpng
 -lz -ljpeg -lz -lm -lz -lxml2 -lgdbm -lcurl -ldl -lcrypto -lssl -lcurl -lbz
2 -
lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
configure: failed program was:
#line 40203 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_error();

int main() {
mysql_error()
; return 0; }


=======================================
configure cannot find cannot find mysqlclient?????????????????


Help would be fine! Thanx

JR






--- End Message ---

Reply via email to