Apache is the most popular Internet webserver application in the world. It's created by a collaborative effect of software developers. The project is jointly managed by a group of volunteers located around the world, using the Internet and the Web to communicate, plan, and develop the. Is Apache OpenOffice for Mac Compatible with StarOffice Components? The software is designed to utilise all of the standardised OpenDocument file formats that users of StarOffice are likely to be familiar with. How to install and configure Apache, MySQL and PHP on Mac OS X 10.7 Lion and OS X 10.6 Snow Leopard. Apache and PHP already come preloaded in OS X 10.7 Lion and 10.6 Snow Leopard, the versions on 10.7 Lion are PHP 5.3.6 and Apache 2.2.20, these 2 pieces of Open Source software are part of the “AMP” stack with MySQL the missing third component. Their are other options for Mac users to install an AMP stack using prebuilt point and click downloads including the following,,, and – these installations use separate binaries outside of the regular OS X software so no conflict occurs and it makes it easier to delete the stacks without affecting other parts of the operating system. However sometimes you need to configure these with different port numbers and this can lead to issues and there is the question of vendor support and application versions. This tutorial bypasses the 3rd party AMP stacks and uses the native installed components with the exception of MySQL which is a separate install, unless you have OS X Server, which then MySQL comes preloaded in 10.6 but not 10.7 which has dumped MySQL in favour of instead – you can still install MySQL on 10.7 Server with the instructions below. To get Apache, MySQL and PHP running natively on OSX is quite easy and straightforward – this guide should have you up and running in no time. This guide uses the command line to achieve some text editing of various configuration files, however If you aren’t comfortable in the Terminal you can do this in a graphical mode, download a free text editor utility call, launch it, when you come to edit one of the configuration files, open file, you have to click on “ show hidden items” at the bottom of the open dialog box to see all of the system files. But you will still need to use the terminal for some of the commands which don’t involve editing files. PHP You can verify your version of PHP by launching the Terminal application, as found in the Utilities folder: /Applications/Utilities/Terminal To find the PHP version, type at the prompt: php -v And the version is displayed: PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun 16 2011 22:26:57) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies To find the Apache version, type at the prompt: httpd -v And the version is displayed: Server version: Apache/2.2.19 (Unix) Server built: Jun 16 2011 22:09:54. So far so good, however by default PHP is not enabled and has to have its module loaded you need to make a simple edit in the Apache configuration file “httpd.conf” file. Download latest kindle for mac. This is filed in /etc/apache2/httpd.conf, get there in the terminal by typing: cd /etc/apache2/ Then in the terminal you need to use a text editor either “vi” or nano” will do, this file also has stricter permissions so the “sudo” command needs to be used to edit the file, you will need to be an admin user to have permission to change the file, type: sudo nano httpd.conf and then your password. Once in nano click “control+w” to get a search dialog, type “php” and this will bring you to the php module line: #LoadModule php5_module libexec/apache2/libphp5.so Uncomment out the hash # to leave it like: LoadModule php5_module libexec/apache2/libphp5.so. MySQL So now onto the 2nd piece of the puzzle, MySQL. You need to download it from, chose Mac OS X ver. 10.7 (x86, 64-bit), DMG Archive for an Intel Mac the.dmg file is a point and click installation nice and easy, you can download the tar.gz also for a command line install. The easiest format is the.dmg file as it allows for an installation visually using the GUI. When downloading you don’t have to sign up, look for » No thanks, just take me to the downloads!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |