php-windows Digest 3 Mar 2003 08:05:46 -0000 Issue 1615
Topics (messages 18809 through 18810):
PHP on WinXP with IIS - CGI Error
18809 by: Ron Gordon
Re: php.ini
18810 by: J.Veenhuijsen
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 trying to install PHP on Windows XP with IIS. I downloaded
php-4.3.1-installer.exe and ran it selecting the standard installation
option.
Then I used the Internet Information Services applet in Control Panel to
create a Virtual Directory within my Default Web Site named PHPWeb. The
local path for this Virtual Directory is c:\PHPWeb. I created a very simple
test file containing:
<HTML>
<HEAD>
<TITLE>Test PHP Script</TITLE>
</HEAD>
<BODY>
<?PHP
print ("<CENTER>hello world!</center>\n");
?>
</BODY>
</HTML>
When I try to load this page in MSIE6 (with the latest Service Pack) I get
the following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
nothing else is shown on the page! Do you have any idea what I've done wrong
or failed to setup or configure?
The installation directory is C:\PHP. In attempting to trouble shoot this
problem, I've copied php4ts.dll into C:\Windows\System32 and I've edited my
php.ini file setting to set
extension_dir = c:\PHP\
I've also tried
extension_dir = c:/php/
Any ideas?
Thanks,
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Try extension_dir = C:\PHP\
Jochem
Anthony Ritter wrote:
I run the following script:
<?
phpinfo();
?>
// the page loads o.k. when the semi-colon remains as in:
;extension=php_gd2.dll
but if I remove the semicolon as in:
extension=php_gd2.dll
the page won't load and the server hangs up.
..........................................
\\ this is my php.ini file on MS Win 98/ PHP/ Apache
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\PHP\"
; Whether or not to enable the dl() function. The dl() function does NOT
work
; properly in multithreaded servers, such as IIS or Zeus, and is
automatically
; disabled on them.
enable_dl = On
extension=php_gd2.dll
...................................................
Any advice on how I can install GD libraries greatly appreciated.
Thank you.
Tony Ritter
--- End Message ---