The localhost page isn’t working

12,171

first of all in IIS rub your simple PHP page

if it run successfully then run this code

<?php
phpinfo();
?> 

if you are not able to see oci8 driver in this page then search Oracle Instant Client for php http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html

also copy same DLL in system32 and system

then again restart IIS and then see in phpinfo() if oci8 driver display then

run this connection code

https://stackoverflow.com/a/36057262/2125924

Share:
12,171
MikePappa
Author by

MikePappa

I am web developer

Updated on June 04, 2022

Comments

  • MikePappa
    MikePappa almost 2 years

    I am using IIS 7 with oci8 with php and when I am writing

    $connection= oci_connect('username', 'password', 'localhost/XE');
    

    and its showing me error

    The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500

    help me