1 Reply Latest reply on Dec 3, 2014 11:32 AM by JohnDuncan

    Server 13v5 for OS X PHP missing MySQL support?

    PointInSpace

      Title

      Server 13v5 for OS X PHP missing MySQL support?

      Your post

      We've got a client that just upgraded their FileMaker Server 13 install to v5 on OS X.  Upon doing so, their PHP connectivity to their MySQL databases stopped functioning.  On examination of the PHP info file, we found that the configure line shows considerably less built into v5's PHP, including a lack of MySQL support.

       

      Here's the configure line from a 13v4 install:

       

      '/private/var/tmp/apache_mod_php/apache_mod_php-79~1/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--sysconfdir=/private/etc' '--with-apxs2=/usr/sbin/apxs' '--enable-cli' '--with-config-file-path=/etc' '--with-libxml-dir=/usr' '--with-openssl=/usr' '--with-kerberos=/usr' '--with-zlib=/usr' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--disable-cgi' '--with-curl=/usr' '--enable-dba' '--enable-ndbm=/usr' '--enable-exif' '--enable-fpm' '--enable-ftp' '--with-gd' '--with-freetype-dir=/BinaryCache/apache_mod_php/apache_mod_php-79~1/Root/usr/local' '--with-jpeg-dir=/BinaryCache/apache_mod_php/apache_mod_php-79~1/Root/usr/local' '--with-png-dir=/BinaryCache/apache_mod_php/apache_mod_php-79~1/Root/usr/local' '--enable-gd-native-ttf' '--with-icu-dir=/usr' '--with-iodbc=/usr' '--with-ldap=/usr' '--with-ldap-sasl=/usr' '--with-libedit=/usr' '--enable-mbstring' '--enable-mbregex' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--without-pear' '--with-pdo-mysql=mysqlnd' '--with-mysql-sock=/var/mysql/mysql.sock' '--with-readline=/usr' '--enable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets' '--enable-sqlite-utf8' '--enable-suhosin' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy' '--enable-wddx' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-xsl=/usr' '--enable-zend-multibyte' '--enable-zip' '--with-pcre-regex=/usr' '--with-pgsql=/usr' '--with-pdo-pgsql=/usr'

       

      and here's the configure line from the 13v5 one:

       

      './configure' '--prefix=/usr/local/php5' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs2=/usr/sbin/apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--enable-exif' '--without-iconv' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-openssl' '--with-xsl=/usr'

       

      Has anyone else run into this?  Is the only option to install our own build of PHP on the machine?  It's very surprising that FileMaker would up and leave out so much in a point upgrade to their software.

       

      - John

        • 1. Re: Server 13v5 for OS X PHP missing MySQL support?
          JohnDuncan

          Workaround was to replace the /Library/FileMaker Server/Web Publishing/publishing-engine/php/mountain lion/libphp5.so with the one from Server 13.0v4.  Also discovered that it had overwritten our customized httpd.conf file and that each time the server restarts it overwrites that file so had to modify the httpd.conf.2.2 file with our customizations so that it would keep them on restart.