Oracle database connection with PHP using XAMPP
HTML-код
- Опубликовано: 27 сен 2024
- This video describes how Oracle 12c database can be connected with PHP usin XAMPP.
Pre-requisite:
- XAMPP installation completed
There are roughly 7 steps to be done in order to get Oracle and PHP connected. The video goes through it sequentially
Instant Client Package Download Link :
www.oracle.com/...
Thank you so much sister for helping me to connect through oci. I wish your profession get more profitable day by day. thank you so much
can anyone suggest me how to connect oracle with php 7.4.22 and i have vc15 installer installed but i'm not able to find the instant client set up with vc15.
Worked for me in a easy way, Thank you
Fast & Easy Steps. Thanks
i love it, its the only one thats works for me
Thank you! You saved me!
PDO Connection(Code: $bd = new PDO('oci:dbname='.$tns, USER, PASS);) is not working for Oracle 19c and PHP 8. Says ''Çould not find the driver" . Can you suggest me what Can I do to get it working?
When i uncomment the extension then it cause error in my apache.
I tried xamp64 bit and I follow the steps but it didn't work
It worked for me.
i have oracle 18c, i just changed the extension to 18c where 12c was written, will it work?
Did it work using your method?
@@leonmuzire8017 i wasnt able to work with 12c due to some installation issues, so i switched to 11g and following a tutorial on youtube i was able to work with it.
@@muhammadhateem3090 which version of xampp and php did you use?
@@leonmuzire8017 xampp version:7.1.32
php version:7.1.32
@@leonmuzire8017 php info xampp architecture : x64
downlaoded isntant client x64 19.000etc.
paste the extracted content in C drive and set system environment variable Path to instant client address.(TNS_ADMIN(new) & New Value for system Path variable(address instant client in C).
check your php version in xampp and then download oci php file: pecl.php.net/package/oci8/2.2.0/windows.
extract them and paste all the .dll and .pdb files in C:\xampp\php\ext
oci is the actual thing.
then try to run the php script to check whether connection is ok or not.
i haved copied Dll files its not working
Darling will you please tell me how to do on Linux server?
Thanks
Great!!
can someone send vc15 instant client link or does it not exist? i can only find vc14
Same problem
@@antaheen007 How did you solve it i have a VC15 too?
@leena prakash How did you solve it i have a VC15 too?
Would you please send me a link to download vc15 instant client
you can do it with vc14 , do the same steps with vc14
Excellent, didnt find the vc15 above folders but got it to work by latest version
Te amo te amo, siempre seras mi casita
thanks its works
It worked for me. Thanks :)