php-install Digest 31 Mar 2002 09:32:04 -0000 Issue 770

Topics (messages 6512 through 6516):

[Corrected syntax] PHP install on Apache win 2000 Pro
        6512 by: John D.Wiles

R: Install on PWS
        6513 by: Distefano Felice

Re: IMAP Connection: LOGIN is on two lines
        6514 by: Brandon Knitter

php-3.0.18 and apach 1.3.23 problems on Solaris 8
        6515 by: Akop Pogosian

PHP and PWS
        6516 by: Distefano Felice

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 ---
My last meesage contains incorrect php syntax..sorry.  Request for help:

This does not work:

<?php "This is a test"; ?>

However, this works:

<?php phpinfo(); ?>

And this works:

<?php
echo "This is a test";
phpinfo();
?>

Then AFTER running the one before, this works:

<?php echo "This is a test"; ?>

Until a new browser window is started

- John

Windows 2000 Professional
Apache 1.3.22
IIS running only as FTP server 





_____________________________________________________________
Get a free email account at http://freemail.wwwddd.com

_____________________________________________________________
Run a small business? Then you need professional email like [EMAIL PROTECTED] from 
Everyone.net  http://www.everyone.net?tag
--- End Message ---
--- Begin Message ---
Yes, I've got the same problem. I am new to PHP, I already use PWS and then
I wouldn't install Apache. I wonder who said PHP is better then ASP. Anyway
with IE browser I get the "HTTP 500 Server Error" and with Netscape I get
this message:
"Impossible to find one of the library files needed to execute the
application."
If you get out of this situation please let me know.

Thanks

[EMAIL PROTECTED]


Numero 6 <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
> I can't manage PHP to work with PWS.
> After I install, any php script hangs.
> I tried "php.exe -i" in php work directory and it works.
> Previously I was working with 4.0.5, and I only replaced old files,
> leaving configuration unchanged.
> Someone had the same problem?


--- End Message ---
--- Begin Message ---
> I recently installed PHP (4.1.2) with IMAP support using UWASH's c-client
> library on a Solaris machine without issue.  When I did the same on Linux I
> could not login to my IMAP server.  Snooping the connection on the IMAP
> server
> resulted in the following:
> 
> 
> #
> strings /tmp/snoop.log
> snoop
> &H);
> e* OK binge Cyrus IMAP4 v1.5.19 server ready
> Ywv00000000 CAPABILITY
> &HTI
> * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS
> X-NON-HIERARCHICAL-RENAME NO_ATOMIC_RENAME UNSELECT
> 00000000 OK Completed
> 00000001 LOGIN "
> " ********
> 00000001 NO Invalid user
> 00000002 LOGIN "
> " ********
> 00000002 NO Invalid user
> 00000003 LOGIN "
> " ********
> 00000003 NO Invalid user
> 00000004 LOGOUT
> * BYE LOGOUT received
> 00000004 OK Completed
> &HRx
> # 
> 
> (I have replaced my password with "*".
> 
> The odd part is that the LOGIN is on two lines.  I have echo'd out the
> information send to the imap_open command in the script I'm using and all
> is
> well, as a matter of fact, the username is correct in the script, but as you
> can
> see above, it's blank (replaced by a CR or CRLF).
> 
> Any help would be greatly appreciated.
> 
> Thanks,
> 
> -- 
> -bk
> 
> 
> 
> 
> 


--- End Message ---
--- Begin Message ---
I am trying to install Apache-1.3.23 with various third-party modules,
including php/3.0.18 with the security patch to support the users who
are already using php3.

As soon as I started using this web server in production, I noticed
this problem with it. If the apache option "KeepAlive" is on (which is
the default), the httpd processes do not timeout after they service
their requests but keep on accumulating until the number of httpd
processes reaches 150. At this point, httpd does not service any new
requests because the max number of httpd processes has been reached.
As soon as I disable the PHP3 module, the site works fine, with the
average number of httpd processes below 30. The number of daily hits
is slightly above 200,000. Almost no users use PHP3. I have searched
google for a while to see if this is a known problem. I found only two
or three people complaining about it but no real solution. Some apache
developer suggested that this is a problem with php3 module because it
much be catching the signal sent to httpd. I also found a patch that
changes "SIGALRM" with "SIGUSR2" in apache source in a couple of
places to fix this problem
(http://bugs.apache.org/index.cgi/full/3906).

Right now, I am running this httpd with KeepAlive option turned off
but I'd like to get this problem fixed eventually. I could apply the
patch above though it sounds like a kludge because the real problem is
likely with PHP3. 

Does anyone else run php-3.0.18 with a recent version of apache on
Solaris on a site that gets 100,000 or more hits per day? What did you
do to make it work?


-akop
--- End Message ---
--- Begin Message ---
Have anybody made work PHP412 with PWS on Win98? I get only HTTP 500 Server
Error.
Probally PHP and PWS is not a good marriage, anyway if somebody succeded
I'll be thankful to know.

[EMAIL PROTECTED]



--- End Message ---

Reply via email to