Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > PHP > PHP Forum > มีวิธีไหนที่ทำให้ Windows 64 bits สามารถเรียกใช้ oci8 ไว้ติดต่อ PHP กับ Oracle ได้มั่งครับ ??



 

มีวิธีไหนที่ทำให้ Windows 64 bits สามารถเรียกใช้ oci8 ไว้ติดต่อ PHP กับ Oracle ได้มั่งครับ ??

 



Topic : 068265



โพสกระทู้ ( 11 )
บทความ ( 0 )



สถานะออฟไลน์




คือผมเจอปัญหาที่ว่า Windows 64 bits ไม่สามารถเรียกใช้ oci8 ได้เหมือนกับ Windows 32 bits ,,, ผมเลยอยากทราบว่าพอจะมีวิธีไหนบ้างที่สามารถทำให้ Windows 64 bits สามารถเรียก oci8 มาใช้ได้มั่งครับ ...



Tag : PHP, Oracle, HTML/CSS







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2011-10-20 16:28:07 By : prince31 View : 2669 Reply : 16
 

 

No. 1



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

คุณได้ลองทำตามในบทความแล้วหรือยังครับ ว่ามัติดตรงไหนครับ รู้สึก 64 bit ให้ Copy ไปไว้ที่

Go to : PHP Oracle Config OCI8 Support

Code
C:\Windows\SysWOW64\







แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-20 16:40:23 By : webmaster
 


 

No. 2

Guest


ผมใช้ Mapguide Opensource นะครับ ,,, มันจะใช้ได้มั้ยอ่ะครับ ??
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-20 22:16:12 By : nueng
 

 

No. 3

Guest


แล้วก็เป็น Oracle 11g ด้วยนะครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-20 22:20:29 By : nueng
 


 

No. 4



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

ลองดูก่อนครับ ตาม Link ที่ได้ส่งให้ครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 06:38:12 By : webmaster
 


 

No. 5

Guest


ลองแล้วครับ แต่ก็ยังใช้ oci8 ไม่ได้อยู่ดี

ใน phpinfo ไม่มีฟังก์ชัน oci8 ครับผม !!!
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 10:25:31 By : nueng
 


 

No. 6



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

มันมี error log ว่า error ครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 11:01:02 By : webmaster
 


 

No. 7



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

หมายถึง error log ของ apache ในโฟเดอร์

Code
C:\AppServ\Apache2.2\logs\error.log

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 11:01:56 By : webmaster
 


 

No. 8

Guest


มันบอกว่า PHP Warning : PHP Startup: Unable to load dynamic library 'C:\Program Files\Osgeo\Mapguide\Web\Php\ext\php_oci8.dll' - %1 is not a valid Win32 application. in Unknown on line 0 ครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 11:32:30 By : nueng
 


 

No. 9

Guest


ขึ้นแบบนี้ครับ

[Fri Oct 21 09:08:06 2011] [notice] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Fri Oct 21 09:08:06 2011] [notice] Server built: Mar 12 2010 19:22:22
[Fri Oct 21 09:08:06 2011] [notice] Parent: Created child process 3176
[Fri Oct 21 09:08:06 2011] [notice] Disabled use of AcceptEx() WinSock2 API
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\OSGeo\\MapGuide\\Web\\Php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
[Fri Oct 21 09:08:07 2011] [notice] Child 3176: Child process is running
[Fri Oct 21 09:08:07 2011] [notice] Child 3176: Acquired the start mutex.
[Fri Oct 21 09:08:07 2011] [notice] Child 3176: Starting 50 worker threads.
[Fri Oct 21 09:08:07 2011] [notice] Child 3176: Listening on port 8008.
[Fri Oct 21 10:21:36 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 21 10:21:36 2011] [notice] Child 3176: Exit event signaled. Child process is ending.
[Fri Oct 21 10:21:37 2011] [notice] Child 3176: Released the start mutex
[Fri Oct 21 10:21:38 2011] [notice] Child 3176: All worker threads have exited.
[Fri Oct 21 10:21:38 2011] [notice] Child 3176: Child process is exiting
[Fri Oct 21 10:21:38 2011] [notice] Parent: Child process exited successfully.
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\OSGeo\\MapGuide\\Web\\Php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
[Fri Oct 21 10:21:40 2011] [notice] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Fri Oct 21 10:21:40 2011] [notice] Server built: Mar 12 2010 19:22:22
[Fri Oct 21 10:21:40 2011] [notice] Parent: Created child process 6268
[Fri Oct 21 10:21:40 2011] [notice] Disabled use of AcceptEx() WinSock2 API
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\OSGeo\\MapGuide\\Web\\Php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
[Fri Oct 21 10:21:41 2011] [notice] Child 6268: Child process is running
[Fri Oct 21 10:21:41 2011] [notice] Child 6268: Acquired the start mutex.
[Fri Oct 21 10:21:41 2011] [notice] Child 6268: Starting 50 worker threads.
[Fri Oct 21 10:21:41 2011] [notice] Child 6268: Listening on port 8008.
[Fri Oct 21 10:22:30 2011] [error] [client 127.0.0.1] PHP Warning: phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Krasnoyarsk' for '7.0/no DST' instead in C:\\Program Files\\OSGeo\\MapGuide\\Web\\www\\phpinfo.php on line 2
[Fri Oct 21 10:23:48 2011] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 21 10:23:48 2011] [notice] Child 6268: Exit event signaled. Child process is ending.
[Fri Oct 21 10:23:49 2011] [notice] Child 6268: Released the start mutex
[Fri Oct 21 10:23:49 2011] [notice] Child 6268: All worker threads have exited.
[Fri Oct 21 10:23:49 2011] [notice] Child 6268: Child process is exiting
[Fri Oct 21 10:23:49 2011] [notice] Parent: Child process exited successfully.
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\OSGeo\\MapGuide\\Web\\Php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
[Fri Oct 21 10:23:50 2011] [notice] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Fri Oct 21 10:23:50 2011] [notice] Server built: Mar 12 2010 19:22:22
[Fri Oct 21 10:23:50 2011] [notice] Parent: Created child process 4216
[Fri Oct 21 10:23:50 2011] [notice] Disabled use of AcceptEx() WinSock2 API
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\OSGeo\\MapGuide\\Web\\Php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
[Fri Oct 21 10:23:50 2011] [notice] Child 4216: Child process is running
[Fri Oct 21 10:23:50 2011] [notice] Child 4216: Acquired the start mutex.
[Fri Oct 21 10:23:50 2011] [notice] Child 4216: Starting 50 worker threads.
[Fri Oct 21 10:23:50 2011] [notice] Child 4216: Listening on port 8008.
[Fri Oct 21 10:23:55 2011] [error] [client 127.0.0.1] PHP Warning: phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Krasnoyarsk' for '7.0/no DST' instead in C:\\Program Files\\OSGeo\\MapGuide\\Web\\www\\phpinfo.php on line 2
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 11:43:51 By : nueng
 


 

No. 10



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

Quote:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\OSGeo\\MapGuide\\Web\\Php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0


ลแงเช็คเรื่อง path ของ extension ครับ ให้ copy dll ไว้ตามที่บอกด้วยครับ ใน Windows\SysWow....
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 11:49:49 By : webmaster
 


 

No. 11

Guest


ตอบความคิดเห็นที่ : 10 เขียนโดย : webmaster เมื่อวันที่ 2011-10-21 11:49:49
รายละเอียดของการตอบ ::
... ลองแล้วครับผม แต่ก็ยังไม่ได้ .......

แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 11:51:35 By : nueng
 


 

No. 12



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

อยากช่วยน่ะครับ แต่ผมไม่มีเครื่อง 64 bits นี่ซิ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 13:06:52 By : webmaster
 


 

No. 13



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

อ่านจากของต่างประเทศก็ทำเช่นเดียวกันครับ

http://blogs.oracle.com/opal/entry/using_php_oci8_with_32-bit_php
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 13:12:55 By : webmaster
 


 

No. 14



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

เพิ่งเห็นว่ามันมี Instant Client Downloads for Microsoft Windows (x64) ด้วยครับ

http://www.oracle.com/technetwork/topics/winx64soft-089540.html

ให้ดาวน์โหลดตัว

Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
instantclient-basic-windows.x64-11.2.0.2.0.zip (53,669,935 bytes)
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 13:24:06 By : webmaster
 


 

No. 15

Guest


ขอบคุณมากครับผม ,,, แต่ไซด์งานที่ผมจะต้องไปทำมันเป็น oracle 11g ตัวเต็มหมดเลย ,,, จะไปเปลี่ยนให้เค้าใช้เป็น Client ก็ไม่ได้
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 13:34:47 By : nueng
 


 

No. 16



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

สมาชิกที่ใส่เสื้อไทยครีเอท

สถานะออฟไลน์
Twitter Facebook

มันแค่ .dll ครับ เค้าก็บอกไว้ว่ามันคือ " Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications " ไม่ใช่ตัวโปรแกรมครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-10-21 13:58:32 By : webmaster
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : มีวิธีไหนที่ทำให้ Windows 64 bits สามารถเรียกใช้ oci8 ไว้ติดต่อ PHP กับ Oracle ได้มั่งครับ ??
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 02
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่