MAMP PHP 5.6.2 mssql.so extension not installing

可紊 提交于 2019-12-08 03:25:47

问题


I'm having trouble installing the mssql.so extension in MAMP on Yosemite. I've followed the following tutorial multiple times, with no luck:

http://blog.benjaminwalters.net/?p=10

I'm using PHP v5.6.2; therefore, used/compiled the 5.6.2 version from source when following that section of the tutorial. I've placed the mssql.so library file in the extensions directory as instructed and added the appropriate extension=mssql.so line to the correct version of the php.ini file as displayed from the phpInfo page, in the Loaded Configuration File section of the MAMP start portal.

After these things, the same phpInfo page still does not display the mssql sub-section in the installed extensions area and I am still getting the following error:

Fatal error: Call to undefined function mssql_connect() in /Users/sadmicrowave/Documents/Coding/Astoria/bin/commonfunctionlibrary.php on line 16

I'm not sure what else to do to try and install this extension and get mssql_connect() to work. Any ideas?

来源:https://stackoverflow.com/questions/30206977/mamp-php-5-6-2-mssql-so-extension-not-installing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!