简体   繁体   中英

To which doctrine2 script do I point Netbeans if my webserver is remote? - using Symfony2

Can anybody give me a hint?

My environment is:

  • I am developing on a Windows 7 machine running Netbeans IDE 7.2
  • I am using a (headless) Ubuntu 12.04 as web- and databaseserver on a home network
  • I have just started using PHP / Symfony2 and am struggling to complete the setup of my environment
  • I have installed a PHP engine on my Windows machine in order to get a PHP interpreter but don't want to maintain a webserver on this machine too.

Now I want to tell Netbeans where to look for a Doctrine2 script to exploit the Doctrine IDE support in Netbeans. But as Doctrine is not installed on my development machine, it cannot find any Doctrine2 script.

What are my options?

This is only kind of a hint, since I'm only used to working with a virtual linux installation:

  • Provide a shared folder on your Windows machine
  • Mount that shared folder on your Ubuntu machine
  • Use that shared folder as apache document root for example

Now you can work with the files on your local machine, and your server is able to pull those files for serverside stuff.

Might also work vice versa, sharing your webroot, or whatever directory doctrine is in, as a shared folder, so that Netbeans on your Windows machine can pull it via network.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM