Okay, so PHP is installed correctly, but what are the details of the access violation...
It also looks like you are running Win2K or WinXP (?), I believe there have been some problems on both platforms - keep an eye on other posts in this group... -- Alan J Messam <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > As you suggested, the following is the output from the test. Is there an > error or system log that is generated? > > We could do with the entrie bug report, the OS, precise version numbers > > (partial output from phpinfo() if possible), server type etc :) > > > > J Messam <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > When I installed PHP 4, I ran the test.php it appeared to have been > > > installed correctly. I tried to write some simple scripts, they ran at > > > first but then every attempt to run a PHP script generates this error. > > > PHP has encountered an Access Violation at > > > > > > Your help would be appreciated. > > > > > > > > PHP Web Sites: PHP.Net PHP Manual PHP Tutorials PHP EasyWindows > Installer > > If PHP is working, you should see a table below with details on the PHP > configuration of this server. > > > PHP Version 4.0.4 > > System Windows NT 5.0 build 2195 > Build Date Dec 20 2000 > Server API ISAPI > Virtual Directory Support enabled > Configuration File (php.ini) Path php.ini > ZEND_DEBUG disabled > Thread Safety enabled > > This program makes use of the Zend scripting language engine: > Zend Engine v1.0.3, Copyright (c) 1998-2000 Zend Technologies > > > > > -------------------------------------------------------------------------- -- > ---- > > PHP 4.0 Credits > > -------------------------------------------------------------------------- -- > ---- > > Configuration > PHP Core > Directive Local Value Master Value > allow_call_time_pass_reference > On On > allow_url_fopen > 1 1 > arg_separator > & & > asp_tags > On On > auto_append_file > no value no value > auto_prepend_file > no value no value > browscap > no value no value > default_charset > no value no value > default_mimetype > text/html text/html > define_syslog_variables > Off Off > disable_functions > no value no value > display_errors > On On > display_startup_errors > Off Off > doc_root > no value no value > enable_dl > On On > error_append_string > Off Off > error_log > no value no value > error_prepend_string > Off Off > error_reporting > 2039 2039 > expose_php > On On > extension_dir > C:\inetpub\scripts\PHP\EXTENSIONS C:\inetpub\scripts\PHP\EXTENSIONS > file_uploads > 1 1 > gpc_order > GPC GPC > highlight.bg > #FFFFFF #FFFFFF > highlight.comment > #FF8000 #FF8000 > highlight.default > #0000BB #0000BB > highlight.html > #000000 #000000 > highlight.keyword > #007700 #007700 > highlight.string > #DD0000 #DD0000 > html_errors > On On > ignore_user_abort > Off Off > implicit_flush > Off Off > include_path > no value no value > log_errors > Off Off > magic_quotes_gpc > On On > magic_quotes_runtime > Off Off > magic_quotes_sybase > Off Off > max_execution_time > 30 30 > open_basedir > no value no value > output_buffering > Off Off > output_handler > no value no value > post_max_size > 8M 8M > precision > 14 14 > register_argc_argv > On On > register_globals > On On > safe_mode > Off Off > safe_mode_exec_dir > no value no value > sendmail_from > [EMAIL PROTECTED] [EMAIL PROTECTED] > sendmail_path > no value no value > short_open_tag > On On > SMTP > localhost localhost > sql.safe_mode > Off Off > track_errors > Off Off > upload_max_filesize > 2M 2M > upload_tmp_dir > no value no value > user_dir > no value no value > variables_order > EGPCS EGPCS > y2k_compliance > Off Off > > > gd > GD Support enabled > GD Version 1.6.2 or higher > FreeType Support enabled > FreeType Linkage with TTF library > GIF Support enabled > JPG Support enabled > PNG Support enabled > WBMP Support enabled > > > db > flat file support enabled > > > zlib > ZLib Support enabled > Compiled Version 1.1.3 > Linked Version 1.1.3 > > > standard > Regex Library Bundled library enabled > Dynamic Library Support enabled > Internal Sendmail Support for Windows 4 enabled > > Directive Local Value Master Value > assert.active > 1 1 > assert.bail > 0 0 > assert.callback > no value no value > assert.quiet_eval > 0 0 > assert.warning > 1 1 > safe_mode_allowed_env_vars > PHP_ PHP_ > safe_mode_protected_env_vars > LD_LIBRARY_PATH LD_LIBRARY_PATH > session.use_trans_sid > 1 1 > url_rewriter.tags > a=href,area=href,frame=src,input=src,form=fakeentry > a=href,area=href,frame=src,input=src,form=fakeentry > > > bcmath > BCMath support enabled > > > Calendar > Calendar support enabled > > > com > Directive Local Value Master Value > allow_dcom > Off Off > typelib_file > no value no value > > > ftp > FTP support enabled > > > mysql > MySQL Support enabled > Active Persistent Links 0 > Active Links 0 > Client API version 3.23.22-beta > > Directive Local Value Master Value > mysql.allow_persistent > On On > mysql.default_host > no value no value > mysql.default_password > no value no value > mysql.default_port > no value no value > mysql.default_socket > no value no value > mysql.default_user > no value no value > mysql.max_links > Unlimited Unlimited > mysql.max_persistent > Unlimited Unlimited > > > odbc > ODBC Support enabled > Active Persistent Links 0 > Active Links 0 > ODBC library Win32 > > Directive Local Value Master Value > odbc.allow_persistent > On On > odbc.check_persistent > On On > odbc.default_db > no value no value > odbc.default_pw > > odbc.default_user > no value no value > odbc.defaultbinmode > return as is return as is > odbc.defaultlrl > return up to 4096 bytes return up to 4096 bytes > odbc.max_links > Unlimited Unlimited > odbc.max_persistent > Unlimited Unlimited > > > pcre > PCRE (Perl Compatible Regular Expressions) Support enabled > PCRE Library Version 3.1 09-Feb-2000 > > > session > Session Support enabled > > Directive Local Value Master Value > session.auto_start > Off Off > session.cache_expire > 180 180 > session.cache_limiter > nocache nocache > session.cookie_domain > no value no value > session.cookie_lifetime > 0 0 > session.cookie_path > / / > session.cookie_secure > Off Off > session.entropy_file > no value no value > session.entropy_length > 0 0 > session.gc_maxlifetime > 1440 1440 > session.gc_probability > 1 1 > session.name > PHPSESSID PHPSESSID > session.referer_check > no value no value > session.save_handler > files files > session.save_path > C:\DOCUME~1\jmessam\LOCALS~1\Temp C:\DOCUME~1\jmessam\LOCALS~1\Temp > session.serialize_handler > php php > session.use_cookies > On On > > > xml > XML Support active > > > wddx > WDDX Support enabled > > > ISAPI > Server Variable Value > ALL_HTTP HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, > image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, > application/msword, application/pdf, */* HTTP_ACCEPT_LANGUAGE:en-us > HTTP_CONNECTION:Keep-Alive HTTP_HOST:paj_jmessam HTTP_USER_AGENT:Mozilla/4.0 > (compatible; MSIE 6.0; Windows NT 5.0) HTTP_ACCEPT_ENCODING:gzip, deflate > CONTENT_LENGTH 0 > HTTPS off > PATH_INFO /scripts/php/test.php > PATH_TRANSLATED c:\inetpub\scripts\php\test.php > REMOTE_ADDR 192.168.50.35 > REMOTE_HOST 192.168.50.35 > REQUEST_METHOD GET > SCRIPT_NAME /scripts/php/test.php > SERVER_NAME paj_jmessam > SERVER_PORT 80 > SERVER_PORT_SECURE 0 > SERVER_PROTOCOL HTTP/1.1 > SERVER_SOFTWARE Microsoft-IIS/5.0 > URL /scripts/php/test.php > APPL_MD_PATH /LM/W3SVC/1/ROOT > APPL_PHYSICAL_PATH c:\inetpub\wwwroot\ > INSTANCE_ID 1 > INSTANCE_META_PATH /LM/W3SVC/1 > > > Additional Modules > > > Environment > Variable Value > ALLUSERSPROFILE C:\Documents and Settings\All Users > CLASSPATH c:\OEM\orb\classes\yoj.jar;c:\OEM\orb\classes\share.zip > CommonProgramFiles C:\Program Files\Common Files > COMPUTERNAME PAJ_JMESSAM > ComSpec C:\WINNT\system32\cmd.exe > NUMBER_OF_PROCESSORS 1 > OS Windows_NT > Os2LibPath C:\WINNT\system32\os2\dll; > Path c:\OEM\bin;C:\Program > Files\Oracle\jre\1.1.7\bin;C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\ > System32\Wbem;C:\DMI\bin;C:\MSSQL\BINN;C:\PROGRA~1\MICROS~2\Office;C:\Progra > m Files\Symantec\pcAnywhere\;c:\OEM\orb\bin > PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > PROCESSOR_ARCHITECTURE x86 > PROCESSOR_IDENTIFIER x86 Family 6 Model 8 Stepping 6, GenuineIntel > PROCESSOR_LEVEL 6 > PROCESSOR_REVISION 0806 > ProgramFiles C:\Program Files > SystemDrive C: > SystemRoot C:\WINNT > TEMP C:\WINNT\TEMP > TMP C:\WINNT\TEMP > USERPROFILE C:\Documents and Settings\Default User > WIN32DMIPATH C:\DMI\ > windir C:\WINNT > > > PHP Variables > Variable Value > PHP_SELF /scripts/php/test.php > HTTP_SERVER_VARS["ALL_HTTP"] HTTP_ACCEPT:image/gif, image/x-xbitmap, > image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, > application/vnd.ms-excel, application/msword, application/pdf, */* > HTTP_ACCEPT_LANGUAGE:en-us HTTP_CONNECTION:Keep-Alive HTTP_HOST:paj_jmessam > HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) > HTTP_ACCEPT_ENCODING:gzip, deflate > HTTP_SERVER_VARS["CONTENT_LENGTH"] 0 > HTTP_SERVER_VARS["HTTPS"] off > HTTP_SERVER_VARS["PATH_INFO"] /scripts/php/test.php > HTTP_SERVER_VARS["PATH_TRANSLATED"] > c:\\inetpub\\scripts\\php\\test.php > HTTP_SERVER_VARS["REMOTE_ADDR"] 192.168.50.35 > HTTP_SERVER_VARS["REMOTE_HOST"] 192.168.50.35 > HTTP_SERVER_VARS["REQUEST_METHOD"] GET > HTTP_SERVER_VARS["SCRIPT_NAME"] /scripts/php/test.php > HTTP_SERVER_VARS["SERVER_NAME"] paj_jmessam > HTTP_SERVER_VARS["SERVER_PORT"] 80 > HTTP_SERVER_VARS["SERVER_PORT_SECURE"] 0 > HTTP_SERVER_VARS["SERVER_PROTOCOL"] HTTP/1.1 > HTTP_SERVER_VARS["SERVER_SOFTWARE"] Microsoft-IIS/5.0 > HTTP_SERVER_VARS["URL"] /scripts/php/test.php > HTTP_SERVER_VARS["APPL_MD_PATH"] /LM/W3SVC/1/ROOT > HTTP_SERVER_VARS["APPL_PHYSICAL_PATH"] c:\\inetpub\\wwwroot\\ > HTTP_SERVER_VARS["INSTANCE_ID"] 1 > HTTP_SERVER_VARS["INSTANCE_META_PATH"] /LM/W3SVC/1 > HTTP_SERVER_VARS["PHP_SELF"] /scripts/php/test.php > HTTP_SERVER_VARS["HTTP_ACCEPT"] image/gif, image/x-xbitmap, > image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, > application/vnd.ms-excel, application/msword, application/pdf, */* > HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] en-us > HTTP_SERVER_VARS["HTTP_CONNECTION"] Keep-Alive > HTTP_SERVER_VARS["HTTP_HOST"] paj_jmessam > HTTP_SERVER_VARS["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; > Windows NT 5.0) > HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"] gzip, deflate > HTTP_SERVER_VARS["DOCUMENT_ROOT"] c:\\inetpub\\wwwroot > HTTP_SERVER_VARS["argv"] Array > ( > ) > > > HTTP_SERVER_VARS["argc"] 0 > HTTP_ENV_VARS["ALLUSERSPROFILE"] C:\\Documents and Settings\\All Users > HTTP_ENV_VARS["CLASSPATH"] > c:\\OEM\\orb\\classes\\yoj.jar;c:\\OEM\\orb\\classes\\share.zip > HTTP_ENV_VARS["CommonProgramFiles"] C:\\Program Files\\Common Files > HTTP_ENV_VARS["COMPUTERNAME"] PAJ_JMESSAM > HTTP_ENV_VARS["ComSpec"] C:\\WINNT\\system32\\cmd.exe > HTTP_ENV_VARS["NUMBER_OF_PROCESSORS"] 1 > HTTP_ENV_VARS["OS"] Windows_NT > HTTP_ENV_VARS["Os2LibPath"] C:\\WINNT\\system32\\os2\\dll; > HTTP_ENV_VARS["Path"] c:\\OEM\\bin;C:\\Program > Files\\Oracle\\jre\\1.1.7\\bin;C:\\orant\\bin;C:\\WINNT\\system32;C:\\WINNT; > C:\\WINNT\\System32\\Wbem;C:\\DMI\\bin;C:\\MSSQL\\BINN;C:\\PROGRA~1\\MICROS~ > 2\\Office;C:\\Program Files\\Symantec\\pcAnywhere\\;c:\\OEM\\orb\\bin > HTTP_ENV_VARS["PATHEXT"] > .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH > HTTP_ENV_VARS["PROCESSOR_ARCHITECTURE"] x86 > HTTP_ENV_VARS["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 8 Stepping 6, > GenuineIntel > HTTP_ENV_VARS["PROCESSOR_LEVEL"] 6 > HTTP_ENV_VARS["PROCESSOR_REVISION"] 0806 > HTTP_ENV_VARS["ProgramFiles"] C:\\Program Files > HTTP_ENV_VARS["SystemDrive"] C: > HTTP_ENV_VARS["SystemRoot"] C:\\WINNT > HTTP_ENV_VARS["TEMP"] C:\\WINNT\\TEMP > HTTP_ENV_VARS["TMP"] C:\\WINNT\\TEMP > HTTP_ENV_VARS["USERPROFILE"] C:\\Documents and Settings\\Default User > HTTP_ENV_VARS["WIN32DMIPATH"] C:\\DMI\\ > HTTP_ENV_VARS["windir"] C:\\WINNT > > > PHP License > This program is free software; you can redistribute it and/or modify > it under the terms of the PHP License as published by the PHP Group and > included in the distribution in the file: LICENSE > > This program is distributed in the hope that it will be useful, but > WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY > or FITNESS FOR A PARTICULAR PURPOSE. > > If you did not receive a copy of the PHP license, or have any > questions about PHP licensing, please contact [EMAIL PROTECTED] > > > 1 > > > > > > > > > > -- PHP Windows 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]