I have successfully installed FreeTDS on my LAMP box and now I'm trying to recompile PHP to support the MSSQL functions provided by FreeTDS. I extracted the FreeTDS files to /root/install/freetds-0.82
and created a configure.d executable there. I later tried to recompile with ./configure.d (which contains the line --with-mssql=/root/install
/freetds-0
.82) which points to the FreeTDS stuff. But when I run ./configure.d I get an error at the bottom that says:
./configure.d: line 2: --with-mssql=/root/install
/freetds-0
.82: No such file or directory
Why does it say there is no file here? In fact, it returns a similar message for all the entries of my configure.d file:
./configure.d: line 3: --enable-msdblib: command not found
./configure.d: line 4: --with-tdsver=8.0: command not found
./configure.d: line 5: --enable-dbmfix: command not found
./configure.d: line 6: --with-gnu-ld: command not found
./configure.d: line 7: --enable-shared: command not found
./configure.d: line 8: --enable-static: command not found
Why am I receiving these errors?
Start Free Trial