On Aug 23, 2016, at 07:03, Kieran Delaney wrote:
> 
> Hi - I’ve been using PHP via macports for a long time - we have a requirement 
> that we need to support SQL Server. Obviously PHP7 removed the mssql 
> extensions but they were the only way to install pdo-dblib libraries. Looking 
> at the port file, the dblib extension was created with mssql. Is it possible 
> to either add a php70-pdo-dblib like other platform repositories (for example 
> Remi on Redhat etc)? PDO-DBLIB is fine under PHP 7 and it seems a shame to 
> remove it completely as a victim of the mssql library going away :)

Thanks for pointing this out. I didn't realize that the pdo-dblib extension is 
still there even though the mssql extension has been removed.

I don't use these extensions but I originally put them both together into the 
same phpNN-mssql MacPorts subport because they're both for connecting to MSSQL 
servers. Did that make sense to you when you were looking for the extension in 
MacPorts or was that confusing? 

We could:

1. Enable the phpNN-mssql subport for all php versions, installing the 
pdo-dblib extension for all php versions and the mssql extension only for php 
5.x. This would be similar to the phpNN-mysql subport which only installs the 
mysql extension for php 5.x. This might be confusing for pdo-dblib users since 
the extension name is not in the port name, though it is in the description. 

2. Add a phpNN-pdo-dblib subport for php 7 and greater only. This seems 
confusing for pdo-dblib users who then have to use a different port name 
depending on the php version. 

2(b). Add a phpNN-pdo-dblib subport for all php versions and remove pdo-dblib 
from the phpNN-mssql subport. I like this except that it would remove pdo-dblib 
from existing users' systems when they upgrade. We could make the port print a 
note advising users where pdo-dblib has moved to. 

If we move pdo-dblib to its own subport then that's inconsistent with the rest 
of the pdo extensions. Do we move the rest of the pdo extensions to individual 
subports as well?



_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to