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] 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.
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]

Reply via email to