Home > Archive > PHP Language > September 2006 > recompile php for mssql and mail
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
recompile php for mssql and mail
|
|
|
| Basically im trying to connect to a mssql database, and another part of
my page will send an email.
neither of these are working. We have a dedicated server running fedora
linux, on the fasthosts dedicated servers.
I've added the extension for the mssql so assumed i needed to recompile
php.
Having not much look tracking down the installation directory of php, i
found something which said do: php-mssql and at the end of it doing its
thing said:
No Match for argument: php-mssql
if i do:
find -name php all i get is:
../usr/bin/php
../usr/lib/php
../var/lib/php
i tried:
[root@localhost /]# /usr/bin/php
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/ php_mssql.dll' -
/usr/lib/php/modules/php_mssql.dll: cannot open shared object f
ile: No such file or directory in Unknown on line 0
also, the php.ini is:
[root@localhost /]# find -name php.ini
../etc/php.ini
Any ideas please?
| |
|
| Advo wrote, On 4/09/06 9.54 p:
> Basically im trying to connect to a mssql database, and another part of
> my page will send an email.
>
> neither of these are working. We have a dedicated server running fedora
> linux, on the fasthosts dedicated servers.
>
> I've added the extension for the mssql so assumed i needed to recompile
> php.
>
Take a read of: <http://nz.php.net/mssql>
It seems like you first need to install FreeTDS
<http://www.freetds.org/>, and then re-compile PHP with '--with-mssql'
(and all the other configure options), optionally with
'=/where/you/installed/freetds' if it can't find it.
-Phil
|
|
|
|
|