Hi
Web pages in Xitami live at c:\Xitami\webpages\ if you installed on C:
unless you specifically installed it so they are at d:\InetPub\wwwroot (the
PWS default)
Try putting the php script in the document root - not the cgi-bin. PHP
scripts usually go in the
sub-directories under the document root
Make a script called phpinfo.php and put in the document root - it should
contain one line
<? phpinfo();?>
Access the document root from your browser - (ie http://localhost) you
should see the Xitami welcome
then do http://localhost/phpinfo.php
If that works you will see details of your php install
HTH
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 8:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Problem getting PHP 4 to work on Xitami Server on Windows
NT
I've been trying to Install PHP 4 for Xitami Web Server. I downloaded the
Windows installer for PHP 4 and installed it. I edited the Filters for
Xitami in default.cfg so that .php=D:\Php\php.exe (which is where php exists
on my server) and I made sure that the folder which holds php.exe has
execute permissions. I also put in "doc_root = D:\InetPub\wwwroot" and
"extensions_dir = D:\Php" in the php.ini file and put that in the WinNT
folder. I put my file 'test.php' in my cgi-bin folder inside my website
root. When I go to test.php in the url, it shows the little loading thing in
the corner for a bit, and then i get a blank page. I tried running php.exe
on the file from the command line and it displays the results correctly in
the dos prompt, so the file is written correctly. Any idea what i'm doing
wrong? Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]