php_mssql.so

This is a discussion on php_mssql.so within the PHP General forums, part of the PHP Programming Forums category; We have a set of PHP files which uses "dl()" to load the extension "php_mssql.so" ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-28-2008
Liz Kim
 
Posts: n/a
Default php_mssql.so

We have a set of PHP files which uses "dl()" to load the extension
"php_mssql.so" at runtime.
These were running on a server with PHP 4.3.9 and have been recently moved
to a new server with PHP 5.1.6 (both RedHat).
I have tried to simply copy the file "php_mssql.so" file to the directory of
PHP modules, however it seems to be not compatible with the new version.

We dont have permissions to recompile PHP on the server but can copy files
on the modules/extensions directory area.
I believe we just need to get the updated "php_mssql.so" file onto the
server.
Any idea where I could download or how to create one?

Thank you,
LK

Reply With Quote
  #2 (permalink)  
Old 03-28-2008
Chris
 
Posts: n/a
Default Re: [PHP] php_mssql.so

Liz Kim wrote:
> We have a set of PHP files which uses "dl()" to load the extension
> "php_mssql.so" at runtime.
> These were running on a server with PHP 4.3.9 and have been recently moved
> to a new server with PHP 5.1.6 (both RedHat).
> I have tried to simply copy the file "php_mssql.so" file to the directory of
> PHP modules, however it seems to be not compatible with the new version.


Right. PHP4 is different to PHP5 internally so the extension files will
be different too.

> We dont have permissions to recompile PHP on the server but can copy files
> on the modules/extensions directory area.
> I believe we just need to get the updated "php_mssql.so" file onto the
> server.
> Any idea where I could download or how to create one?


Ideally just get the host to install the appropriate RPM's.

The only other way would be to get the same hardware (i386 compared to
amd64 for example), same version of redhat, same gcc, same php and
compile it all yourself.

--
Postgresql & php tutorials
http://www.designmagick.com/
Reply With Quote
  #3 (permalink)  
Old 03-28-2008
Liz Kim
 
Posts: n/a
Default Re: [PHP] php_mssql.so

Maybe I could just compile it on a test machine and copy the .so file over
to the working server.
Would there be any incompatibility issues there?

Where could I download PHP 5.1.6? I am only able to see 5.2.5 and 4.4.8 on
php.net...

Thank you!

On Thu, Mar 27, 2008 at 4:36 PM, Chris <dmagick@gmail.com> wrote:

> Liz Kim wrote:
> > We have a set of PHP files which uses "dl()" to load the extension
> > "php_mssql.so" at runtime.
> > These were running on a server with PHP 4.3.9 and have been recently

> moved
> > to a new server with PHP 5.1.6 (both RedHat).
> > I have tried to simply copy the file "php_mssql.so" file to the

> directory of
> > PHP modules, however it seems to be not compatible with the new version.

>
> Right. PHP4 is different to PHP5 internally so the extension files will
> be different too.
>
> > We dont have permissions to recompile PHP on the server but can copy

> files
> > on the modules/extensions directory area.
> > I believe we just need to get the updated "php_mssql.so" file onto the
> > server.
> > Any idea where I could download or how to create one?

>
> Ideally just get the host to install the appropriate RPM's.
>
> The only other way would be to get the same hardware (i386 compared to
> amd64 for example), same version of redhat, same gcc, same php and
> compile it all yourself.
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>


Reply With Quote
  #4 (permalink)  
Old 03-28-2008
Alfredo CV
 
Posts: n/a
Default Re: [PHP] php_mssql.so

Hola Liz

You should go to http://rpm.pbone.net and search for php-mssql. In fact
I did it;and there you will find the php-mssql packages for both RedHat
5 and RedHat 4 and for i386 and X86_64 and even for many other linux
distributions. I upgraded my mysql to 5.0.2 and my php to 5.0.3 running
on mandrake using packages found there

Hasta pronto y éxitos.

Alfredo


Liz Kim wrote:

>We have a set of PHP files which uses "dl()" to load the extension
>"php_mssql.so" at runtime.
>These were running on a server with PHP 4.3.9 and have been recently moved
>to a new server with PHP 5.1.6 (both RedHat).
>I have tried to simply copy the file "php_mssql.so" file to the directory of
>PHP modules, however it seems to be not compatible with the new version.
>
>We dont have permissions to recompile PHP on the server but can copy files
>on the modules/extensions directory area.
>I believe we just need to get the updated "php_mssql.so" file onto the
>server.
>Any idea where I could download or how to create one?
>
>Thank you,
>LK
>
>
>



--
--------------------------------
Alfredo Covaleda Vélez
Ingeniero Agrónomo

********************************
Compre y venda sus libros en:
http://www.loslibrosusados.com
********************************

Reply With Quote
  #5 (permalink)  
Old 03-28-2008
Chris
 
Posts: n/a
Default Re: [PHP] php_mssql.so

Liz Kim wrote:
> Maybe I could just compile it on a test machine and copy the .so file
> over to the working server.
> Would there be any incompatibility issues there?


If and only if:

- They are the same architecture (they both have to be i386 for example,
one can't be an amd-64 and the other be a solaris sparc).
- You have the same versions of gcc and other software. This may or may
not be the case but instead of wasting time I'd make them the same


> Where could I download PHP 5.1.6? I am only able to see 5.2.5 and 4.4.8
> on php.net...


http://www.php.net/releases/

--
Postgresql & php tutorials
http://www.designmagick.com/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:23 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0