djhmateer
December 8th, 2008, 10:17 PM
Hi
For legacy reasons I need to run PHP4. Am building an Ubuntu8.04
server with Apache2 prefork. I've compiled PHP from source and got it
working.
However I need to use the sybase_ct library, but can't get it to
compile.
So have been compiling with:
./configure --prefix=/usr/share/php --with-apxs2=/usr/bin/apxs2 --
with-config-file-path=/etc/apache2/php --with-sybase-ct
./configure --prefix=/usr/share/php --with-apxs2=/usr/bin/apxs2 --
with-config-file-path=/etc/apache2/php --with-sybase-ct=shared
./configure --prefix=/usr/share/php --with-apxs2=/usr/bin/apxs2 --
with-config-file-path=/etc/apache2/php --with-sybase-ct=/usr/src/
php-4.4.9/ext
Am always getting config errors of
configure: error: ctpublic.h missing!
even though I put it in /usr/src/php4.4.9/ext.. tried putting it in /
oct/sybase
Any ideas?
Regards
For legacy reasons I need to run PHP4. Am building an Ubuntu8.04
server with Apache2 prefork. I've compiled PHP from source and got it
working.
However I need to use the sybase_ct library, but can't get it to
compile.
So have been compiling with:
./configure --prefix=/usr/share/php --with-apxs2=/usr/bin/apxs2 --
with-config-file-path=/etc/apache2/php --with-sybase-ct
./configure --prefix=/usr/share/php --with-apxs2=/usr/bin/apxs2 --
with-config-file-path=/etc/apache2/php --with-sybase-ct=shared
./configure --prefix=/usr/share/php --with-apxs2=/usr/bin/apxs2 --
with-config-file-path=/etc/apache2/php --with-sybase-ct=/usr/src/
php-4.4.9/ext
Am always getting config errors of
configure: error: ctpublic.h missing!
even though I put it in /usr/src/php4.4.9/ext.. tried putting it in /
oct/sybase
Any ideas?
Regards