[PHP-INST] AIX 4.3.3 php install problem

2003-03-25 Thread Stephen Spalding
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

[PHP-INST] AIX extension woes

2002-10-12 Thread Ryan Smith
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

[PHP-INST] aix oracle apache configure

2002-03-06 Thread Heiko-B Schmidt
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

[PHP-INST] Aix 4.3.3 + Apache 1.3.23 + Php 4.1.1 = CORE DUMP! HELP!

2002-02-28 Thread jkaufman
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

[PHP-INST] AIX/Apache/PHP4 no such file or directory on apache start...

2002-01-23 Thread Ohvall, Jeff
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

[PHP-INST] AIX 4.3.3 and PHP 4.0.6 segmentation faults

2001-08-28 Thread Buddy Dowdy
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

Re: [PHP-INST] AIX problem - *.lo contains an incorrect file suffix

2001-08-02 Thread Michael Champagne
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

[PHP-INST] AIX problem - *.lo contains an incorrect file suffix

2001-08-01 Thread Tony R. Freeman
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

Re: [PHP-INST] AIX 4,3,3, Netscape 3.6.1

2001-07-27 Thread Alfred Lerch
=== > 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] >

Re: [PHP-INST] AIX 4,3,3, Netscape 3.6.1

2001-07-20 Thread Alfred Lerch
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

[PHP-INST] AIX 4,3,3, Netscape 3.6.1

2001-07-19 Thread Kenneth Lee
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

Re: [PHP-INST] AIX 4.3.3 PHP 4.0.5 HowTo compile using xlC

2001-05-08 Thread Phill Bertolus
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

[PHP-INST] AIX 4.3.3 PHP 4.0.5 HowTo compile using xlC

2001-05-08 Thread Phill
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: \$

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX

2001-04-26 Thread Andi Gutmans
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

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

RE: [PHP-INST] AIX

2001-04-26 Thread Krznaric Michael
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)? &

RE: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
>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

Re: [PHP-INST] AIX

2001-04-26 Thread Andi Gutmans
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

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX

2001-04-26 Thread Andi Gutmans
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

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX

2001-04-26 Thread Andi Gutmans
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

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX

2001-04-26 Thread Steve Brazill
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

Re: [PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX

2001-04-26 Thread Steve Brazill
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

Re: [PHP-INST] AIX

2001-04-26 Thread Andi Gutmans
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 (

[PHP-INST] AIX

2001-04-26 Thread Jacob Steinberger
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

[PHP-INST] AIX 4.3 PHP4 and getsockopt

2001-04-24 Thread Jacob Steinberger
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

Re: [PHP-INST] AIX, PHP4 and core dump

2001-02-20 Thread Dave Brooks, BCS Systems
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:/

[PHP-INST] AIX 4.3.3 + Oracle 9iAS + PHP 4.0.4pl1 with OCI8 instructions

2001-02-20 Thread Michael Champagne
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

Re: [PHP-INST] AIX, PHP4 and core dump

2001-02-15 Thread Dave
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

Re: [PHP-INST] AIX, PHP4 and core dump

2001-02-14 Thread Alex Akilov
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]

[PHP-INST] AIX, PHP4 and core dump

2001-02-14 Thread Dave Brooks, BCS Systems
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