AWS + PHP 5.2.6 Returning Code not Results

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
jblaty
-


Joined: 21 Aug 2008
Posts: 4

PostPosted: Thu Aug 21, 2008 6:00 pm    Post subject: AWS + PHP 5.2.6 Returning Code not Results Reply with quote

Sorry for the newbie question...

Just installed the latest AWS and PHP on Windows XP SP3. I configured PHP per the instructions on your support site, with FastCGI support.

The web server is running fine on http://localhost. However, when I attempt to process a simple PHP script (test.php), which includes a phpinfo(); statement. AWS seems to be finding and processing the script, but I am not getting the results back in my browser. If I do a view->source in the browser, I'm getting
Code:
<? phpinfo(); ?>
in my source browser.

The log\fastcgi.log (with processing turned on) looks like something is actually processing, but I'm not getting those back in my browser.

Any ideas as to where to start troubleshooting this issue?
_________________
Joe Blaty
Back to top View user's profile Send private message AIM Address MSN Messenger ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3719
Location: USA, GA

PostPosted: Fri Aug 22, 2008 3:27 am    Post subject: Reply with quote

Your php.ini file is not setup to allow short tags. You should use the full PHP tags when writing any PHP code.

Here's the proper code:
Code:
<?php phpinfo(); ?>

_________________
Computer Programmer & Networking Specialist

Back to top View user's profile Send private message Visit poster's website MSN Messenger
jblaty
-


Joined: 21 Aug 2008
Posts: 4

PostPosted: Fri Aug 22, 2008 4:24 am    Post subject: THANKS! Reply with quote

That fixed it! Appreciate the help.
_________________
Joe Blaty
Back to top View user's profile Send private message AIM Address MSN Messenger ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3719
Location: USA, GA

PostPosted: Fri Aug 22, 2008 4:42 pm    Post subject: Reply with quote

Your welcome! :-)
_________________
Computer Programmer & Networking Specialist

Back to top View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group