temp124 Posted May 24, 2007 Share Posted May 24, 2007 Hi, I just installed PHP 5.2.2 on a windows server. Something isn't working right. Whenever I run php from the command line It just echos the script back at me. For Example: C:\PHP>php info.php <? phpinfo(); ?> However, when I use the --no-php-ini option everything works: C:\PHP>php --no-php-ini info.php|more phpinfo() PHP Version => 5.2.2 System => Windows NT HOTELS-WEB 5.2 build 3790 Build Date => May 2 2007 19:17:46 Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "-- with-gd=shared" Server API => Command Line Interface Virtual Directory Support => enabled Configuration File (php.ini) Path => C:\WINDOWS Loaded Configuration File => (none) PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => enabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp, compress.zlib Registered Stream Socket Transports => tcp, udp Registered Stream Filters => convert.iconv.*, string.rot13, string.toupper, stri ng.tolower, string.strip_tags, convert.*, consumed, zlib.* ...etc... Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/52871-problem-with-php-522-on-windows/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.