# NGINX + PHP + PERCONA works on OSX - 10.6.8

**URL:** <https://forums.percona.com/t/nginx-php-percona-works-on-osx-10-6-8/3071>\
**Category:** Percona Server for MySQL 5.6\
**Created:** [November 11, 2013, 10:43am UTC](https://forums.percona.com/t/nginx-php-percona-works-on-osx-10-6-8/3071 "2013-11-11T10:43:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkr](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@rkr](https://forums.percona.com/u/rkr)\
**Post date:** [November 11, 2013, 10:43am UTC](https://forums.percona.com/t/nginx-php-percona-works-on-osx-10-6-8/3071/1 "2013-11-11T10:43:30Z")

</div>

Hi Folks

I have got nginx+php+percona working on OSX-10.6.8. I have not done any performance testing, but quite excited to have got it to work.  
Created a database, a table and inserted some data all through php/nginx and verified that it got to percona via the command-line and php.

The details of the software:

./nginx -V  
nginx version: nginx/1.5.6  
built by gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)  
Source: [url][http://nginx.org/en/download.html[/url]](http://nginx.org/en/download.html%5B/url%5D)  
FileName: nginx-1.5.6.tar.gz  
= \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* =  
PHP - 5.5.5 for OS X - 10.6

Binary : [url][http://php-osx.liip.ch/#install[/url]](http://php-osx.liip.ch/#install%5B/url%5D)  
Command : curl -s [url][http://php-osx.liip.ch/install.sh[/url]](http://php-osx.liip.ch/install.sh%5B/url%5D) | bash -s 5.5  
Installs in /usr/local/php5  
(You can down the binaries or compile from sources)  
Sources : [url][PHP: Downloads](http://www.php.net/downloads.php#v5.5.5%5B/url%5D)  
FileName: php-5.5.5.tar.bz2  
Build Date Nov 8 2013 23:08:55  
= \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* = \* =  
Percona : [url][http://www.percona.com/downloads/Percona-Server-5.6/\[/url]](http://www.percona.com/downloads/Percona-Server-5.6/%5C%5B/url%5D)  
Percona-Server-5.6.14-rel62.0/release-5.6.14-62.0/483/source/  
Filename: Percona-Server-5.6.14-rel62.0.tar.gz  
mysql\> SHOW VARIABLES LIKE “%version%”;  
±------------------------±-----------------------------+  
| Variable\_name | Value |  
±------------------------±-----------------------------+  
| innodb\_version | 5.6.14-60.3 |  
| protocol\_version | 10 |  
| version | 5.6.14 |  
| version\_comment | MySQL Community Server (GPL) |  
| version\_compile\_machine | x86\_64 |  
| version\_compile\_os | osx10.6 |  
±------------------------±-----------------------------+

The only error I saw right of the bat is the “innodb\_version” says 5.6.14-60.3 even though the release  
of Percona that I downloaded is “5.6.14-62.0”. Are they related in any way or is that a slip.

Regards  
RJR

Some Issues while compiling Percona:  
I got a number of “has no symbols” while linking static libraries like libstrings.a,  
libmysys.a, libinnobase.a and others including libmysqlclient.a

I have displayed a few lines from the output for libmysqlclient.a (for brevity),  
let me know if you need the output for others too.

Linking C static library libmysqlclient.a  
/usr/bin/ranlib: file: libmysqlclient.a(mysqlclient\_depends.c.o) has no symbols  
/usr/bin/ranlib: file: libmysqlclient.a(mysqlclient\_depends.c.o) has no symbols

PS: If anybody needs any help with getting this to work on OSX-10.6.8 and gcc version 4.2.1/4.6.0  
please post your question and let me try to help.
