我正在尝试在RHEL5盒子上安装freetds和php-mssql.我已成功完成(似乎是)所有事情.但是,当PHP尝试加载模块时,我收到以下错误:
PHP Warning: PHP Startup: mssql: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
Run Code Online (Sandbox Code Playgroud)
我一直在努力弄清楚为什么他们有不同的价值,但没有成功.
在最新的尝试中,我下载了我正在运行的版本的php源码(php-5.3.8),进入了ext/mssql文件夹并运行了phpize,configure,make,make install.
我验证了mssql.so文件在相应的文件夹中,并且该php正在尝试加载它.
phpize -v
Configuring for:
PHP Api Version: 20050922
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Run Code Online (Sandbox Code Playgroud) 我创建了一个运行SSIS包的作业.我有一段时间的包安全问题,但设法正确设置包密码,错误消失.这个下一个错误昨晚没有发生,但今天我似乎无法摆脱它.如果我通过BIDS独立运行包或连接到我的Integration Services,它会成功运行.
任何想法当它作为一个作业运行时会导致这个错误,但不是作为一个包运行时?
Date 7/7/2010 2:10:59 PM
Log Job History (Identipass Data Transfer)
Step ID 1
Server BETTY
Job Name Identipass Data Transfer
Step Name SSIS Transfer Data
Duration 00:00:02
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0
Message
Executed as user: AD\theusername.
Microsoft (R) SQL Server Execute Package Utility
Version 10.0.2531.0 for 64-bit
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
Started: 2:10:59 PM
Error: 2010-07-07 14:10:59.44
Code: 0xC0047062
Source: …
Run Code Online (Sandbox Code Playgroud)