So maybe you try to modify php.ini

- to display php error messages set display_errors = on;
- to register globals by default (if you use 4.10 or 4.11) set
register_globals=on;
register_globals has been turned off by default since 4.10 for important
security reasons but however many existing apps still rely on
register_globals=on - at least you can try.
In a production environment with IIS it's still recommended to use CGI,
however ISAPI seems to work seamlessly under certain circumstances.

Double check with your phpinfo()-script if the correct ini-file gets parsed!

Christoph

"Tom Belich" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
| More information:
| Both installations work.  The php test file, <?php phpinfo(); ?>, works on
| both the workstation running IIS and Win2K Pro and the server running
WinNT.
| To get up and running quickly, I used the Windows installer version on the
| server (which I understand runs under CGI).  However, I also understand
this
| version is not secure and is not recommended for a production environment.
| So, I installed the full Windows binary on my workstation to test that
| version.
|
| I learn best by testing and modifying existing programs so I downloaded
two
| applications from the web:  "The Perfect Job" from DevShed and AssetMan
from
| bctree.com.  Both applications work fine on the server running WinNT, IIS
| and the Windows installer version of PHP.  However, when I copy the same
| folders and try to run the applications from my workstation using
| //localhost/assetman/login.php, I get a blank white page.  When I try to
run
| "The Perfect Job", I get an error message stating: "There was an error
| accessing the page you requested."
|
| I know I have database connectivity, because I'm running phpMyAdmin from
my
| workstation.
|
| I've even tried running both .ini files supplied with the binary thinking
| there might be a problem with the isapi module.  No luck.
| -----Original Message-----
| From: Christoph Grottolo [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, February 21, 2002 2:38 AM
| To: [EMAIL PROTECTED]
| Subject: [PHP-WIN] Re: Running Windows full binary distribution
|
|
| | I've installed the windows installer version of php on a NT server.
I've
| | also installed the windows binary on my Windows 2000 pro workstation.
| | Everything works fine on the CGI-Windows installer version on the
server,
| | but I can't get the same applications to run from my Win2KPro
workstation
| (I
| | get blank pages or empty pages).  Does this have something to do the way
| the
| | php.ini file is set up, or is it something else?
|
|
| 1. make a test script with the following content: <?php phpinfo(); ?>
|
| 2. save it as test.php in your web root directory (where your web pages
| reside).
|
| 3. Check if php works by running the script from the command line:
| c:\php\php.exe c:\mywebroot\test.php.
| If you get a long output which looks like HTML php works. If not,
something
| went wrong with your php installation. Read the corresponding chapter in
the
| manual.
|
| 4. Call the test script from your browser (http://myhostname/test.php)
| If you get a page with info about your php installation, your webserver
and
| PHP work together. If not, read the chapter about configuring PHP with
your
| webserver software in the PHP manual.
|
| 5. The output of the test script should reflect your php.ini settings.
|
| Christoph
|
|
|
|
| --
| PHP Windows Mailing List (http://www.php.net/)
| To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to