windows - PHP in XAMPP not functioning -


i have php running in xampp win 7 64 bit. when run php file:

    <!doctype html> <html> <body>     <?php         print "<h2>php fun!</h2>";         print "hello world!<br>";         print "i'm learn php!";     ?>  </body> </html> 

i get:

    php fun!"; print "hello world! "; print "i'm learn php!"; ?>  

i same result using echo.

i opened http://localhost/xampp/, shows xampp configuration. php shown "activated". on xampp page clicking phpinfo gives me:

    **php version 5.3.5  system  windows nt minwinpc 6.1 build 7601 (unknow windows version home premium edition service pack 1) i586 build date  jan 6 2011 17:50:45 compiler    msvc6 (visual c++ 6.0) architecture    x86 configure command   cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--disable-isapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=d:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=d:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=d:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet" "--with-mcrypt=static" server api  apache 2.0 handler virtual directory support   enabled configuration file (php.ini) path   c:\windows loaded configuration file   c:\xampp\php\php.ini scan dir additional .ini files     (none) additional .ini files parsed    (none) php api     20090626 php extension   20090626 zend extension  220090626 zend extension build    api220090626,ts,vc6 php extension build     api20090626,ts,vc6 debug build     no thread safety   enabled zend memory manager     enabled zend multibyte support  disabled ipv6 support    enabled registered php streams  php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, phar registered stream socket transports     tcp, udp registered stream filters   convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.***  

when run info.php, code:

    <?php phpinfo(); ?> 

i blank page.

obviously php screwed somehow - how can fix it? can reinstall php in xampp without having reinstall xamp itself?


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -