# "Call to undefined function oci\_connect()" error on Mac

**URL:** <https://www.phphelp.com/t/call-to-undefined-function-oci-connect-error-on-mac/32355>\
**Category:** General Database (Oracle, SQL Server, etc)\
**Created:** [August 11, 2020, 4:10am UTC](https://www.phphelp.com/t/call-to-undefined-function-oci-connect-error-on-mac/32355 "2020-08-11T04:10:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coder0001](https://www.phphelp.com/letter_avatar_proxy/v4/letter/c/e68b1a/32.png) [@coder0001](https://www.phphelp.com/u/coder0001)\
**Post date:** [August 11, 2020, 4:10am UTC](https://www.phphelp.com/t/call-to-undefined-function-oci-connect-error-on-mac/32355/1 "2020-08-11T04:10:05Z")

</div>

Hello everyone, I am developing a website that connects to an Oracle Database with php. In order to achieve this, I have tried adding an oci\_connect() extension to php.ini file stored in MAMP in order to run it with php. I have tried everything in the php.ini: added the extensions, uncommented some of the OCI8 commands but nothing worked. I have been trying to solve this problem for a couple of weeks but every time I try doing something, nothing works out. If there are any Mac users here who were able to solve this problem, I will be very pleased if you could help me out. Thanks a lot!

 ![11](https://www.phphelp.com/uploads/default/original/2X/e/ee296ac92135dcb72a0a9490c079bf7ed3ca5889.jpeg)
