Need Help Compiling PHP5 With MS SQL Support
am 03.07.2006 17:14:48 von Mike
I am new to Linux and have NEVER compiled PHP. I have PHP 5 and need to
compile it with MS SQL support. Per PHP docs, I installed FreeTDS and tested
it and it works. Now I need to (re)compile PHP to get the support I need to
access MS SQL databases. I am on a Ubuntu 6.06 version of Linux.
Again, PLEASE keep in mind that I am new to all of this. I tread VERY softly
doing this! (I am on a VMWare virtual server and have made a clone drive as
a backup.)
Am I correct that my first step is to see what is already compiled into my
version of PHP using php -m? I have that list.
I assume that my next step is to get the PHP source for PHP 5.1.4. From
here on I do not understand clearly by reading the docs I have searched for
on the Internet through Google. Is there a place that has a VERY clear, step
by step process to compile PHP?
Any and all help is GREATLY appreciated.
TIA.
Mike
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Need Help Compiling PHP5 With MS SQL Support
am 04.07.2006 02:19:06 von Chris
Mike wrote:
> I am new to Linux and have NEVER compiled PHP. I have PHP 5 and need to
> compile it with MS SQL support. Per PHP docs, I installed FreeTDS and tested
> it and it works. Now I need to (re)compile PHP to get the support I need to
> access MS SQL databases. I am on a Ubuntu 6.06 version of Linux.
>
> Again, PLEASE keep in mind that I am new to all of this. I tread VERY softly
> doing this! (I am on a VMWare virtual server and have made a clone drive as
> a backup.)
>
> Am I correct that my first step is to see what is already compiled into my
> version of PHP using php -m? I have that list.
>
> I assume that my next step is to get the PHP source for PHP 5.1.4. From
> here on I do not understand clearly by reading the docs I have searched for
> on the Internet through Google. Is there a place that has a VERY clear, step
> by step process to compile PHP?
The install file in the tarball is pretty good.
Basically:
../configure --with-all-of-your-options
when that finishes,
make
when that finishes,
make install
once that's complete, you should just be able to restart your webserver.
http://www.designmagick.com/article/3/Starting-Out/Installin g-PHP
a very very basic guide to what to do.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Need Help Compiling PHP5 With MS SQL Support
am 05.07.2006 11:01:31 von Riemer Palstra
On Mon, Jul 03, 2006 at 11:14:48AM -0400, Mike wrote:
> I am new to Linux and have NEVER compiled PHP. I have PHP 5 and need
> to compile it with MS SQL support. Per PHP docs, I installed FreeTDS
> and tested it and it works. Now I need to (re)compile PHP to get the
> support I need to access MS SQL databases. I am on a Ubuntu 6.06
> version of Linux.
Since you're on Ubuntu, I reckon this kind of explains what you want to
do (at least if you want to keep using Ubuntu packages):
http://panthar.org/2006/06/15/php-with-mssql-on-ubuntu-606/
(first hit on Google, btw)
--
Riemer Palstra Amsterdam, The Netherlands
riemer@palstra.com http://www.palstra.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php