php4 startup error
| From: | STHK/Zh) | Date: | Tue, 08 Jan 2002 02:00:14 +0000 |
| Subject: | php4 startup error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-79744@lists.php.net to get a copy of this message | ||
hi,
I have installed php-4.0.0-Win32(into c:\php) and apache_1_3_9_win32(into
C:\Program Files\Apache Group\Apache\ ) on my window98,the apache alone can
be run normally,however when I run a test.php,windows told me the general
protection error on PHP4TS.DLL and let me see the error log ,this is what I
found in it:
[Tue Jan 08 09:45:55 2002] [error] [client 127.0.0.1] Premature end of
script headers: c:/php/php.exe
following are some configurtation in php.ini:
include_path = ; UNIX: "/path1:/path2" Windows:
"\path1;\path2"
doc_root = C:\Program Files\Apache Group\Apache\htdocs ; the root of
the php pages, used only if nonempty
user_dir = ; the directory under which php opens the script using
/~username, used only if nonempty
;upload_tmp_dir = ; temporary directory for HTTP uploaded
files (will use system default if not specified)
upload_max_filesize = 2097152 ; 2 Meg default limit on file uploads
extension_dir = c:\php ; directory in which the loadable extensions
(modules) reside
following are some configurtation in httpd.conf:
ScriptAlias /php "c:\php\php.exe"
Action application/x-httpd-php "/php"
AddType application/x-httpd-php .php .php3
Can anyone give me a hand on this ?
Thank you in advance.
Leon