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" ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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/ |
|
|||
|
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/ > |
|
|||
|
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 ******************************** |
|
|||
|
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/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|