weekenthe9 Posted February 24, 2009 Share Posted February 24, 2009 After a recent server reboot (my workplace uses xitami server), my php code starts to execute in a weird way: 1. echo command works 2. php $_GET and $_POST cannot retrieve any information 3. mysql query commands (in php) work 4. phpinfo generates very weird webpage ************************************************ here's the code <?php phpinfo(); ?> ************************************************ here's what it's supposed to be something like this: http://wiki.gandi.net/_media/en/hosting/using-linux/tutorials/phpinfo.jpg ************************************************ but when I open the page it shows this (pure text in the explorer window): phpinfo() PHP Version => 5.1.2 System => Windows NT RETKA7PZW6 5.0 build 2195 Build Date => Jan 11 2006 16:35:21 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:\WINNT\php.ini PHP API => 20041225 PHP Extension => 20050922 Zend Extension => 220051025 Debug Build => no Thread Safety => enabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, http, ftp, ....... and a lot more. ************************************************ I think the it's not like the php is completely broken (or not even loaded), as it gave the correct version # (5.12). But there is definitely some problem. Could anyone please take a look? Thanks a lot!! Link to comment https://forums.phpfreaks.com/topic/146697-help-weird-problem/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.