The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Install mysqli without EasyApache?

Discussion in 'EasyApache' started by Mico Programador, Dec 12, 2016.

  1. Mico Programador

    Mico Programador Registered

    Joined:
    Dec 12, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hermosillo, Sonora, México
    cPanel Access Level:
    Root Administrator
    Good day.

    I know that easy apache has the option to add mysqli and everything but, since we installed mssql driver to the server, everytime we try to make the new build there's an error and it reverts to the previous working apache.

    This is the error we get:

    configure: error: invalid variable name: `echo"--with-mssql'
    !! './configure --disable-fileinfo --disable-opcache --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-pdo=shared --enable-sockets --prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs --with-curl=/opt/curlssl/ --with-freetype-dir=/usr --with-gd --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos --with-libdir=lib64 --with-libxml-dir=/opt/xml2/ --with-mcrypt=/opt/libmcrypt/ --with-mysql --with-mysqli --with-openssl=/usr --with-openssl-dir=/usr --with-pcre-regex=/opt/pcre --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pic --with-png-dir=/usr --with-xpm-dir=/usr --with-zlib --with-zlib-dir=/usr echo"--with-mssql=/usr/local/freetds" >> /var/cpanel/easy/apache/rawopts/all_php5' failed with exit code '256' !!
    !! Restoring original working apache !!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,167
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the specific steps you took to install the MSSQL driver?

    Thank you.
     
  3. Mico Programador

    Mico Programador Registered

    Joined:
    Dec 12, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hermosillo, Sonora, México
    cPanel Access Level:
    Root Administrator
  4. Mico Programador

    Mico Programador Registered

    Joined:
    Dec 12, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hermosillo, Sonora, México
    cPanel Access Level:
    Root Administrator
    mmm... the problem it's the "echo " in the all_php5 file, right? it should contain only
    "--with-mssql=/usr/local/freetds" (with the ", i suppose)
     
  5. Mico Programador

    Mico Programador Registered

    Joined:
    Dec 12, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hermosillo, Sonora, México
    cPanel Access Level:
    Root Administrator
    Damn, i feel ashamed of myself for not be able to see it before hahaha. Easy Apache built the new stuff correctly now and mysqli is enable.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,167
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    To confirm, yes, the command needs the quotes but the file contents won't include them. I'm happy to see you were able to address the issue. Thank you for updating us with the outcome.
     
Loading...

Share This Page