응용개발가끔씩 윈도우 환경에서 PHP.ini에 CUBRID PHP 모듈을 정상적으로 세팅했는데도 불구하고, 아래와 같은 에러가 웹서버의 에러 로그에 찍히며 CUBRID php 모듈 로드에 실패하는 경우가 있다.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\cubrid2008_php5.2.dll' - %1\xc0\xba(\xb4\xc2) \xbf\xc3\xb9\xd9\xb8\xa5 Win32 \xc0\xc0\xbf\xeb \xc7\xc1\xb7\xce\xb1\xd7\xb7\xa5\xc0\xcc \xbe\xc6\xb4\xd5\xb4\xcf\xb4\xd9.\r\n in Unknown on line 0
이 에러 메세지는 CUBRID php 모듈이 구동하는데 필요한 cascci.dll 파일을 정상적으로 로드 하지 못하여 발생한다.
해결을 위해 다음의 절차를 따른다.
1. 웹서버에 큐브리드 2008 클라이언트가 설치 되어 있으면 설치후 재부팅한다.
2. 로드를 못할경우 PATH 환경 변수에 \CUBRID\bin 이 추가 되어 있는지 확인 후, 추가가 안되어 있으면 추가하고 재부팅한다.
3. 위의 1, 2가 안될 경우, \CUBRID\bin 디렉토리의 cascci.dll 파일을 apache(또는 다른 웹서버) 가 설치된 경로의 bin 디렉토리에 복사한다.
==========================================================================================
This issue is reported from many many users and I also have the same exprerience.
I guess PATH is not successfully configured so that CUBRID/bin directory cannot be recognized. Currently user should manually copy the cascci.dll into webserver/bin directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I encountered similar problem and after investigation i found out that the sytem used cubrid x64 with php x32 and the php process was not able to load a x64 dll . After I installed a x64 version of php all went fine. Too bad that oficial php site has no prebuild installer for x64 arch. Hope this may help .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The reason why CUBRID PHP doesn't provide x64 driver is that there is no offical x64 version PHP on windows.php.net, as enkidusan says.
If user want to use PHP x64 Windows, I'm afraid that they should build their own version PHP from PHP source codes. The CUBRID PHP provides config.w32 which can help to build CUBRID PHP along with PHP source codes. There also be a doc build-guide.html in release package to give some advice about this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the problem is that if use use x86 PHP, even if we provide x64 CUBRID PHP, they will encounter the similar loading problem. And if user build their own x64 version PHP, they can also get x64 CUBRID PHP easily.
We can give instructions about this on cubrid.org.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, please prepare the guide for this. You can include it in the release note as well and give me too. I will post on cubrid.org.
Also, thorny-road, I have a proposal. Why don't you start writing on cubrid.org, too? You can create an account, I will give your editor rights. Then you will keep updating the PHP and PDO API related contents directly. Of course, I can help you with revisions. I think this will be more efficient than as we do now: I have to ask you what you have changed, then you tell me, then I write a content or upload files. I think the current way you and me work is not efficient.
We can do the same for Ruby and Python API projects together with Python API developer. I will help you with everything.
What do you think?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is wonderful if I can have the editor rights on cubrid.org, and I have registered a account "thorny-road" on cubrid.org just now. Because the changes on cubrid.org will affect all CUBRID PHP users, I need your help to review my changes before I'm familiar with operation on cubrid.org.
I will prepare the x64 Windows guide this afternoon.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no x64 Windows test environment now, and I have to install it from the very beginning. So it may take more time to finish the x64 guide. If everything goes well, I will give the guide tomorrow.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just written a simple guide for building Windows x64 CUBRID PHP for PHP 5.3 with vc9, and I will send to you by email.
I have found a non-official Windows vc9 x64 PHP at http://www.anindya.com/, it also provides Windows vc9 x64 Apache server. To use x64 CUBRID PHP driver, the user must use 64bit Windows, CUBRID, PHP and Windows server (Apache or IIS).
Maybe we can provides the experimental vc9 x64 windows dll downloads.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
http://www.cubrid.com/zbxe/56862
응용개발가끔씩 윈도우 환경에서 PHP.ini에 CUBRID PHP 모듈을 정상적으로 세팅했는데도 불구하고, 아래와 같은 에러가 웹서버의 에러 로그에 찍히며 CUBRID php 모듈 로드에 실패하는 경우가 있다.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\php\\ext\\cubrid2008_php5.2.dll' - %1\xc0\xba(\xb4\xc2) \xbf\xc3\xb9\xd9\xb8\xa5 Win32 \xc0\xc0\xbf\xeb \xc7\xc1\xb7\xce\xb1\xd7\xb7\xa5\xc0\xcc \xbe\xc6\xb4\xd5\xb4\xcf\xb4\xd9.\r\n in Unknown on line 0
이 에러 메세지는 CUBRID php 모듈이 구동하는데 필요한 cascci.dll 파일을 정상적으로 로드 하지 못하여 발생한다.
해결을 위해 다음의 절차를 따른다.
1. 웹서버에 큐브리드 2008 클라이언트가 설치 되어 있으면 설치후 재부팅한다.
2. 로드를 못할경우 PATH 환경 변수에 \CUBRID\bin 이 추가 되어 있는지 확인 후, 추가가 안되어 있으면 추가하고 재부팅한다.
3. 위의 1, 2가 안될 경우, \CUBRID\bin 디렉토리의 cascci.dll 파일을 apache(또는 다른 웹서버) 가 설치된 경로의 bin 디렉토리에 복사한다.
==========================================================================================
This issue is reported from many many users and I also have the same exprerience.
I guess PATH is not successfully configured so that CUBRID/bin directory cannot be recognized. Currently user should manually copy the cascci.dll into webserver/bin directory.
the issue comes from not only the latest version but from all of earlier versions.
Which CUBRID version? What platform? And did they download the API library from cubrid.org?
I encountered similar problem and after investigation i found out that the sytem used cubrid x64 with php x32 and the php process was not able to load a x64 dll . After I installed a x64 version of php all went fine. Too bad that oficial php site has no prebuild installer for x64 arch. Hope this may help .
The reason why CUBRID PHP doesn't provide x64 driver is that there is no offical x64 version PHP on windows.php.net, as enkidusan says.
If user want to use PHP x64 Windows, I'm afraid that they should build their own version PHP from PHP source codes. The CUBRID PHP provides config.w32 which can help to build CUBRID PHP along with PHP source codes. There also be a doc build-guide.html in release package to give some advice about this.
What if we just build the x64 PHP API and provide the download links even if there is no official PHP x64? Does this entail many issues?
I think the problem is that if use use x86 PHP, even if we provide x64 CUBRID PHP, they will encounter the similar loading problem. And if user build their own x64 version PHP, they can also get x64 CUBRID PHP easily.
We can give instructions about this on cubrid.org.
Ok, please prepare the guide for this. You can include it in the release note as well and give me too. I will post on cubrid.org.
Also, thorny-road, I have a proposal. Why don't you start writing on cubrid.org, too? You can create an account, I will give your editor rights. Then you will keep updating the PHP and PDO API related contents directly. Of course, I can help you with revisions. I think this will be more efficient than as we do now: I have to ask you what you have changed, then you tell me, then I write a content or upload files. I think the current way you and me work is not efficient.
We can do the same for Ruby and Python API projects together with Python API developer. I will help you with everything.
What do you think?
Hi kadishmal,
It is wonderful if I can have the editor rights on cubrid.org, and I have registered a account "thorny-road" on cubrid.org just now. Because the changes on cubrid.org will affect all CUBRID PHP users, I need your help to review my changes before I'm familiar with operation on cubrid.org.
I will prepare the x64 Windows guide this afternoon.
Hi kadishmal,
There is no x64 Windows test environment now, and I have to install it from the very beginning. So it may take more time to finish the x64 guide. If everything goes well, I will give the guide tomorrow.
Hi kadishmal,
I have just written a simple guide for building Windows x64 CUBRID PHP for PHP 5.3 with vc9, and I will send to you by email.
I have found a non-official Windows vc9 x64 PHP at http://www.anindya.com/, it also provides Windows vc9 x64 Apache server. To use x64 CUBRID PHP driver, the user must use 64bit Windows, CUBRID, PHP and Windows server (Apache or IIS).
Maybe we can provides the experimental vc9 x64 windows dll downloads.