php-windows Digest 27 Aug 2003 04:28:00 -0000 Issue 1888

Topics (messages 21252 through 21258):

Web page timeout with PHP 4.3.3 on IIS & Win2K
        21252 by: Scott Stricker
        21253 by: Scott Stricker
        21254 by: M.Staiger
        21255 by: Scott Stricker
        21257 by: Edin Kadribasic

Connecting to a remote database server
        21256 by: Harpreet

SQL Query request is just hanging.
        21258 by: Larry_Li.contractor.amat.com

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 ---
Running PHP 4.3.3 on a Win2K box with IIS.
Before I installed 4.3.3, I was running 4.3.2 and phpmyAdmin.  Had not done
any tweaking of PHP install when I installed 4.3.2 and everything worked
fine.  Now after installing 4.3.3, I get page timeouts.

I've run php.exe -i from the command line and did not get anything that
looked like an error.
Also, created a shortcut that ran under my IUSR account and ran bot
php.exe -i and php.exe with the phpmyadmin index.php file.  Both seemed to
work fine from the command line.

What am I missing?

Thanks for any help that can be passed this way.

-- 
E. Scott Stricker - NGIT @ Smartlink

--- End Message ---
--- Begin Message ---
FYI, I've since removed 4.3.3 and re-installed 4.3.2 and it worked
immediately.  Only difference I noticed in install was 4.3.2 only showed WWW
Service in list to add .php to, whereas 4.3.3 showed WWW Service and all
sites with .php reference.

-- 
E. Scott Stricker - NGIT @ Smartlink
"Scott Stricker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Running PHP 4.3.3 on a Win2K box with IIS.
> Before I installed 4.3.3, I was running 4.3.2 and phpmyAdmin.  Had not
done
> any tweaking of PHP install when I installed 4.3.2 and everything worked
> fine.  Now after installing 4.3.3, I get page timeouts.
>
> I've run php.exe -i from the command line and did not get anything that
> looked like an error.
> Also, created a shortcut that ran under my IUSR account and ran bot
> php.exe -i and php.exe with the phpmyadmin index.php file.  Both seemed to
> work fine from the command line.
>
> What am I missing?
>
> Thanks for any help that can be passed this way.
>
> -- 
> E. Scott Stricker - NGIT @ Smartlink

--- End Message ---
--- Begin Message ---
"Scott Stricker" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> FYI, I've since removed 4.3.3 and re-installed 4.3.2 and it worked
> immediately.  Only difference I noticed in install was 4.3.2 only showed
WWW
> Service in list to add .php to, whereas 4.3.3 showed WWW Service and all
> sites with .php reference.

Could you please explain this more detailed?

Marc

--- End Message ---
--- Begin Message ---
I'm trying to run phpmyAdmin on a machine running Windows 2000 with IIS.
Previously, I'd installed PHP 4.3.2 with the only tweak to the install
changing the default volume from C: to D:.  Did not touch any other options
during the install.  Went to my phpmyAdmin site and it worked as I expected.
Today, I installed PHP 4.3.3, again changing the default folder from C: to
D:.  Now when I start phpmyAdmin, php.exe starts to handle the request for
index.php, but it never finishes.  Behavior in my web browser is that the
request finally times out.

In the IIS configuration tool that comes with Win2K, there are properties
for the WWW service, and everything below.  When I installed 4.3.2, I was
asked if I wanted to register php.exe to handle php requests for the WWW
service and nothing else.  I checked to box to say yes.  When I installed
4.3.3, I was asked if I wanted to do the registration for the WWW service,
the Default Web Site, and most virtual directories underneath it.  I tried
both setting up only the WWW service and all options, both with the same
results.

Again, in all 4.3.3 cases, perl.exe is running, php.exe -i seems to give no
errors and running php.exe index.php in the IUSR environment all seemt to
work okay.

If anyone would like more info, please let me know what you need to know and
I'll try to answer the question.

Thanks

-- 
E. Scott Stricker - NGIT @ Smartlink
"M.Staiger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Scott Stricker" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> news:[EMAIL PROTECTED]
> > FYI, I've since removed 4.3.3 and re-installed 4.3.2 and it worked
> > immediately.  Only difference I noticed in install was 4.3.2 only showed
> WWW
> > Service in list to add .php to, whereas 4.3.3 showed WWW Service and all
> > sites with .php reference.
>
> Could you please explain this more detailed?
>
> Marc

--- End Message ---
--- Begin Message ---
There is an error in the 4.3.3 installer package. A new package is being
made. In the meanwhile you can use the installer, and then replace php.exe
with the one shipped in the zip package.

Edin

"Scott Stricker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm trying to run phpmyAdmin on a machine running Windows 2000 with IIS.
> Previously, I'd installed PHP 4.3.2 with the only tweak to the install
> changing the default volume from C: to D:.  Did not touch any other
options
> during the install.  Went to my phpmyAdmin site and it worked as I
expected.
> Today, I installed PHP 4.3.3, again changing the default folder from C: to
> D:.  Now when I start phpmyAdmin, php.exe starts to handle the request for
> index.php, but it never finishes.  Behavior in my web browser is that the
> request finally times out.
>
> In the IIS configuration tool that comes with Win2K, there are properties
> for the WWW service, and everything below.  When I installed 4.3.2, I was
> asked if I wanted to register php.exe to handle php requests for the WWW
> service and nothing else.  I checked to box to say yes.  When I installed
> 4.3.3, I was asked if I wanted to do the registration for the WWW service,
> the Default Web Site, and most virtual directories underneath it.  I tried
> both setting up only the WWW service and all options, both with the same
> results.
>
> Again, in all 4.3.3 cases, perl.exe is running, php.exe -i seems to give
no
> errors and running php.exe index.php in the IUSR environment all seemt to
> work okay.
>
> If anyone would like more info, please let me know what you need to know
and
> I'll try to answer the question.
>
> Thanks
>
> --
> E. Scott Stricker - NGIT @ Smartlink
> "M.Staiger" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > "Scott Stricker" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > news:[EMAIL PROTECTED]
> > > FYI, I've since removed 4.3.3 and re-installed 4.3.2 and it worked
> > > immediately.  Only difference I noticed in install was 4.3.2 only
showed
> > WWW
> > > Service in list to add .php to, whereas 4.3.3 showed WWW Service and
all
> > > sites with .php reference.
> >
> > Could you please explain this more detailed?
> >
> > Marc

--- End Message ---
--- Begin Message ---
I am using the following to connect to the database through my php page. Now
I want to host the website on another server and conenct to the database on
another machine. How do i change my code. Do i just change the path to the
computer name

$_SESSION["hostname"] = "computer name";
$_SESSION["dbname"] = "database name";

$_SESSION["con"]=mssql_connect($_SESSION["hostname"],$_SESSION["user"],$_SES
SION["password"])
or die ("Error on connection string.");

--- End Message ---
--- Begin Message ---
I'm using IIS5.0 on W2k. I have upgraded w2k to sp4 and ms sql server to 
sp3. I created a new table and just do a simple query in php program. But 
it seems sql server doesn't return any query result. I'm using 
mssql_fetch_array() function, but no any return. PHP program is just 
pending there. I checked process info and found wait type is NETWORKIO. No 
problem for other existing queries. Only this new one. Almost got 
crazy....

Any idea, Thanks a lot!

Larry

--- End Message ---

Reply via email to