Uncategorized

checking for unixODBC support configure: error: ODBC header file ‘/usr/local/myunixodbc/include/sqlext.h

If you are seeing this error on EasyApache do the following to resolve it.

Go to file /var/cpanel/easy/apache/rawopts/all_php5 and check for unixODBC, you can see as below.

–with-unixODBC=/usr/local/myunixodbc

Now,install unixODBC using yum.

yum install unixODBC-devel.x86_64

and then edit the unixODBC line in /var/cpanel/easy/apache/rawopts/all_php5 as below

–with-unixODBC=/usr

Now, perform the EasyApache.

Standard

Leave a comment