php-windows Digest 30 Sep 2001 11:30:34 -0000 Issue 781
Topics (messages 9616 through 9618):
IIS 5.1 weird problem - please help
9616 by: Mikro
COM /DCOM
9617 by: Mike
PHP4.0.6 Windows installer - that CGI error again!
9618 by: Maurice Delaney
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 ---
Hi
I have weird problem using PHP4 + ISAPI dll under IIS 5.1. No 500 internal
server error is appearing but for example myadmin is not functioning and
there is only loading bar all the time and nothing visible happening on
screen. My personal source codes are not functioning correctly. I thing that
this is problem with ISAPI dll. Can anyone help me with this kind of problem
?
Some bugs are follows: Page not completely loaded. In phpinfo() page ZEND
logo not displayed and page is loading all the time.
Thank you.
Milos
--- End Message ---
--- Begin Message ---
Hi All
Where is some good info on useing COM or DCOM with PHP?
Both of my scripts bellow fail and I cannot seem to find why.
<?php
$Instance = new COM
(string "Word.Application", string "216.0.0.0");
?>
or
<?
$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word->Version}\n";
$word->Visible = 1;
$word->Documents->Add();
$word->Selection->TypeText("This is a test...");
$word->Documents[1]->SaveAs("Useless test.doc");
$word->Quit();
?>
Running on Win2K PHP 4.0.6
--- End Message ---
--- Begin Message ---
OK here's the story. I've read the FAQs, been through the mail archive
and read every solution, including those which say to read the
install.txt, which I've done, but I still get:
CGI error:
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:
I'm running Win NT 4 SP6a, IIS4. I installed PHP4 in C:\PHP from this
link on http://ch.php.net/downloads.php:
* PHP 4.0.6 installer [755Kb] - 23 June 2001
(CGI only, MySQL support built-in, packaged as Windows installer to
install and configure PHP, and automatically configure IIS, PWS and
Xitami, with manual configuration for other servers. N.B. no external
extensions included)
My test.php file in C:\InetPub\wwwroot contains:
<?php phpinfo();?>
In the MS Management Console, under Default Web Site, Properties dialog,
Home Directory tab, Configuration button, App Mappings dialog, Ihave
these settings for '.php'
- 'Executable' field C:\PHP\php.exe,
- 'Extension' field .php,
- 'Method exclusions' empty,
- 'Script Engine' - ticked/checked,
- 'Check that file exists' - ticked/checked.
In C:\PHP if I run:
php.exe -i
I get a screen full of html codes (the output of the phpinfo() function)
- php.exe OK. I did 'php.exe -i > phpinfo.html' just to be sure, got a
37kB page of the info I should see with my test.php file.
File permissions for ISUR_<machinename> are:
C:\InetPub\wwwroot\test.php, Read (RX)
C:\PHP\php.exe, Read (RX)
C:\PHP\php4ts.dll, Read (RX)
C:\WINNT\php.ini, Read (RX)
Directory permissions for ISUR_<machinename> are
C:\PHP, Read (RX)
C:\PHP\sessiondata, Add & Read (RWX)
C:\PHP\uploadtemp, Add & Read (RWX)
No php extensions are being loaded.
Any ideas at all?
--- End Message ---