The Aptana PHP plugin gives you the tools to build better PHP applications faster.
- Built-in PHP server for previewing within Aptana Studio
- Full code assist, code outlining & code formatting
- Integrated PHP debugger
- Easily deploy your PHP apps to Aptana Cloud within Studio
You can install the PHP plugin (as well as other Aptana-supplied plugins) using the Install Additional Features wizard on the Aptana menu.
- Configuring PHP Preferences
- Basic PHP Debugging
- Remote PHP Debugging -- EXPERIMENTAL
- PHP extensions embedded with Aptana Studio
How do I setup PHP previewing with a web server besides the one embedded in Studio?
You can use an Apache server, including those installed in packages like WAMP, XAMP and MAMP, very easily.
- Configuring an external web server
- Open the Preferences dialog to the PHP -> Preview panel
- Choose your server from the Preview Type Use Server dropdown list
- Click OK
How do I remove or disable the PHP Plugin?
- Open the Plugins Manager view
- Select the Aptana PHP Development Environment
- Click the Disable icon (the red minus) or the Delete icon (the red X) on the view toolbar
- Restart Studio
Can I make my project a PHP project even though it wasn't originally created as one?
Yes. There are two different ways to do so and we recommend the first.
- Right click any project in your workspace and select 'Properties'. Select the 'Project Natures' and assign Aptana's PHP Nature to your project. Your project will be closed and reopened automatically to apply the changes.
- Edit your .project file (located in the project folder) to add the PHP nature to it using the following code block.
<natures> <nature>com.aptana.ide.editor.php.phpnature</nature> </natures>
If you choose the second option, you should close and reopen your project to apply the changes.