NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Error about incompatible DLL when starting debug


Joined: 02 Feb 2007
Posts: 2
Reply with quote
Hi,

first I have to admit that I'm just starting with php, so maybe the fault is on my side.

(1) I installed php 5.2.0 (isapi) on my german WinXP-SP2 (incl. all latest patches by WSUS). After my first week of fiddling arround with php scripts in a normal text editor I realized that I need an IDE to do any serious work. So I gave phped a try and installed in my PC. I also think I made all changes to php.ini to use the phped debugger.

phpinfo shows:
php api: 20041225
php Extension: 20060613
Zend Extension: 220060519
further down it shows: ... with DBG v3.1.8...

under dbg it shows:
version: 3.1.8

So I think my php and phped debug setup should be ok

(2) I load a simple php script and try to start it within phped. I click on the green arrow to run it. The error message is (translated from german):
php-cgi.exe - entry point not found
xmlXPathContextSetCache not found in DLL php5ts.dll

(3) I checked with good old DEPENDS.EXE that there actually is such a function in my php5ts (in directory C:\Programme\php). Using MS-Info from my Office 2003 installation I can see that php5ts is actually loaded from the php directory from my phped installation.

(4) Is this a problem, that I installed php to use ISAPI, but phped wants to go the CGI way? ALso I'm a bit confused, that when I run the php script from within phped I'm using different DLL's than when I run the script through IE6 on my local IIS.

Maybe someone can help me to sort this out.
Thanks,
Stefan
View user's profileFind all posts by stefanmSend private message


Joined: 02 Feb 2007
Posts: 2
Reply with quote
Found it myself:

(1) phped installer comes *not* withphp 5.2.0 (as claimed on the web site) but with 5.1.6.

(2) I copied all my php 5.2.0 files into phped's php directory and - bingo - now it works!

Stefan

P.S.: IIRC they only claim that phped is 5.2.0 compatible.
View user's profileFind all posts by stefanmSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Hi Stefan, thank you fro your post, we are happy that you worked it out. One clarification:
PhpED is indeed PHP 5.2 compatible, even though PhpED installer doesn't instal PHP 5.2 - 5.2 is too new to be included in the distribution, peple would be screaming if we put such version in the installer. PHP that comes with PhpED is for local debugging anyway, 5.2 compatibility is in the fact that PhpED debugger (dbg) is indeed 5.2 compatible and can be installed on the systems running PHP 5.2 for the remote debugging. You didn't need to copy PHP 5.2 under PhpED - you could have installed dbg module compatible with 5.2 to your IIS and debuged right there, in the native environment - this is one of the strength of PhpED.
Our FAQ post on remote debugging is here: howto-set-project-mapping-t2135.html
Remote doesn't mean that it is on a different machnie, it just means using the system outside of PhpED

Hope it helps.
View user's profileFind all posts by yfaktorSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
P.S.: IIRC they only claim that phped is 5.2.0 compatible

Not only, we also provide php5.2.0 as a separated package:
http://www.nusphere.com/download.php.ide.htm

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Error about incompatible DLL when starting debug
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic