Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad script file for Ubuntu --with-oracle #414

Open
AlphaGeek509 opened this issue Apr 15, 2021 · 0 comments
Open

Bad script file for Ubuntu --with-oracle #414

AlphaGeek509 opened this issue Apr 15, 2021 · 0 comments

Comments

@AlphaGeek509
Copy link

There are some documentation mistakes that prevent Oracle from being properly installed.

  1. The readme file expelectly calls out `instantclient_19_5'. Oracle doesn't offer version 19.5 of the basic and sdk instantclients respectfully.

... README
After navigating to the Oracle website you'll want to download the basic and sdk instant client files:
instantclient-basic-linux.x64-18.5.0.0.0dbru.zip
instantclient-sdk-linux.x64-18.5.0.0.0dbru.zip
...

I corrected the script by modifying line 416 from
echo "/opt/oracle/instantclient_19_5" >/etc/ld.so.conf.d/oracle-instantclient.conf
to
echo "/opt/oracle/instantclient_18_5" >/etc/ld.so.conf.d/oracle-instantclient.conf

  1. Pecl install is invalid for PHP 7. According to their website to download and install OCI8 for PHP you have to use
    pecl install oci8-2.2.0
    The script on line 418 needs to be changed to since DreamFactory still uses PHP 7. NOTE - I did change the instantclient reference to 18_5. That matches the aforementioned note.
    printf "instantclient,/opt/oracle/instantclient_18_5\n" | pecl install oci8-2.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant