[SLE] mssql extension and PHP
Hello, We're running a web based application on a Suse Linux 10.0 machine that is planned to use data on a Microsoft SQL 2000 server. I installed FreeTDS on linux and thanks to that can see data on the MS SQL 2000 server. Now to let the application use the function I need to compile PHP with the option -with mssql. And there I, a bit of linux newby, have a problem. How do I recompile PHP to add the mssql option but keep the existing options and extensions of the installed php (4.4.0) that is running ? I don't know with what compile options it was installed. Thanks for your help. Peter Plasmans.
Peter Plasmans schrieb:
Hello,
We're running a web based application on a Suse Linux 10.0 machine that is planned to use data on a Microsoft SQL 2000 server.
I installed FreeTDS on linux and thanks to that can see data on the MS SQL 2000 server.
Now to let the application use the function I need to compile PHP with the option -with mssql.
And there I, a bit of linux newby, have a problem.
How do I recompile PHP to add the mssql option but keep the existing options and extensions of the installed php (4.4.0) that is running ?
I don't know with what compile options it was installed.
Thanks for your help.
Peter Plasmans.
Hi, place a small script in your web directory and call this with your browser script name p.php <? phpinfo(); ?> it will print out all options php was compiled with. Or do start php -i from your linux shell. It will print out the configure options. You can use the configure statement and add --with-mssql to compile php. Did compile php yourself or did you install php using SuSE tools. If you are using SuSE tools you should look for an additional package. i currently dont have a SuSE 10.0 machine here, but the package name should be something with: php mssql Regards Lars -- http://www.lhits.eu http://blog.linuri.de http://www.kleinwalsertal-bilder.de
participants (2)
-
LHartung
-
Peter Plasmans