How web servers work with the Oracle database

I write this based on my personal experience when trying to make a connection to an Oracle database through php .. but it always appear error messages etc. ..

Assuming I use the appserver for windows

intrigued with this ,finally I'am try to find a solution in the following way

   
1. Download Oracle Instant Client in this link, if done extract the file search and select multiple files that oraociei10.dll, orannzsbb10.dll, oci.dll. Copy the file to c: \ windows \ system32 \
   
2. Change Registry NLS_LANG in a way go to Start -> Run -> Regedit -> HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE -> NLS_LANG, input or Delete Null value .. like the picture below

   
3. On his php_oci8.dll extension on a web server php.ini settings file, by Start -> Run -> php.ini, find and remove (;) to activate the file extension, such as the following picture:
 
   
4. Restart your web server
   
5. Then check php_info (); you, through the following picture you see the following description
 


ok you are ready to work with Oracle database ...^_^

    No comments: