Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Code showing in browser



Threaded Mode | Print  

 Code showing in browser, Php (1 Replies, Read 1058 times)
danfix
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi all

Has anyone come across this problem.

';

print "$firstName" .  '
';
echo "$firstName" .  '
';
print gettype($firstName) . '

';
print $score . '
';
print gettype($score) . '

';
print $latitude . '

';
print gettype ($latitude) . '
';

print '

I installed the files in c:/Software/ammps.
Seems the php interpreter is not working.
Do i need to change somthing in the php.ini file?

Thanks
IP: --   

Code showing in browser
tidus
Group: AMPPS Team
Post Group: Super Member
Posts: 1070
Status:
Hi,

Create a test.php file in Ampps/www folder with the following contents

PHP Code

<?php echo phpinfo(); ?>

Then access http://localhost/test.php

If this works, your PHP is working fine.

Edited by tidus : June 11, 2012, 6:53 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/u/0/b/111580687033722614505/
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is July 31, 2014, 11:53 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.095