RE: [PHP] Problem getting PHP 4 to work on Xitami Server on Windows NT
| From: | Dell Coleman | Date: | Wed, 04 Apr 2001 04:55:01 +0000 |
| Subject: | RE: [PHP] Problem getting PHP 4 to work on Xitami Server on Windows NT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46973@lists.php.net to get a copy of this message | ||
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: Wstsdblks@aol.com [mailto:Wstsdblks@aol.com]
Sent: Tuesday, April 03, 2001 8:47 PM
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net