That's because I'll configure the site-specific Drupal settings file to point to the MySQL on my Mac. I now have a single filesystem that I can access via normal HTTP by issuing a request to my Mac, or via debugging by using Zend Studio to issue a debugging request via Ubuntu.ĭrupal ninjas will notice that I haven't installed MySQL on Ubuntu. To test, I chose Tools - Test Debug Server Connection and it reported success. One final step: the debugger on Ubuntu connects back to Zend Studio on the Mac via port 10000. In Zend Studio, I added the IP of the Ubuntu virtual machine to Tools - Preferences - debug. Now I needed to configure Zend Studio 5.5 on my Mac to use Ubuntu. So I clicked on Configuration and added my host to Allowed Hosts. Only localhost is allowed to do debugging and profiling sessions by default, and I wanted to do that from my Mac (that's sort of the whole point of this exercise!). On Ubuntu I started Firefox and went to and logged in. It took several minutes and then completed. I accepted all the defaults except on the WEB SERVER SETTINGS page, where I entered /home/john/sites in the htdocs field. install because /bin/bash is really /bin/dash on Ubuntu. Tar -xvf ZendPlatform-3.0.Ĭd ZendPlatform-3.0.0Beta-linux-glibc21-i386/ I downloaded it from Zend and installed it on Ubuntu: I made a little file called test.php with just in it. I restarted Apache with apache2ctl restart. Nano /etc/apache2/sites-enabled/000-default Now I want Apache to serve out of /home/john/sites instead of the default /var/So in Ubuntu I said I tested and doing ls gave me a list of the files in /Users/john/Sites. Mount -t smbfs //my.mac.ip.address/sites /home/john/sites -o username=myosxusername Settings - Repositories, check Community maintained Open Source software System - Administration - Synaptic Package Manager
#Zend studio ubuntu 14.04 install
You can use either the command line or Synaptic Package Manager to install software. System - Preferences - Screensaver Preferences, uncheck Activate screensaver.
Started virtual machine which booted off the image file.Īfter installation, selected "Continue using LiveCD"Ĭhanged boot sequence to have hard disk boot first. Pointed the image file to īlicked on Options, then Booting Options.Ĭhanged Boot sequence to have CD-ROM boot first. In Parallels, new virtual machine, typical installation.Ĭlicked on CD/DVD-ROM and changed the Emulation from Use CD/DVD-ROM to Use image file. There is no native version of Zend Platform for OS X on Intel Macs yet, so this solution uses Ubuntu on Parallels as an interim solution.
#Zend studio ubuntu 14.04 how to
Here's how to get debugging working in Zend Studio Server 5.5 for the Mac.