Compiling PHP

Discussion in 'Install/Configuration' started by baum, Jan 6, 2009.

  1. baum

    baum New Member

    I use Directadmin and Litespeed Webserver but after compiling php 5.6.8 the website didn't connect to mysql

    what can i do?

    sry for my english
  2. mistwang

    mistwang LiteSpeed Staff

    check output of

    lsws/fcgi-bin/lsphp5 -i

    It should have mysql and mysqli module in the output, if not, you need to tweak PHP configuration and recompile. I think "--with-mysql=../mysql" does not work. you have to use the real path where mysql client libraries has been installed to.
    make sure mysql client devel rpm has been installed properly.

Share This Page