An Oracle blog about NetBeans for PHP

  • News
    March 10, 2009

Frustrated by your PHP configuration?

Guest Author

There is now an alternative to setting up your own PHP environment. You can download a server-only OpenSolaris web stack and run it in
a virtual machine. XDebug, the PHP engine, Apache, and MySQL are preconfigured on the web stack. You can work on your PHP project in NetBeans IDE and use the FTP feature to deploy your PHP on the OpenSolaris web stack.

Follow these steps to use the OpenSolaris web stack:

  1. Download the OpenSolaris web stack image and create a virtual machine for it.
  2. Configure the network connection on the virtual machine.
  3. Configure port forwarding.
  4. Create an FTP connection in NetBeans for the web stack on the virtual machine.
See the tutorial Deploying PHP to a Server-only OpenSolaris Web Stack for detailed instructions for setting up the OpenSolaris web stack on Sun VirtualBox.

Join the discussion

Comments ( 13 )
  • raymond irving Wednesday, March 11, 2009

    I think all this can be avoided in NetBeans came witha built-in php server that had xdebug preconfigured.

    It could support the latest version of PHP and provide options for developers to configure their own version.

  • Adam Jorgensen Thursday, March 12, 2009

    I think that is a whole lot easier said than done Raymond.

    Nevertheless, the BitNami stacks might be something to look at...

  • Daniel Dimitrov Friday, March 13, 2009

    I couldn't make it work. My virtual machine just doesn't start. And I'm not in the mood to look for the problem. I think we need a new version of xdebug for windows and not a new virtual machine.

  • Jakob Strebel Saturday, March 21, 2009

    Jeffrey, great for posting this. Up to now I am using XAMPP on my MAC. I am also struggling to activate xdebug, so I like to take this path.

    Could anyone give me a hint how I configure the portforwarding on my MAC with OSX.


  • Jakob Strebel Sunday, March 22, 2009

    Jeffrey, I found the answer. (use the CLI VBoxManage) RTFM.


    whats the admin password of the OSOL. I need to change the Keyboard to a international kb?


  • Jeffrey Rubinoff Monday, April 6, 2009

    I've added the admin password to the linked tutorial.

  • Cédric BLONDEAU Tuesday, April 7, 2009

    Thanks ! It worked for me.

  • OTELLER Thursday, July 2, 2009


  • tatil yerleri Thursday, July 2, 2009


  • php web development Thursday, July 16, 2009

    i have downloaded the zip file

  • bala Friday, July 17, 2009

    i found this post very useful and helpful

  • aşk şiirleri Tuesday, July 28, 2009

    Very good.

  • aion power leveling Tuesday, November 3, 2009

    good post!

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.