[PHP-INST] How to get user IP address on PHP Program ?

2001-05-03 Thread Perrin Lee
Hi everybody, I would like to ask some question. When one user login to Apache Server(1.3.14). Can I check the user IP address by PHP4 program ? If yes, do you know the relative example ? Thank Very Much ! -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP-INST] php-mysql-4.0.4pl1-3.i386.rpm install problem

2001-05-03 Thread Tom Gordon
Don, FYI... RH7.1 uses php-mysql-4.0.4pl1-9.i386.rpm (note the '9' vs. '3' in your e-mail). The RPM is found on disk #2. Tom Gordon DON GRIFFEY wrote: > Hello, > I am attempting to install the following rpm downloaded from Red Hat: > php-mysql-4.0.4pl1-3.i386.rpm > > I have already insta

Re: [PHP-INST] PHP 4.0.5 & gd

2001-05-03 Thread Dave Mariner
AHA!!! Checking the dox at the address below reveals that it's available in 4.0.6 - gettable from CVS only, which is why it wouldn't build into 4.0.5 (I presume) http://www.php.net/manual/en/function.imagecreatetruecolor.php HTH anyone wanting truecolour support! Dave - Original Messag

Re: [PHP-INST] compile problem with IBM DB2

2001-05-03 Thread Jeff Warrington
well the snippet below is the Apache config. i don't see the difference between what i have and what you put below. jeff On Thu, 3 May 2001, Steve Brazill wrote: => Shouldn't your PHP config statement look like: => => => SSL_BASE=/usr/local/ssl => ./configure \ => --with

Re: [PHP-INST] PHP 4.0.5 & gd

2001-05-03 Thread Dave Mariner
Thanks for that - the only problem is that GD1.8.4 doesn't support true-colour images (does it? - please correct me if I'm wrong), and I NEED true-colour support for my app! Anyone got 2.x working yet? Cheers, Dave - Original Message - From: "Philip Snyder" <[EMAIL PROTEC

Re: [PHP-INST] compile problem with IBM DB2

2001-05-03 Thread Steve Brazill
Shouldn't your PHP config statement look like: SSL_BASE=/usr/local/ssl ./configure \ --with-layout=Apache \ --prefix=/opt/gr/oas/apache \ --enable-module=ssl \ --activate-module=src/modules/php4/libphp4.a \ --activate-module=src/modules/perl/libperl.a \ --

[PHP-INST] compile problem with IBM DB2

2001-05-03 Thread Jeff Warrington
hello all, i have had a frustrating time trying to get this one resolved. I am trying to compile PHP4 with support for IBM DB2 on Apache 1.19. I have done this in the past with success but lately am consistently getting a failure. This problem is essentially PHP bug #8749 I have not seen any f

RE: [PHP-INST] --with-pdflib... stops on show_boxed

2001-05-03 Thread Grimes, Dean
Either the library is missing or it is not being found. If you are sure pdflib was built correct, then try use --with-pdflib=[pdflib install directory]. I had this same problem but specifying the pdflib directory fixed it. Dean -Original Message- From: Jani Taskinen [mailto:[EMAIL PROTE

RE: [PHP-INST] PHP 4.0.5 & gd

2001-05-03 Thread James Kapherr
VERY nice m8 Thanks for taking the time to write it out - was gonna post a topic on the order to install Perl, PHP, MySQL, Apache etc =) James -Original Message- From: Philip Snyder [mailto:[EMAIL PROTECTED]] Sent: 03 May 2001 22:12 To: '[EMAIL PROTECTED]' Subject: [PHP-INST] PHP 4.0.5

php-install Digest 3 May 2001 21:15:48 -0000 Issue 291

2001-05-03 Thread php-install-digest-help
php-install Digest 3 May 2001 21:15:48 - Issue 291 Topics (messages 2997 through 3018): Re: PHP 4.0.5 & gd 2.0.1 2997 by: James Kapherr 2998 by: Dave Mariner 3001 by: B. van Ouwerkerk 3003 by: Dave Mariner Re: (take 2) What am I doing wrong? 2999 by:

[PHP-INST] PHP 4.0.5 & gd

2001-05-03 Thread Philip Snyder
Well, I've got a nice howto for you all. I ended up giving up on gd 2.0.1 altogether and grabbed gd 1.8.4 which seems to work great. SO. Here's a step by step how to do it (and the libraries you'll need as well). Hope everyone who was having problems is a much happier person in about an hour. I kn

Re: [PHP-INST] installing mysql...

2001-05-03 Thread B. van Ouwerkerk
>Then it wouldn't let me start it with ./bin/safe_mysqld --user=mysql & >but I could start it without naming a user (./bin/safe_mysqld) and >create new dbs and stuff. So is that running as root then? It also won't >let me change the password (or I'm doing it wrong---using ./mysqladmin >-u root -p

[PHP-INST] PHP 4.0.5 DSO w/Apache 2.0.16 BETA

2001-05-03 Thread Devin Atencio
I got Apache 2.0 installed I believe just fine with DSO Support. I am now trying to get PHP 4.0.5 to install with APXS and it doesn't seem to work. My configure line for PHP is: ./configure --with-mysql=/usr/local --with-apxs=/usr/local/apache2/bin/apxs --with-gd=/usr/local --enable-ftp --enable

Re: [Re: [PHP-INST] pgsql 7.1 build problem...]

2001-05-03 Thread Ron Patterson
Got it working. I added PGLS_FETCH(); to the _rollback_transactions function as follows: static int _rollback_transactions(zend_rsrc_list_entry *rsrc) { PGconn *link = (PGconn *)rsrc->ptr; PGLS_FETCH(); PGG(ignore_notices) = 1; PQexec(link,"BEGIN;ROLLBACK;"); PGG(ignore_notic

[PHP-INST] PHP 4.0.5 DSO w/Apache 2.0.16 Beta

2001-05-03 Thread Devin Atencio
I got Apache 2.0 installed I believe just fine with DSO Support. I am now trying to get PHP 4.0.5 to install with APXS and it doesn't seem to work. My configure line for PHP is: ./configure --with-mysql=/usr/local --with-apxs=/usr/local/apache2/bin/apxs --with-gd=/usr/local --enable-ftp --enabl

Re: [PHP-INST] oracle configuration problem

2001-05-03 Thread Jim Thome
Jimmy- No. Oracle client (at a minimum) must be installed on the web server. PHP uses the Oracle client to talk to the db; the Oracle listener on the Oracle db will only talk to the Oracle client. Regards, Jim Thome >>> Jimmy Brake <[EMAIL PROTECTED]> 05/03 10:46 AM >>> if you compile on o

Re: [PHP-INST] oracle configuration problem

2001-05-03 Thread Jimmy Brake
if you compile on one machine and install on another that does not have oracle installed, will that work? Jimmy Brake Cool Tools and Stuff Critical Path Inc. "Making your job easier" On Thu, 3 May 2001, Benjamin Heckmann wrote: > Ok, here we go again: > > You need at least a oracle client in

Re: [PHP-INST] Install Probs with LInux/Apache/MySQL

2001-05-03 Thread Charles Homan
>>> ld.so.conf should contain /usr/local/mysql/lib/mysql DO NOT FORGET to run >>> ldconfig after changing ld.so.conf >> >> Did this before and got same errors, and I didn't forget to ldconfig > > I know an experienced sysadmin who forgot. I don't doubt that. >>> uhm, being a creative guy does

Re: [PHP-INST] Install Probs with LInux/Apache/MySQL

2001-05-03 Thread B. van Ouwerkerk
> > ld.so.conf should contain /usr/local/mysql/lib/mysql DO NOT FORGET to run > > ldconfig after changing ld.so.conf > >Did this before and got same errors, and I didn't forget to ldconfig I know an experienced sysadmin who forgot. > > uhm, being a creative guy does NOT mean you know how to ins

[PHP-INST] installing mysql...

2001-05-03 Thread Tara Dirst
Before I install Apache and PHP, I'm trying to install mysql. I'm running Solaris 8...and it doesn't appear to be working correctly. When I did the install from the free sun site, it didn't seem to be installing everything that it should (a var directory?) and I couldn't get it started. So I do

Re: [PHP-INST] Install Probs with LInux/Apache/MySQL

2001-05-03 Thread Charles Homan
>> I get the infamouse attention message after I try to configure. I have the >> right paths to mysql. I have the libmysqlclient files in >> /usr/local/mysql/lib/mysql and symbolic linked to /usr/local/mysql >> ld.so.conf is correct. Please before I loose the rest of my hair help! > > Thi

Re: [PHP-INST] Install Probs with LInux/Apache/MySQL

2001-05-03 Thread Charles Homan
See comments in message below.. > > If you have ld.so.conf configured and have shared lib some where. > Here ld.so.conf; verona:/usr/local/src# cat /etc/ld.so.conf /usr/X11R6/lib /usr/i486-linuxaout/lib /usr/local/mysql /usr/local/Hughes /usr/X11R6.3.3/lib /usr/local/lib /usr/lib Have tried w

Re: [PHP-INST] --with-pdflib... stops on show_boxed

2001-05-03 Thread Jani Taskinen
Check your config.log for the reason why the compile test fails. Most likely some library missing.. --Jani On Thu, 3 May 2001, Charles Homan wrote: >I have had this same error - EXACTLY! If someone can help. Please do. > >> From: [EMAIL PROTECTED] (Andrew Apold) >> Newsgroups: php.install

Re: [PHP-INST] --with-pdflib... stops on show_boxed

2001-05-03 Thread Charles Homan
I have had this same error - EXACTLY! If someone can help. Please do. > From: [EMAIL PROTECTED] (Andrew Apold) > Newsgroups: php.install > Date: 24 Apr 2001 10:52:31 -0700 > Subject: [PHP-INST] --with-pdflib... stops on show_boxed > > I've seen in the annotations and other places at least a do

[PHP-INST] PHP 4.0.5, PostgreSQL, apxs config failure

2001-05-03 Thread Nouvelles Technologies et Enseignement
Hi, On MacOS X 10.0.2, PHP 4.0.5 configure ends with the message: ---configure message-- | *** ATTENTION ***| || | Something is likely to be messed up

Re: [PHP-INST] PHP 4.0.5 & gd 2.0.1

2001-05-03 Thread Dave Mariner
You'll probably find that the gdImageCreateFrom errors are down to your gd build failing silently - check the errs file in your gd-2.0.1 directory. As far as the conflicting types message goes, I'm getting the same thingI'll be very interested to find out why - if you solve it can you post the

[PHP-INST] Seg fault under Solaris

2001-05-03 Thread Nigel Gilbert
I am getting a segmentation fault after installing PHP. Before I get out gbd to get more data on the problem, may I check with this list that there isn't some already well known problem with the combination I'm using? I'm installing on SunOS 5.7 Generic sun4u sparc SUNW,Ultra-4 and have: Ap

Re: [PHP-INST] PHP 4.0.5 & gd 2.0.1

2001-05-03 Thread B. van Ouwerkerk
>BTW If anyone gets this working can they post an idiots guide on how to do >it, as I'm an idiot that needs to do it!! Is the old syntax invalid?? --with-gd --with-gd-dir=/where/you/put/it I don't have time to try it myself.. but the syntax above worked for me until 4.0.4pl1 (which is the firs

Re: [PHP-INST] oracle configuration problem

2001-05-03 Thread Benjamin Heckmann
Ok, here we go again: You need at least a oracle client installation with oci8 support on your machine, where you are going to compile your php. If you haven't php won't find the needed include libraries and this is were you are right now. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED]

Re: [PHP-INST] (take 2) What am I doing wrong?

2001-05-03 Thread B. van Ouwerkerk
>I hope I get a slightly less elitist reply eventually. /me no.. >I'd try to recompile apache, but last time I tried to compile apache, it had >even more errors then I'm getting now... This project is worth a good >fight, but not one that will ~require~ that I recode half the kernel. Onl

Re: [PHP-INST] PHP 4.0.5 & gd 2.0.1

2001-05-03 Thread Dave Mariner
www.boutell.com/gd BTW If anyone gets this working can they post an idiots guide on how to do it, as I'm an idiot that needs to do it!! - Original Message - From: "James Kapherr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 9:38 AM Subject: RE: [PHP-INST] PHP 4

RE: [PHP-INST] PHP 4.0.5 & gd 2.0.1

2001-05-03 Thread James Kapherr
Ack - I always forget where to get GD from - where abouts can I download it from? James This message has been checked for all known viruses, by Star Internet, delivered through the MessageLabs Virus Control Centre. For