简体   繁体   English

如何在WAMP服务器中启用SDO

[英]How to enable SDO in WAMP Server

I want to enable SDO to use SDO_DAS_XML but I'm getting the error "Class 'SDO_DAS_XML' not found". 我想启用SDO以使用SDO_DAS_XML,但是出现错误“找不到类'SDO_DAS_XML'”。 I am using WAMP Server and dont see any setting for it under PHP Settings or PHP Extensions. 我正在使用WAMP Server,在PHP设置或PHP扩展下看不到任何设置。 Please help 请帮忙

This extension is pretty much abandoned, so I wouldn't recommend using it But, 这个扩展名几乎被放弃了,所以我不建议您使用它,但是,

First install the SDO package. 首先安装SDO软件包。

for Linux: 对于Linux:

see this dosc for install and edit php.ini : 请参阅此dosc以安装和编辑php.ini

extension=sdo.so
extension=sdo_das_xml.so

For Windows: 对于Windows:

you need to download sdo.dll file extansion and install with this docs and edit php.ini : 您需要下载 sdo.dll文件sdo.dll并与此文档一起安装并编辑php.ini

extension=php_sdo.dll
extension=php_sdo_das_xml.dll

You will need the SDO package. 您将需要SDO软件包。 Unfortunately this package is no longer being maintained and won't compile on Linux and Windows. 不幸的是,此软件包已不再维护,并且无法在Linux和Windows上编译。

You can't just load the existing extension of an earlier version in a newer PHP version (which comes with WampServer). 您不能只在较新的PHP版本(WampServer随附)中加载较早版本的现有扩展。

The latest version of WampServer i could find with the extension php_sdo.dll included is version 5.1.7.4. 我可以找到带有扩展名php_sdo.dll的WampServer的最新版本是5.1.7.4。 You can find it here with the outdated WampServer downloads . 您可以在这里找到过时的WampServer下载 You can use the top one (WAMP5 1.7.4). 您可以使用前一个(WAMP5 1.7.4)。

If you use that version of WampServer you can use the menu of WampServer to enable php_sdo in the PHP-extensions. 如果使用该版本的WampServer,则可以使用WampServer菜单在PHP扩展中启用php_sdo。 (You will need to uninstall your current WampServer and its services) (您将需要卸载当前的WampServer及其服务)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM