php-install Digest 5 May 2001 04:04:32 -0000 Issue 293

Topics (messages 3031 through 3037):

Can't not start the apache when I configure with oci8 or oracle
        3031 by: LIANG, YANSHENG (ANM)

Re: How to get user IP address on PHP Program ?
        3032 by: Jim Thome

Re: PHP Not showing correct version (?)
        3033 by: Philip Snyder

libphp4.so not showing up / updating!
        3034 by: Billy Kimble
        3035 by: Philip Snyder
        3036 by: Billy Kimble

Getting PHP 4.0.0
        3037 by: Tom Hansen

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 try to install php4.0.4pl1 in my linux Red hat6.1, I configure the
php, with the following command,
 
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
--enable-track-vars --enable-debug 
--with-oracle=/u01/app/oracle/product/8.1.5
--with-oci8=/u01/app/oracle/product/8.1.5
 
make
 
make install
 
Anything seems fine. I can complete the installation without a error.
 
But When I start the apache (httpd start) I got the error in below:
 
syntax error on line 207 of /usr/local/apache/conf/httpd.conf
cannot load /usr/local/apache/libexec/libphp4.so into server:
libclntsh.so.8.0:
cannot open object file: No Such file or directory.
 
I check the path and the files(libphp4.so, libclntsh.so.8.0), they are
exist. Can anyone tell me what is wrong here?
 
Please help!!!!!!!!!!!
 
 
Eddie Liang
Database Administrator
Phone: 630-305-4822
Page:   630-727-5853
 




Perrin,

PHP creates a variable named $REMOTE_ADDR which contains the user's IP.

Jim

>>> Perrin Lee <[EMAIL PROTECTED]> 05/03 9:56 PM >>>
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 PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
To contact the list administrators, e-mail: [EMAIL PROTECTED] 






Startup a shell, find the httpd, and try this:

<path to httpd>/httpd -l

Look at the libraries that are listed as compiled in. I would go so far as
to guess that you will see modphp4.a listed there. He most likely compiled
php4.0.5 as a .so, but it won't be used since the apache that he built
previously has php4.0.3pl1 as a built in module.

He's going to have to recompile his whole apache distribution (unless
someone else has a way to override that). Tell him to make sure he adds
something like --enable-shared=php to the whole apache configuration string.

-Philip

-----Original Message-----
From: James Kapherr [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 1:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP Not showing correct version (?)


Hi,

My webhost installed PHP 4.0.5 for me, but it is still showing 4.0.3pl1 when
using phpinfo().
http://www.moose-shack.net/phpinfo.php

Could this be wrong, or did he not configure it properly?

James


________________________________________________________________________
This message has been checked for all known viruses, by Star Internet, 
delivered through the MessageLabs Virus Control Centre. 
For further information visit:
http://www.star.net.uk/stats.asp


-- 
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]






I've seen this problem mentioned a few times in the past on the list but I
havn't seen a solution that has worked for me yet ..

I've re-compiled PHP4 for MiniSQL (--with-msql --with-apxs) use many times
in the past with little to no problems, but recently I ran into a major
problem on a re-comiliation on a Redhat 6.1 system .. basically when I
re-compile PHP4 with the added --with-msql argument, then restart Apache,
phpinfo() does not reflect the new arguments that I passed. Digging into
this a little more I noticed that the timestamp on my libphp4.so file was
still December 11th, 2000 ... so I tried removing it and re-compiling and it
was not replaced .. somehow Apache is set on using the old libphp4.so and
not using the new one when I re-compile.

I would really like to get this working and hope someone can give some
insight! Thank you very much.

BK






I just wrote the list about this for someone else... check out the other
messages. I believe it applies to you as well.

-Philip

-----Original Message-----
From: Billy Kimble [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 1:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] libphp4.so not showing up / updating!


I've seen this problem mentioned a few times in the past on the list but I
havn't seen a solution that has worked for me yet ..

I've re-compiled PHP4 for MiniSQL (--with-msql --with-apxs) use many times
in the past with little to no problems, but recently I ran into a major
problem on a re-comiliation on a Redhat 6.1 system .. basically when I
re-compile PHP4 with the added --with-msql argument, then restart Apache,
phpinfo() does not reflect the new arguments that I passed. Digging into
this a little more I noticed that the timestamp on my libphp4.so file was
still December 11th, 2000 ... so I tried removing it and re-compiling and it
was not replaced .. somehow Apache is set on using the old libphp4.so and
not using the new one when I re-compile.

I would really like to get this working and hope someone can give some
insight! Thank you very much.

BK



-- 
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]




Hrm, I read your message and did "httpd -l" and saw this:

Compiled-in modules:
  http_core.c
  mod_so.c

so that's not it :( Thanks for the response though .. I wish there was a way
to "Un-Share" an .so file

BK

Philip Snyder <[EMAIL PROTECTED]> wrote in message
1FE58DA3D740D411BCBD00D0B774C1468AA814@exchange">news:1FE58DA3D740D411BCBD00D0B774C1468AA814@exchange...
> I just wrote the list about this for someone else... check out the other
> messages. I believe it applies to you as well.
>
> -Philip
>
> -----Original Message-----
> From: Billy Kimble [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 04, 2001 1:33 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] libphp4.so not showing up / updating!
>
>
> I've seen this problem mentioned a few times in the past on the list but I
> havn't seen a solution that has worked for me yet ..
>
> I've re-compiled PHP4 for MiniSQL (--with-msql --with-apxs) use many times
> in the past with little to no problems, but recently I ran into a major
> problem on a re-comiliation on a Redhat 6.1 system .. basically when I
> re-compile PHP4 with the added --with-msql argument, then restart Apache,
> phpinfo() does not reflect the new arguments that I passed. Digging into
> this a little more I noticed that the timestamp on my libphp4.so file was
> still December 11th, 2000 ... so I tried removing it and re-compiling and
it
> was not replaced .. somehow Apache is set on using the old libphp4.so and
> not using the new one when I re-compile.
>
> I would really like to get this working and hope someone can give some
> insight! Thank you very much.
>
> BK
>
>
>
> --
> 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 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]
>






Where can I get a copy of PHP 4.0.0?

I want to install PHP 4.0.0 on my local machine, since that's the exact
version that my ISP has installed.  (I've been harping on them for months to
upgrade, but to deaf ears.)  I need the same exact version locally for
development, so I can be sure everything I write will run on the ISP.

Can anyone help?  The php.net site only has more recent 4.0.x's and then
some really old 3.x's.

Thanks!




Reply via email to