Can't get PHP script to run when launched from Aptana Studio

Posted by samuel on Super User See other posts from Super User or by samuel
Published on 2011-02-02T01:42:08Z Indexed on 2011/02/02 7:28 UTC
Read the original article Hit count: 275

Filed under:
|
|

I've been using notepad++ for web development (currently html, css, and some php and mysql). I decided to dive into an IDE to see if I could cut down on development time and have more power than notepad++.

I grabbed Aptana yesterday and, after harassing it for a few hours, have finally gotten everything up and running. The only problem is that my web pages, which are .php's, do not execute any of their included .php code in the browser.

as an example:

<?php
echo "IT WORKS WOOO";
?>

ought to print IT WORKS WOOO smack in the middle of my blank test page, and yet it does not. I checked to see if I had somehow forgotten how to do an echo statement and ran it on my desktop, using notepad++, and it worked just fine.

I have the php plugin, have used the php perspective to write it and have launched it as a php web page, but nothing makes it execute the php within.

Any ideas?

© Super User or respective owner

Related posts about error

Related posts about php