How to Compile Mssql & Mysql in PHP

#1
How to Compile Mssql & Mysql in PHP [RESOLVED]

I want to compile mssql and mysql in php 5.3.3 because i want mssql and mysql connections how do i do it?
 
Last edited:

NiteWave

Administrator
#4
you need install the develop package first. in CentOS, it's:
freetds-devel.x86_64 : Header files, libraries and development documentation for freetds

in debian, may need search the package first:
aptitude search freetds
the install it.
 
#5
Error i get while compiling PHP.ini. I know its missing libxml2 and even after i downloaded it it still gives same error.

checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
**ERROR** Could not configure PHP build
 
#7
Now i get this error:


checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.
**ERROR** Could not configure PHP build
 
#9
i changed my Os to CentOS and i get this error while compiling

Code:
Changing to build directory /usr/local/lsws/phpbuild/php-5.3.3
Configuring PHP build (2-3 minutes)
./configure '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-litespeed'
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
**ERROR** Could not configure PHP build
 
Top