Trouble with oracle extension in the laragon terminal


  • | 248 points

    Hello everyone,

    I was able to successfully enable the oracle extension using the advice from the following thread.

    Re: [Tutorial] How to install PHP's Oracle OCI extension

    My web pages are able to connect to oracle via Apache no problem. When I open the laragon terminal I get a php startup warning when I try to run a php command. Is there something else I need to do to get the extension to load inside the terminal?

    0_1613419799167_laragon_terminal.png

    Thanks


  • | 248 points

    welp looks like I'm a genius ;)

    I copied the oracle dlls that were in the main laragon directory to the php directory. Not a huge fan of keeping the dlls in two places but it is no longer giving that error. I have verified that I'm able to connect both through apache and through the terminal. If anyone has a better solution, I'd love to hear it.

    0_1613434507394_laragon_ocidll.png


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.