weekenthe9 Posted February 24, 2009 Share Posted February 24, 2009 I wrote this in a test.php file: <?php phpinfo(); ?> At first it worked like what the manual says. But after a server reboot (or possibly other event), when I open test.php, it no longer gives me the well-formatted html table. Instead, it outputs everything as pure text...e.g.: Attribute ---> Value Attribute ---> Value Just like if you do -i in php console. Also, PHP $_GET and $_POST no longer works...This should be a simple problem, but it's really getting me stuck... Thanks for the help in advance Link to comment https://forums.phpfreaks.com/topic/146623-about-phpinfo/ Share on other sites More sharing options...
phpdragon Posted February 24, 2009 Share Posted February 24, 2009 check all your required modules are enabled in apache, sounds like some settings may have been disabled. Did you do any recent updates to your server, this could account for the issue. Link to comment https://forums.phpfreaks.com/topic/146623-about-phpinfo/#findComment-769766 Share on other sites More sharing options...
weekenthe9 Posted February 24, 2009 Author Share Posted February 24, 2009 Thanks a lot, I appreciate it. Actually my workplace uses xitami server, not apache. The change that I recently made to server setting is to add the following lines to "defaults.cfg" under xitami folder [Mime] php=application/x-httpd-php [Filter] .php=c:\\php\\php.exe (I'm not exactly sure about this, need to check when I get back to work tomorrow) Which seems alright to me...could these code above be what caused the problem (double slash problem? incorrect slash direction?) or something else went wrong? Link to comment https://forums.phpfreaks.com/topic/146623-about-phpinfo/#findComment-769779 Share on other sites More sharing options...
phpdragon Posted February 24, 2009 Share Posted February 24, 2009 You have double back slashes instead of single backslashes this is your problem and hence php is not initiating change [Mime] php=application/x-httpd-php [Filter] .php=c:\\php\\php.exe to [Mime] php=application/x-httpd-php [Filter] .php=c:\php\php.exe and it should work also ther is this tutorial you could read for xitami http://www.devarticles.com/c/a/PHP/Installing-PHP-Under-Xitami/ Link to comment https://forums.phpfreaks.com/topic/146623-about-phpinfo/#findComment-769792 Share on other sites More sharing options...
weekenthe9 Posted February 24, 2009 Author Share Posted February 24, 2009 Thanks a lot, I really appreciate it Will try it out tomorrow, hopefully it works Link to comment https://forums.phpfreaks.com/topic/146623-about-phpinfo/#findComment-769813 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.