Php_oci8_11g dll 1 is not a valid win32 application
Here is a working solution:
If you get
Version 11G:
Version 12C: https://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle12c-windows-3633015.html Download either
Screenshot of phpinfo for TS version Screenshot of phpinfo for NTS version If in the value of If in the value of
For PHP version 5.3, 5.4, 5.5 and 5.6, the latest version is For PHP 7.0, it's version For PHP 7.1, 7.2, 7.3, it's version Then, proceed to download the archive
corresponding to your PHP version and architecture: if you use PHP 7.2 x86 TS, download the according file:
If you installed Oracle 11g, you need to add the folowing line to your
If you installed Oracle 12c, you need to add the folowing
line to your
NOTE: Only one of the 3 available PCP OCI8 extensions can be enabled at the same time. If you have multiple lines starting with [ This topic has been asked several times, but every solution is not working in my machine. I am trying to connect windows 7 with a 10G oracle dabatase, but the oci extension is not loaded. Here some facts:
Troubleshooting
What other thing am I missing? Thank you in advance , After months I found the solution. Consider the following infrastructure:
Take close attention when downloading Oracle Instant Client:
Both details are very important. Once I meet both requirements the error has gone I now I am able to connect to Oracle via PHP successfully , Here is a working solution:
If you get
Version 11G:
Version 12C: https://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle12c-windows-3633015.html Download either
Screenshot of phpinfo for TS version Screenshot of phpinfo for NTS version If in the value of If in the value of
For PHP version 5.3, 5.4, 5.5 and 5.6, the latest version is For PHP 7.0, it’s version For PHP 7.1, 7.2, 7.3, it’s version Then,
proceed to download the archive corresponding to your PHP version and architecture: if you use PHP 7.2 x86 TS, download the according file:
If you installed Oracle 11g, you need to add the folowing line to your
If you installed Oracle 12c,
you need to add the folowing line to your
NOTE: Only one of the 3 available PCP OCI8 extensions can be enabled at the same time. If you have multiple lines starting with ] |