Hello all,
I'm installing php for the first time on an IBM b50
running AIX 4.3.3. I'm trying to install php 4.3.1 for
use with Oracle 8.1.7, and it's crapping out at the
make command. Here is error that I'm receiving:
ld: 0706-006 Cannot find or open library file: -l
ocijdbc8
ld:open(): N
I'm having some problems getting an extension to work in the AIX
environment, and I'm wondering if anyone has seen anything similar.
Please reply to me, and I will summarize for the list if there is a
solution.
I'm using PHP 4.1.2, and everything is fine until I add an extension to the
php.ini
Hello,
probably anybody else had this problem before
and can help me.
My config is php 3.0.18 aix 4.2.1 oracle 7.3.4 apache 1.3.23
$ORACLE_HOME is set.
If I start to run ./configure --with-apache=../$APACHE_DIR \
--with-oracle=$ORACLE_HOME \
it comes up with the following
I have been trying very unsuccessfully to get Apache 1.3.23 to run php
4.1.1 as a DSO. I can get everything to compile, but if I try to load the
php DSO apache will CORE.
System Information:
Aix 4.3.3 Patch Level 9
Cset for Aix compiler v5.02
Perl 5.6.0 [bull lppset]
MM v1.1.3 [bull lppset]
Bison
I'm running apache 1.3.12 under AIX 4.3.3.0 and trying to include
PHP (v4.0.6.0) using a freeware archive/bundle from bull
(freeware.bull.net). Installing the bff fileset goes fine. But when I
configure apache's httpd.conf and try to restart the web server, I receive
the following error
Following some excellent instructions posted in May from Phil Betrolus
on getting PHP to compile correctly with AIX 4.3.3.
The good news is that I have a reasonably error free (just warnings
now about suffixes and so forth, as I see almost all AIX users in this
group are reporting) compile of PHP
Hi Tony,
The incorrect file suffixes are ok. They are just warnings, but the files are
read in ok. I'm really not sure what the "Command option l is missing a
subargument" is. Is this a make error? What are the last couple of lines
before you get this?
Thanks,
Mike
> I've read through all th
I've read through all the AIX problem posts on this site, but none
help. I was hoping things would work for me as they did for Mr.
Champagne, but alas I'm still having problems during the "make" command.
AIX: 4.3.3
Apache 1.3.20
Perl 5.6.0
Tying to install PHP 4.0.6
make goes into "." with
===
> Kenneth H. Lee
> [EMAIL PROTECTED]; kennethl at ibmusm04
> office: 914 784 5612, TL 863; fax: 914 784 3833, TL 863
>
>
> Alfred Lerch
> ntorg.com> cc: [EMAIL PROTECTED]
>
Hi Kenneth,
are you sure the file /www/a/netscape/suitespot/bin/libphp4.so exists ?
Have you set the LD_LIBRARY_PATH ?
regards
alfred
Kenneth Lee wrote:
>
> I am having problems trying to get php 4.0.6 to work on AIX 4.3.3 as NSAPI.
>
> Here is how I ran the configure
>
>./configure --w
I am having problems trying to get php 4.0.6 to work on AIX 4.3.3 as NSAPI.
Here is how I ran the configure
./configure --with-zlib \
--enable-libgcc \
--with-nsapi=/www/a/netscape/suitespot \
--with-mysql=/usr/local/mysql
The make and make instal
Oops forgot step 7a) and 7b)
7a) export CC='cc -Dinline= -ma'
7b) export OBJECT_MODE=32
This one depends on wether you're DB2 versions prior to 7.1 (which supports 64
bit). Needless to say you'll need a 64 bit version of Apache if you use
OBJECT_MODE=64.
Hope this helps.
Phill wrote:
> I'll d
I'll dispense with why I'm posting this.
1) Download PHP source.
2) gunzip -> tar
3)
./configure --without-mysql --with-ibm-db2 --with-apxs=/usr/local/apache/bin
/apxs
4) cd php-4.0.5
5) vi libtool
6) Hack away at these lines: (many posts around on this)
archive_cmds= .
add this:
\$
Looks like that fixed everything. Now I'm just dealing with user/pass
issues so at least its making it to the SQL DB. Simple enough things that I
can handle myself. =)
Many thanks Andi!
At 01:27 AM 4/27/01 +0200, Andi Gutmans wrote:
>A temporary hack which might work is editing ext/mysql/libmy
Excellent! It still generated the warning about the getsockopt, but it went
right through. I'll let you know how it goes.
Many thanks!
At 01:27 AM 4/27/01 +0200, Andi Gutmans wrote:
>A temporary hack which might work is editing ext/mysql/libmysql/global.h
>and change all occurances of:
>#ifnde
A temporary hack which might work is editing ext/mysql/libmysql/global.h
and change all occurances of:
#ifndef HAVE_INT_8_16_32
to:
#if 0
Andi
At 05:22 PM 4/26/2001 -0500, Jacob Steinberger wrote:
>Apache Configured with generic. Though I don't think that matters just yet.
>
>PHP Configured wi
Apache Configured with generic. Though I don't think that matters just yet.
PHP Configured with:
./configure --with-mysql --with-apache=/tmp/AIX/apache_1.3.19
--enable-track-vars
I did not specify a path for MySql as I'm not sure if its happy with just
the client libs or if it wants the serve
What's BULL?
Mike
-Original Message-
From: Jacob Steinberger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 5:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] AIX
>Weird, it shouldn't die on a warning. Do you have gmake on that system
>(GNU make)?
&
Jacob Steinberger [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, April 26, 2001 5:40 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP-INST] AIX
>
>
>
> >Weird, it shouldn't die on a warning. Do you have gmake on that system
> >(GNU make)?
> >
> >Andi
>
>I do
>Weird, it shouldn't die on a warning. Do you have gmake on that system
>(GNU make)?
>
>Andi
I do not (unless gnu make is default on AIX, which I doubt), I'll go ahead
and pull it off Bull and give it a go.
Jacob
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EM
At 04:31 PM 4/26/2001 -0500, Jacob Steinberger wrote:
>I was getting the following, though I've since remove it, it would be easy
>for me to unzip again..
>
>libmysql.c: In function 'connect2':
>libmysql.c:179: warning: passing arg 5 of 'getsockopt' from incompatible
>pointer type
>make: 1254-00
I was getting the following, though I've since remove it, it would be easy
for me to unzip again..
libmysql.c: In function 'connect2':
libmysql.c:179: warning: passing arg 5 of 'getsockopt' from incompatible
pointer type
make: 1254-004 The error code from the last command is 1.
Line 179 is the
What error messages did you get when trying to compile PHP?
Andi
At 04:25 PM 4/26/2001 -0500, Jacob Steinberger wrote:
>Alas, I do not have this file.
>
>Thanks for the idea though.
>
>At 12:18 AM 4/27/01 +0200, Andi Gutmans wrote:
>>Try and see if your pre-compiled binaries include a file calle
Alas, I do not have this file.
Thanks for the idea though.
At 12:18 AM 4/27/01 +0200, Andi Gutmans wrote:
>Try and see if your pre-compiled binaries include a file called php_mysql.so.
>If so you could load it via your php.ini.
>
>Andi
>
>At 03:29 PM 4/26/2001 -0500, Jacob Steinberger wrote:
>>A
Try and see if your pre-compiled binaries include a file called php_mysql.so.
If so you could load it via your php.ini.
Andi
At 03:29 PM 4/26/2001 -0500, Jacob Steinberger wrote:
>Andi, Steve. I should have added that everything I have managed to get
>installed are pre-compiled binaries. I have
The client can connect to the SQL server without a problem, I can create
tables, manipulate data, etc.
The error seems to have something to do with PHP and it trying to call
mysql_pconnect. I just don't know how to fix that problem without finding
someone that can change the C on the files my
IF, you are indeed using the MySQL server version 3.23.37, and the client
version of 3.22.whatever, I would suspect that it won't work... (you'd need a
3.23.xx client)
Jacob Steinberger wrote:
> Andi, Steve. I should have added that everything I have managed to get
> installed are pre-compil
Andi, Steve. I should have added that everything I have managed to get
installed are pre-compiled binaries. I haven't been able to get PHP to
compile, so I had to use pre-compiled Apache that has built in support for
PHP. The MySql client wouldn't even work correctly.
Apache 1.3.19
PHP4.0.4pl1
What version of MySQL did you install, and what version does "phpinfo" say is
installed ?? (remember, PHP comes with an old 'generic' version pre-builtin)
Also, did you install MySQL using RPM's ? If you used the 'source' method (as
I did) the line from "phpinfo" might say something like
"--wi
The MySQL client library comes with the latest versions of PHP 4 so you are
probably best off configuring your PHP installation without specifying
anything about MySQL in the ./configure line. And if you really want to or
have to use the libraries under /usr/local use --with-mysql=/usr/local
(
Slowly but surely I was able to install PHP4, Apache, and MySql. All of
which work, just not together. MySql is working fine, PHP4+Apache works,
though when I try and have PHP access MySql I get:
Fatal error: Call to undefined function: mysql_pconnect() in
/usr/local/share/apache/htdocs/mainfi
libmysql.c: In function 'connect2':
libmysql.c:179: warning: passing arg 5 of 'getsockopt' from incompatible
pointer type
make: 1254-004 The error code from the last command is 1.
Line 179 is the following:
if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char*) &s_err, &s_err_size) != 0)
Suggestions
It does all go!
The secret (from Bill Stoddard, see
http://www.phpbuilder.com/forum/archives/3/2001/01/1/102909), is when using
APXS, to edit the 'libtool' script after running './configure' and add the
following switch to both the 'archive_cmds=' and 'archive_expsym_cmds=' lines:
\${wl}-bI:/
I just wanted to post this out here so nobody else has to go through the
pain that I've gone through. Here's my instructions on installing PHP
4.0.4pl1 with OCI8 support on an AIX 4.3.3 box running Oracle's 9i
Internet Application Server. Please email me if this helps you so I will
feel bett
Alex,
The '-ma' flag reports "cc1: Invalid option 'a' "
We have gcc 2.95.2 (under AIX 4.3.3)
Dave
At 19:27 14/02/01 -0500, you wrote:
>Dave
>
>Rather than setting HAVE_ALLOCA try setting CFLAGS="-ma".
>
>Alex
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [E
Dave
Rather than setting HAVE_ALLOCA try setting CFLAGS="-ma".
Alex
--
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 there,
We are trying to build PHP4 under AIX 4.3.3 using gcc
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/HTTPServer/bin/apxs
make
make install
It all compiles and installs. However httpd core dumps with a segmentation
fault.
We then tried (as per a posting on the list) build
37 matches
Mail list logo