RE: [PHP-WIN] PHP 4.1.0 Win32 problem
| From: | alain samoun | Date: | Sun, 23 Dec 2001 03:03:15 +0000 |
| Subject: | RE: [PHP-WIN] PHP 4.1.0 Win32 problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11084@lists.php.net to get a copy of this message | ||
OK: Try to run your script in a DOS window (php yourscript.php) starting in
the directory of php.exe, and tell us what is the error there.
A+
Alain
-----Original Message-----
From: Andrew Saturn [mailto:saturn@roogroup.com]
Sent: Saturday, December 22, 2001 5:23 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] PHP 4.1.0 Win32 problem
I'm running Apache 1.3.22 on Windows ME (a 9x Win kernel - not NT\2k\XP)
with PHP 4.1.0
I've done everything I can think of to make PHP work, but it simply won't,
and I have no clue whats wrong, because the only thing the error_log will
tell me is:
Premature end of script headers: c:/php/php.exe
which, can mean a ton of things...
any idea what could possibly be wrong?
list of things I've done:
-re-wrote my php.ini file, using the "recommended" sample php.ini file
included with the install
-commented out the GD library DLL from the ini (it said it couldnt load it
in previous errors)
-changed my $SERVER_NAME variables to $_SERVER["name"]:
// -- old php 4.0.x way below
if ($SERVER_NAME == "ca.roogroup.com") {}
// -- php 4.1.x way below (what I changed the above to)
if ($_SERVER["name"] == "ca.roogroup.com") {}
I hope someone can help me ... this is really annoying (it happens every
time I upgrade PHP O_o)
thanks,
-andrew saturn
roogroup.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net