deepinlife Posted July 12, 2009 Share Posted July 12, 2009 guys this piece of code is not working , why ? <html> <head> <title>PHP Test</title> </head> <body> <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo( yields identical results. phpinfo(INFO_MODULES); ?> </body> </html> it display nothing i use lamp Link to comment https://forums.phpfreaks.com/topic/165659-why-this-is-not-working-propapley/ Share on other sites More sharing options...
acadia Posted July 12, 2009 Share Posted July 12, 2009 I have just tested it and it works fine for me. Are you sure everything is turned on? IE Apache Acadia Link to comment https://forums.phpfreaks.com/topic/165659-why-this-is-not-working-propapley/#findComment-873876 Share on other sites More sharing options...
deepinlife Posted July 12, 2009 Author Share Posted July 12, 2009 well i donno when i invoke localhost , it displays It works! what else should i try and also when i try this code it display <html> <head> <title>PHP Test</title> </head> <body> <?php echo ("<p>hello</p>"); ?> </body> </html> it display hello "); ?> so i think it process the echo function , but it done something wrong , isn't it ? Link to comment https://forums.phpfreaks.com/topic/165659-why-this-is-not-working-propapley/#findComment-873896 Share on other sites More sharing options...
trq Posted July 12, 2009 Share Posted July 12, 2009 Try a page with just the following in it. <?php phpinfo(); ?> Link to comment https://forums.phpfreaks.com/topic/165659-why-this-is-not-working-propapley/#findComment-873897 Share on other sites More sharing options...
deepinlife Posted July 12, 2009 Author Share Posted July 12, 2009 Try a page with just the following in it. <?php phpinfo(); ?> nothing is displayed i donno know if that has any thing about this error but i found that there is no process httpd running Link to comment https://forums.phpfreaks.com/topic/165659-why-this-is-not-working-propapley/#findComment-873911 Share on other sites More sharing options...
deepinlife Posted July 12, 2009 Author Share Posted July 12, 2009 guys thx all it is solved , this package was missing , libapache2-mod-php5 Link to comment https://forums.phpfreaks.com/topic/165659-why-this-is-not-working-propapley/#findComment-873924 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.