ID: 46584 Updated by: paj...@php.net Reported By: jpetrula at hotmail dot com -Status: Open +Status: Feedback Bug Type: IIS related Operating System: xp pro SP3 PHP Version: 5.2.6 New Comment:
Please try using 5.2.8 or 5.2.9RC1, or 5.2.9 snapshot. Previous Comments: ------------------------------------------------------------------------ [2008-11-18 05:22:03] jpetrula at hotmail dot com Oops <? php echo "Hello World"; ?> Should be <?php echo "Hello World"; ?> Things are working now with your suggested installation. php-5.3-win32-VC9-x86-latest.msi It is too bad that http://www.php.net/downloads.php has links for downloading php-5.2.6-win32-installer.msi which gives "Invalid access to memory location." instead of php-5.3-win32-VC9-x86-latest.msi which works. Thanks again. ------------------------------------------------------------------------ [2008-11-16 19:13:16] jpetrula at hotmail dot com I went to http://windows.php.net/snapshots/ As the sidebar recommended, I installed php-5.3-win32-VC9-x86-latest.msi As the sidebar recommended, I also installed the Microsoft Visual C++ 2008 Redistributable Package (x86) http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en Installed using "IIS ISAPI module" Installed to C:\PHP Used defaults for features to install. Verified PATH has C:\PHP\;... I created "C:\Inetpub\wwwroot\HelloWorld.php" which contains <html> <body> This is the body. <? php echo "Hello World"; ?> </body> </html> Typed in browser http://localhost/HelloWorld.php The browser displayed "This is the body." However, it did not display the "Hello World". This time there was no "Invalid access to memory location." which is an improvement. IIS must be reading HelloWorld.php since "This is the body." was displayed. The IIS management component shows that ".php" is Executable: C:\PHP\PHP5IS~1.DLL Extention: .php Script engine: checked Check that file exists: checked Any idea why the php script is not working? I would prefer using "IIS ISAPI module" if possible for security reasons. Thanks ------------------------------------------------------------------------ [2008-11-16 17:34:05] paj...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ I would also recommend to use the FCGI interface if you still use the ISAPI. ------------------------------------------------------------------------ [2008-11-16 17:03:05] jpetrula at hotmail dot com Description: ------------ Windows XP Pro SP3 php-5.2.6-win32-installer.msi Installed using "IIS ISAPI module" Installed to C:\PHP Used defaults for features to install. Verified PATH has C:\PHP\;... I created "C:\Inetpub\wwwroot\HelloWorld.php" which contains <html> <body> <? php print "Hello World"; ?> </body> </html> Typed in browser http://localhost/HelloWorld.php Browser displays following error: "Invalid access to memory location." Typed in browser http://localhost/default.html This works fine so I know IIS is working. Why isn't HelloWorld.php working? Thank you for the feedback. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46584&edit=1