How to Install XAMPP eAccelerator on a Mac
The open-source XAMPP project includes MySQL, Apache Web Server, PHP and Perl in one package. XAMPP provides a simple method to install a development environment across platforms. The Mac OS version works with OS X v10.4 and above. XAMPP does duplicate some of the programs included with Mac OS X, but because XAMPP includes its own folder, it won't interfere with native OS X programs. The eAccelerator extension works by caching PHP scripts to speed up execution. You must enable it in XAMPP after installation.
Instructions
-
-
1
Open your preferred Web browser and go to the apachefriends.org website. Click on the "XAMPP" link at the top of the page. Scroll down and click the "XAMPP for Mac OS X" link.
-
2
Scroll down to the "Download" section and click the link to download the XAMPP DMG file. Open the XAMPP DMG in Finder. Drag the "XAMPP" folder to the "Applications" alias in the XAMPP DMG file.
-
-
3
Click the "Applications" option in Finder's Go menu. Scroll down to the XAMPP folder. Open the "xamppfiles" folder, then the "etc" folder.
-
4
Right-click the "php.ini" file and select the "Other" option in the Open With menu. Scroll down and double-click "TextEdit." Scroll down to the "Dynamic Extensions" section of the file.
-
5
Remove the ";" from in front of the line that reads:
extension="eaccelerator.so"
This enables the eAccelerator. Remove the ";" from in front of all of the lines below it that start with "eaccelerator."
-
6
Click the "Save" option in the File menu and close TextEdit. Double-click the "XAMPP Control" app in the XAMPP folder. This application lets you start the Apache, MySQL and FTP servers included in XAMPP.
-
1
Tips & Warnings
Place all the Web server files in the XAMPP folder during development.