After upgrading to OS X 10.10 (Yosemite), Zend Server no longer starts at boot time.
Zend Server 7
OS X 10.10 (Yosemite)
NOTE: Downloading and installing the patch file attached to this article will take care of steps 1 and 2. If you use the patch, skip to step 3.
Add the following entries in cron tab. The first line is required. The second entry is only necessary if you are using mysql.
$ sudo EDITOR=nano crontab -e @reboot /usr/local/zend/bin/zendctl.sh start @reboot /usr/local/zend/bin/zendctl.sh start-mysql ctrl+o to write out the file <Enter> to confirm the file name ctrl+x to exit
Execute the following command to modify the mysql startup scripts.
$ sudo sed -i '_bak' 's/\`hostname\`/localhost/g' /usr/local/zend/mysql/bin/mysql.server
- Reboot the system.
If a reboot is not possible yet, you can temporarily start Zend Server and mysql with the following commands.
$ sudo /usr/local/zend/bin/zendctl.sh start $ sudo /usr/local/zend/bin/zendctl.sh start-mysql
The method used to automatically start Zend Server was disabled in OS X 10.10. The engineers in the R&D team have fixed this for future releases of Zend Server. For existing installations the above steps will allow Zend Server to start during boot.