exploit-you Posted June 14, 2011 Share Posted June 14, 2011 Im haveing a few problems getting php setup and working on the pineapple. I am sure i havent missed any steps however if you try and run test.php the page is blank. I think if php is not installed it should display this as plane text and if it is installed it should show the php info function. Does anyone know what i have done wrong to get a blank page? Quote Link to comment Share on other sites More sharing options...
UnDeFiNeD Posted June 14, 2011 Share Posted June 14, 2011 Did you put cgi.force_redirect 0 in the php.ini file? If so, it should actually be cgi.force_redirect = 0 (notice the =) Quote Link to comment Share on other sites More sharing options...
WiFiN00b Posted July 15, 2011 Share Posted July 15, 2011 I've got the same problem here. I think that I've made everything according to the guide and the follow-up posts in here. - Added *.php:/usr/bin/php to httpd.conf (placed in /etc) - Added cgf.force_redirect = 0 to php.ini (placed in /etc) I'm getting Rickrolled, but when trying to check php with anyadress/test.php firefox tries to open/save the file and IE displays plain text <?php phpinfo(); ?> in the browsser. All the packages seems to install without problems. Is there any other thing that I've missed to get php running? Quote Link to comment Share on other sites More sharing options...
CanadianTaco Posted July 16, 2011 Share Posted July 16, 2011 I'm getting Rickrolled, but when trying to check php with anyadress/test.php firefox tries to open/save the file and IE displays plain text <?php phpinfo(); ?> in the browsser. Same here.... Quote Link to comment Share on other sites More sharing options...
WiFiN00b Posted July 16, 2011 Share Posted July 16, 2011 ...and yes, I've tried to reinstall php a couple of times. "php -v" works and gives correct info about the installation, but somehow the parsing doesn't seem to work. <_< Do I need to start/activate the "php-service"? Something else that might be handy to include in httpd.conf or php.ini? (like autorun?) Anyone tried to install a different php-version? Quote Link to comment Share on other sites More sharing options...
rountrey Posted August 9, 2011 Share Posted August 9, 2011 im sort of cross posting here but i just realized the thread that i posted in wasn't in the jasager category, sorry. i'm still having issues with php to all i can get is chrome and firefox downloading the php file details are in the other thread i posted in http://forums.hak5.org/index.php?showtopic=20474&st=0&p=183587entry183587 Quote Link to comment Share on other sites More sharing options...
WiFiN00b Posted August 31, 2011 Share Posted August 31, 2011 Hating myself for writing this, but crosspost is updated... Admin, please move the other jasager php install thread to this one instead. Quote Link to comment 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.