php-install Digest 24 May 2002 18:24:55 -0000 Issue 851
Topics (messages 7090 through 7097):
Re: PHP 4.1.2 and Apache EAPI
7090 by: Phil Dibowitz
Re: weird problem...
7091 by: Jim Thome
7092 by: MikeParton
7093 by: TeWoei Poon
7095 by: MikeParton
Re: Can't install PHP in win 2000
7094 by: Miguel Maria Godinho de Matos
Re: ok compiled but ?
7096 by: Richard Anglin
php-4.2.1. on redhat 7.2
7097 by: gamin
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 ---
Phil Dibowitz wrote:
> I recently installed PHP 4.1.2 on Apache 1.3.20 with SSL.
It doesn't make a huge difference I suppose, but the Apache Version was a typo.
Apache/1.3.24 (Unix) mod_ssl/2.8.8 OpenSSL/0.9.6 PHP/4.1.2
Phil
--
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
-Benjamin Franklin, 1759
--- End Message ---
--- Begin Message ---
Read the news release:
http://www.php.net/release_4_2_1.php
External variables are no longer enabled by default.
>>> TeWoei Poon <[EMAIL PROTECTED]> 05/23/02 12:07 PM >>>
Hey all,
This is really weird. I've just upgraded the php
version from 4.0.5 to 4.2.1. I'm running Apache on
Windows 98. I've been following the installation
instructions... I've done the necessary changes to
httpd.conf
LoadModule php4_module
C:/php.4.2.1/sapi/php4apache.dll
AddType application/x-httpd-php .php
Move php4ts.dll to the C:/windows/system. Update the
php.ini at C:/windows with the php.ini-dist
I'm able to run php when I restart the Apache web
server. HOWEVER, it doesn't seem to know variable like
HTTP_USER_AGENT. What did I do wrong? It has been
working fine before I upgraded the php version.
Here is a simple php script (test1.php)
<?php
if(strstr($HTTP_USER_AGENT,"MSIE")) {
echo "You are using Internet Explorer<br>";
} else {
echo "Your HTTP_USER_AGENT is $HTTP_USER_AGENT<br>";
}
?>
In this case... I got "Your HTTP_USER_AGENT is" and
blank (eventhough, I'm using IE).
Here is another simple php script (test2.php)
<?php
echo "You could not be logged in $user";
echo ".... $HTTP_USER_AGENT";
?>
I got "You could not be logged in ...." when I called
the script htt://127.0.0.1/tests/test2.php?user=twp
Please advice. Thanks in advance.
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Sorry, that should be $_SERVER superglobal NOT $_ENV
----- Original Message -----
From: "MikeParton" <[EMAIL PROTECTED]>
To: "TeWoei Poon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 2:21 PM
Subject: Re: [PHP-INST] weird problem...
> Did you leave register_globals set to off in your php.ini? If so, you
need
> to declare your $_ENV superglobal variable at the beginning of your script
> (see the section in the php manual on register_globals and the superglobal
> arrays).
>
> HTH
>
> Mike
> ----- Original Message -----
> From: "TeWoei Poon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 23, 2002 2:04 PM
> Subject: [PHP-INST] weird problem...
>
>
> > Hey all,
> >
> > This is really weird. I've just upgraded the php
> > version from 4.0.5 to 4.2.1. I'm running Apache on
> > Windows 98. I've been following the installation
> > instructions... I've done the necessary changes to
> > httpd.conf
> >
> > LoadModule php4_module
> > C:/php.4.2.1/sapi/php4apache.dll
> > AddType application/x-httpd-php .php
> >
> > Move php4ts.dll to the C:/windows/system. Update the
> > php.ini at C:/windows with the php.ini-dist
> >
> > I'm able to run php when I restart the Apache web
> > server. HOWEVER, it doesn't seem to know variable like
> > HTTP_USER_AGENT. What did I do wrong? It has been
> > working fine before I upgraded the php version.
> >
> > Here is a simple php script (test1.php)
> > <?php
> >
> > if(strstr($HTTP_USER_AGENT,"MSIE")) {
> > echo "You are using Internet Explorer<br>";
> > } else {
> > echo "Your HTTP_USER_AGENT is $HTTP_USER_AGENT<br>";
> > }
> > ?>
> > In this case... I got "Your HTTP_USER_AGENT is" and
> > blank (eventhough, I'm using IE).
> > Here is another simple php script (test2.php)
> > <?php
> >
> > echo "You could not be logged in $user";
> >
> > echo ".... $HTTP_USER_AGENT";
> >
> > ?>
> >
> > I got "You could not be logged in ...." when I called
> > the script htt://127.0.0.1/tests/test2.php?user=twp
> >
> > Please advice. Thanks in advance.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > LAUNCH - Your Yahoo! Music Experience
> > http://launch.yahoo.com
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Mike,
You are COOL! Thanks.
--- MikeParton <[EMAIL PROTECTED]> wrote:
> Did you leave register_globals set to off in your
> php.ini? If so, you need
> to declare your $_ENV superglobal variable at the
> beginning of your script
> (see the section in the php manual on
> register_globals and the superglobal
> arrays).
>
> HTH
>
> Mike
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--- End Message ---
--- Begin Message ---
Glad to see others think I'm cool. I was beginning to think that was a
thought unique to me.
Anyway, glad I could help.
Cheers and good luck!
Mike
----- Original Message -----
From: "TeWoei Poon" <[EMAIL PROTECTED]>
To: "MikeParton" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 2:29 PM
Subject: Re: [PHP-INST] weird problem...
> Mike,
>
> You are COOL! Thanks.
>
> --- MikeParton <[EMAIL PROTECTED]> wrote:
> > Did you leave register_globals set to off in your
> > php.ini? If so, you need
> > to declare your $_ENV superglobal variable at the
> > beginning of your script
> > (see the section in the php manual on
> > register_globals and the superglobal
> > arrays).
> >
> > HTH
> >
> > Mike
>
>
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
-----Original Message-----
From: Miguel Maria Godinho de Matos [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 11:30 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Can't install PHP in win 2000
Hi guys, i am not subscribe in the php mailing list so any replys on this
topic, please cc me.
I am sorry to boder u with such a lame problem but there is litle else i can
do.
I have been trying to install php with the apache 1.7. 24 with no success.
I installed appache and then unzipped all files from the zip:
php-4.2.1-Win32.zip to c:\php
I then came to the site www.php.net and read all the docs about instalation.
I copied followed all steps ( cofigured php.ini from php and httpd.conf from
appache ) then restarted the server an tried the test script:
<?php phpinfo() ?> ... nothing happened except that instead of returnig html
as it should, the browser returned this same line as if i was typing a
letter.
I send u my conf files and hope some one can give me a hint on what i did
wrong / haven't done yet.
HAAAAA and one more thing, i don't know if it matter bu i went to the
command line, c:\program files\apache group\apache and ran apache and the
output was something like this:
apache/1.3.24 (win32) PHP/4.2.1 running...
I don't understand why doesn't the server translates the scripts....
Thank for your time
Regards, Miguel Matos
--- End Message ---
--- Begin Message ---
I had the same problem and was sratching my head for three weeks. I found
the solution by following the below directions:
http://www.tldp.org/HOWTO/Apache-Compile-HOWTO/php.html
I was surprised it worked -- pass it on :)
----- Original Message -----
From: "Richard Anglin" <[EMAIL PROTECTED]>
To: "Defryn NZ" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 23, 2002 2:48 AM
Subject: Re: [PHP-INST] ok compiled but ?
> Try this --
>
> http://www.bolthole.com/solaris/php+solaris.html
>
>
> ----- Original Message -----
> From: "Defryn NZ" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 23, 2002 2:39 AM
> Subject: RE: [PHP-INST] ok compiled but ?
>
>
> > I am having exactly the same problem. The error only appears when
starting
> > apache.
> > I am thinking about installing Apache 1.3 and see if it has the same
> > problem.
> >
> > Everything works fine on windows :) but I want to learn Unix. What do
you
> > mean with compiling
> > It directly into httpd?
> >
> > Cheers
> >
> > -----Original Message-----
> > From: Dan Stilts [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 22 May 2002 11:10 a.m.
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: [PHP-INST] ok compiled but ?
> >
> > Hi Erik,
> >
> > I was having this same exact problem, so I went ahead and compiled it
> > directly into httpd. Not always my favorite thing to do, but nothing
else
> > was working.
> >
> > Dan
> >
> > -----Original Message-----
> > From: Erik [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 21, 2002 1:01 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] ok compiled but ?
> >
> > hi,
> >
> >
> > i succesfully compiled and builded mysql apache and php 4.2.1from the
> > sourcecode and it still refuses to work :-( the error i get is when i
try
> > to start apache
> > Syntax error on line 222 of /usr/local/apache/conf/httpd.conf
> > cannot load /usr/local/apache/libexec/libphp4.so into server
> > /usr/local/apache/libexec/libphp4.so : undefined symbol __dn_expand
> >
> > what is this ?? help please
> >
> > regards from Belgium
> > Erik
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--- End Message ---
--- Begin Message ---
On my typical install of RH 7.2 php is automatically installed from the rpm.
I would like to upgrade to php-4.2.1 with a few more modules updated (like
pdflib etc)? How would i go about doing this ? do i have to remove the old
install or simply rebuild the new tar ? In which directory should i copy and
build the tar
thx in advance
gamin
--- End Message ---