![]() For starting it using the command line interface, type the following command in the editor: The three components, namely mysql – 5.6.10 – osx10.6- x86_64.pkg, MySQL-prefPane and MySQL startupitem.pkg would be installed.Įither you can start MySQL using the command line interface or you can use the GUI as well. It would be downloaded in a package format which would contain 3 components. Remember to choose the version as per your operating system. You can download it from the official website of MySQL. For that, first of all, you would need to download the MYSQL file. The next part is to install MySQL on Mac OS X Lion. All you have to do is to remove the # sign in front of it so that comment is removed and then, PHP would ne enabled automatically. You can open the required configuration file by typing the following command in the editor:Īs soon as you press enter, configuration file would be opened and you would see that PHP has been disabled by commenting the line php5_module libexec/apache2/libphp5.so. The configuration file of the Apache server would need to be edited in order to make it run PHP scripts. In order to know what version of Apache server your operating system comes with, you can also use the command for finding the version of the Apache. ![]() You can also stop and restart the server using the appropriate commands. Once the terminal gets opened, you can run the following command to start Apache server:Īs soon as you press enter after typing this command, server would be started and in order to confirm the same, you can open your browser and open localhost. Go to the Applications folder, then go to the Utilities sub-folder inside it and click on Terminal. So, you just have to start it and you need not install it manually. Steps for installing Apache server to run PHP and MySql on MAC OS X Lion:Īs far as Mac OS X Lion is considered, Apache server comes pre-installed into it. Users have been facing difficulties in installing the Apache PHP MySQL on Mac OS X Lion and later versions since the hosting environment have been changed completely.Īlso, there is an option available for web sharing in GUI format. ![]() This is a complete tutorial to teach you the method to install Apache PHP MySQL on Mac OS X Lion. '-with-zlib' '-with-gd' '-enable-shmop' '-enable-track-vars' '-enable-sockets' '-enable-sysvsem' '-enable-sysvshm' '-enable-magic-quotes' '-enable-mbstring' '-with-iconv' '-with-curl=/usr' '-enable-soap' '-enable-exif' '-with-jpeg-dir=.' '-with-png-dir=.' '-with-freetype-dir=.' '-with-libxml-dir=/usr' '-with-xsl=/usr' '-enable-gd-native-ttf' '-with-ttf' '-enable-libxml' '-enable-xml' '-enable-simplexml' '-enable-wddx' '-enable-sockets' '-enable-bcmath' '-enable-dbase' '-enable-zend-multibyte' '-enable-session' '-with-pcre-regex' '-enable-sigchild' '-enable-magic-quotes' '-enable-zip' '-with-mcrypt=/usr/local/bin/mcrypt' '-with-openssl' '-with-litespeed' '-with-bz2=/usr' '-enable-calendar' '-enable-mbregex' '-enable-sysvmsg' '-with-xmlrpc' '-with-mysqli=/usr/local/mysql/bin/mysql_config' '-with-mysql=/usr/local/mysql' '-with-mysql-sock=/tmp/mysql.In this tutorial we will show you how to install Apache server to run PHP and MySql on MAC OS X Lion. Log into Litespeed Webserver and Compile PHP through Litespeed. configure, sudo make, sudo make install) the following libraries. Download and install Litespeed Web Server Standard (FREE) Run sudo install_name_tool -id /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.dylib Turn off the default Mac OS X Apache (go to System Preferences > Sharing > “uncheck” Web Sharing # Installing Litespeed Web Server, MySQL, and PHP on your Mac OS X machine (also works with Lion)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |