I've been doing PHP development on my Mac for years at work but I'm having to change my deployment OS from Linux and Mac to Windows Server. I've set up a Windows Server the same as the machine I'm going to have to deploy to in a VMWare Fusion VM.
Much like a Vagrant setup, I've shared a folder from my local machine to the VM and I'm trying to get it to serve a Symfony2 application through the VM while continuing development on the Mac (where all my tools are).
The configuration page runs fine, but when I try to load an actual page I get the following errors:
InvalidArgumentException: Unable to parse file
"\\VMWARE-HOST\SHARED FOLDERS\Symfony\vendor\symfony\symfony\src\Symfony\Bundle
\FrameworkBundle\DependencyInjection/../Resources/config\web.xml".
and
InvalidArgumentException:
[WARNING 1549] failed to load external entity "file://///VMWARE-HOST/SHARED%20FOLDERS/Symfony/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd" (in n/a - line 0, column 0)
[WARNING 3084] Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location 'file://///VMWARE-HOST/SHARED%20FOLDERS/Symfony/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd'. Skipping the import. (in in_memory_buffer - line 8, column 0)
[ERROR 1845] Element '{http://symfony.com/schema/dic/services}container': No matching global declaration available for the validation root. (in //vmware-host/Shared Folders/Symfony/web/ - line 5, column 0)
I haven't been able to figure out how to correct these errors... Any suggestions on how to correct these or am I DOOOMED!
Troubleshooting-wise: I have gotten a Laravel app up and running using the same VM/folder share, so it is something to do with Symfony2. I have also tried this with both a Composer install and a download-and-extraction from the Symfony2 site.