php-windows Digest 5 Jul 2002 06:45:32 -0000 Issue 1225

Topics (messages 14563 through 14567):

IIS unexpected error
        14563 by: news.per.connect.net.au
        14565 by: Christoph Grottolo

Re: Beginner question - blank php page
        14564 by: Arthur

Stack Overflow with: zend optimizer
        14566 by: colin mcdonald

Java in PHP
        14567 by: Idaham

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 ---
I am setting up PHP on WinXP Pro with IIS 5.1.

I tried to start the IIS server and I get an "Unexpected error 0x8ffe2740
occured." error.
Anyone know how to resolve this problem?



--- End Message ---
--- Begin Message ---
Hi

News.Per.Connect.Net.Au wrote:
> I am setting up PHP on WinXP Pro with IIS 5.1.
>
> I tried to start the IIS server and I get an "Unexpected error
> 0x8ffe2740 occured." error.
> Anyone know how to resolve this problem?

Please be more specific if you expect helpful answers - and read the manual
first if you haven't done already.

Christoph

--- End Message ---
--- Begin Message ---
Problem Solved - With the help of the good people from this list, I found
this in the install.txt:

"Now that version 4.1 introduces a safer sapi module, we recommend
that you configure PHP as a module in Apache.

To do this, you should move php4ts.dll to the windows/system (for Windows
9x/Me) or winnt/system32 (for Windows NT/2000/XP) directory, overwriting any
older file. Then you should add the following three lines to your Apache
conf (httpd.conf) file: (swap c:/php/ for your PHP install path)

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php"
--
-----------------------------------------------------
Click here for Free Video!!
http://www.gohip.com/free_video/

"Arthur" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Just installed php for the first time. Called up a hello wold page and the
> page is blank. Can someone tell me what I'm doing wrong?
>
> TIA Arthur
>
> --
> -----------------------------------------------------
> Click here for Free Video!!
> http://www.gohip.com/free_video/
>
>
>


--- End Message ---
--- Begin Message ---
Hi there,

zend optimizer 1.3.1 / IIS 5 / PHP 4.2.1 / Windows 2000

I've been getting "Stack Overflow" errors frequently.  Our software has
hundreds of db queries and hundreds of includes per page execution.  Just to
give you some context, so I can't tell you exactly what I'm doing that's
causing this.

I recently disabled the zend optimizer from the server and since then I
haven't run it again.  Could it be that it the Zend Optimizer that's causing
this problem?

Any help would be appreciated.

Thanks,

Colin

--- End Message ---
--- Begin Message ---
Hi,
I'm really new to Java in PHP, and curious to this great features.
Q: How do I convert the code below so that it can run within PHP?

===============================================================
import com.my.sm.api.*;
import com.my.sm.api.interfaces.*;

public class my1
{
 public static void main(String args[]) {
  if (args.length != 3) {
   System.err.println("Usage : java my1 <server> <username> <password>");
   return;
  }

  System.out.println("Starting Engine..");
  String server = args[0];
  String username = args[1];
  String password = args[2];
  ApiSession session = null;

  try {
   session = ApiSession.openSession(server, username, password);
  } catch (RuntimeException e) {
   System.out.println(e.getMessage());
   return;
  }


 }
}

=====================================================
FYI, I'm using PHP 4.2.1 with Java extension and JDK1.3.

Thanks.

--idaham


--- End Message ---

Reply via email to