

- #Web sharing mac os x mountain lion how to
- #Web sharing mac os x mountain lion install
- #Web sharing mac os x mountain lion archive
- #Web sharing mac os x mountain lion upgrade
Zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so" This can be corrected with a brief and simple change to php.ini.Ĭhange the line at the top that starts with ‘extension’ to: This will not work correctly as Xdebug needs to be loaded as Zend extension.
#Web sharing mac os x mountain lion install
Pecl will install Xdebug as an extension and create a new line in your php.ini file referencing the extension. With Notes, you can write down all your ideas and even speak your words with voice dictation. With the Reminders app, you can create to-do lists and alerts that appear in the new Notification Center.
#Web sharing mac os x mountain lion upgrade
$ sudo pear upgrade Install and Configure Xdebugįrom the terminal prompt, get Pecl to install Xdebug. The new Share button makes it easy to share files, Web pages, photos, and videos, as well as tweet right from the app you are using. $ pecl config-set php_ini /private/etc/php.iniįinally, get Pear to upgrade itself and all of its packages. an alternative to MAMP is WebStart that makes it easy to manage a professional Apache 2 web sever on Mac OS X 10.7 Lion.

$ pear config-set php_ini /private/etc/php.ini Note that since Mountain Lion, Web Sharing was removed from the Sharing preference pane, but Apache is still included. Point Pear and Pecl programs to the PHP initialisation file: $ sudo php /usr/lib/php/install-pear-nozlib.phar
#Web sharing mac os x mountain lion archive
Configure PearĮxecute the Pear PHP archive using the following: You should now be able to execute php with the -v switch to get the current version and determine that it is installed. $ sudo cp /private/etc/ /private/etc/php.ini You will need to provide your administrative account password for sudo commands. Use the default initialisation file and copy it to the same directory as ‘php.ini’. This will make compilers available, such as gcc, for building extensions and packages. Click on the Downloads tab install the Command Line Tools. Once you have Xcode installed, launch the program and go to preferences. If you intend to develop on your Mac then I recommend installing Xcode from the App Store.
#Web sharing mac os x mountain lion how to
This post explains how to activate PHP, Pear and Xdebug using the system installation.įor convenience, I recommend using a separate stack for development, such as MAMP. PHP is still there and can be configured easily from the terminal. For some reason, web sharing was removed from OS X Mountain Lion removing the one click activation of Apache. It has been great to get back into PHP as I have not used it in a while (since PHP 4.3). A preview of Mac OS X 10.7 Lion was publicly shown at the 'Back to the Mac' Apple Special Event on October 20, 2010. Using an administrative account, you may also put documents in theįolder /Library/WebServer/Documents/.I have recently picked up a project to be created using PHP. Mac OS X Lion, also known as OS X Lion, (version 10.7) is the eighth major release of macOS, Apples desktop and server operating system for Macintosh computers. Username with the short name of your account. Replace address with your computer's domain name, and

If you don't have a fixed IPĪddress, you can still use Web Sharing via Bonjour to your

For Web Sharing toīe practical, the computer that is sharing HTML documentsĪnd associated files should have a full-time network connection and aįixed IP number. Serve documents and other files from your computer. Web Sharing is a feature in Mac OS X that allows you to Information here may no longer be accurate, and links may no longer be available or reliable. This content has been archived, and is no longer maintained by Indiana University.
