{"action":"created","issue":{"url":"https://api.github.com/repos/omega8cc/boa/issues/781","labels_url":"https://api.github.com/repos/omega8cc/boa/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/omega8cc/boa/issues/781/comments","events_url":"https://api.github.com/repos/omega8cc/boa/issues/781/events","html_url":"https://github.com/omega8cc/boa/issues/781","id":106420729,"number":781,"title":"How can I add a new module to PHP? (trying to set up access to MS SQL server)","user":{"login":"jdcollier","id":1123687,"avatar_url":"https://avatars.githubusercontent.com/u/1123687?v=3","gravatar_id":"","url":"https://api.github.com/users/jdcollier","html_url":"https://github.com/jdcollier","followers_url":"https://api.github.com/users/jdcollier/followers","following_url":"https://api.github.com/users/jdcollier/following{/other_user}","gists_url":"https://api.github.com/users/jdcollier/gists{/gist_id}","starred_url":"https://api.github.com/users/jdcollier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdcollier/subscriptions","organizations_url":"https://api.github.com/users/jdcollier/orgs","repos_url":"https://api.github.com/users/jdcollier/repos","events_url":"https://api.github.com/users/jdcollier/events{/privacy}","received_events_url":"https://api.github.com/users/jdcollier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T20:25:01Z","updated_at":"2015-09-16T10:45:23Z","closed_at":null,"body":"I have freetds installed on my Debian (Wheezy) install ... but I can't figure out how to get mssql added to PHP.\r\n\r\nI can connect to the MS SQL server at command line with tsql ... but my application is not working.\r\n\r\nThis is the same code I know works fine on a CentOs / Apache setup.\r\n\r\nSo ... how can I get PHP compiled with a new module?\r\n\r\nThank you so much!"},"comment":{"url":"https://api.github.com/repos/omega8cc/boa/issues/comments/140702985","html_url":"https://github.com/omega8cc/boa/issues/781#issuecomment-140702985","issue_url":"https://api.github.com/repos/omega8cc/boa/issues/781","id":140702985,"user":{"login":"omega8cc","id":128547,"avatar_url":"https://avatars.githubusercontent.com/u/128547?v=3","gravatar_id":"","url":"https://api.github.com/users/omega8cc","html_url":"https://github.com/omega8cc","followers_url":"https://api.github.com/users/omega8cc/followers","following_url":"https://api.github.com/users/omega8cc/following{/other_user}","gists_url":"https://api.github.com/users/omega8cc/gists{/gist_id}","starred_url":"https://api.github.com/users/omega8cc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omega8cc/subscriptions","organizations_url":"https://api.github.com/users/omega8cc/orgs","repos_url":"https://api.github.com/users/omega8cc/repos","events_url":"https://api.github.com/users/omega8cc/events{/privacy}","received_events_url":"https://api.github.com/users/omega8cc/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T10:45:23Z","updated_at":"2015-09-16T10:45:23Z","body":"This is not simple, because thanks to the PHP multi-version configuration used in BOA, we are forced to use custom, non-standard directories trees, with customized on the fly environment (paths to corresponding php.ini files) etc.\r\n\r\nWhile you could easily enable extension provided by PHP \"core\" using `_PHP_EXTRA_CONF` variable -- see: https://github.com/omega8cc/boa/blob/master/docs/cnf/barracuda.cnf#L61 it is not really possible to extend PHP with non-standard extensions which need to be compiled, like we do with Redis and a few other extensions. This would require adding such extension as an option, like we did with z `_PHP_GEOS` and `_PHP_MONGODB`. But I can't promise if we will do something like this, or when, if yes.\r\n\r\nSo the question is: do you need some non-standard PHP extension, or you just need to enable some built-in extension? If you need some built-in extension, just use the `_PHP_EXTRA_CONF` method and rebuild PHP by adding `_PHP_FORCE_REINSTALL=YES` in the `.barracuda.cnf`, and then run barracuda upgrade."}}