List Info

Thread: PHP Startup: Unable to load dynamic library - when using simpletest




PHP Startup: Unable to load dynamic library - when using simpletest
country flaguser name
Canada
2007-06-26 14:37:12
I just installed simpletest from simpletest.org into my
eclipse and I put the simpletest classes on my xampp php
pear directory as well. I installed everything base on the
instruction given from simpletest. Here's the following
code. 
 
<?php
require_once("simpletest/simpletest.php");
 
class test1 extends UnitTestCase {    function test_pass(){ 
  $x = 1;    $y = 2;    $total = $x + $y;   
$this->assertEqual(3,$total, "This should
pass");  }}
?>When I run the it as simpletest I didn't get any error
and I got the green bar as the result view. But on the
console it's printing out these messages. Running: echo
"addTestFile($fullpath);$test->run(new
XmlReporter()); ?>" |
"C:xamppphpphp.exe" -q -c
"C:xamppphpphp.ini" 
Process error: PHP Warning: PHP Startup: Unable to load
dynamic library 'C:xamppphpextphp_svn.dll' - The
specified module could not be found. in Unknown on line 0 I
really appreciate if anyone can help me with this. I used
the Eclipse 3.2 and XAMPP 1.6.2 (PHP 5.2.2). My php is
running in php5 too. Any idea what's wrong?
 
Your assistance are much appreciated.
 
Thanks.
____________________________________________________________
_____
Invite your mail contacts to join your friends list with
Windows Live Spaces. It's easy!
http://spaces.live.
com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx
&mkt=en-us
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Simpletest-support mailing list
Simpletest-supportlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simp
letest-support

Re: PHP Startup: Unable to load dynamic library - when using simpletest
country flaguser name
United States
2007-06-26 14:43:20
Hi Michael,

Michael Cheung wrote:
> I just installed simpletest from simpletest.org into my
eclipse and I put the simpletest classes on my xampp php
pear directory as well. I installed everything base on the
instruction given from simpletest. Here's the following
code. 
>  
> <?php
> require_once("simpletest/simpletest.php");
>  
> class test1 extends UnitTestCase {    function
test_pass(){    $x = 1;    $y = 2;    $total = $x + $y;   
$this->assertEqual(3,$total, "This should
pass");  }}
> ?>When I run the it as simpletest I didn't get any
error and I got the green bar as the result view. But on the
console it's printing out these messages. Running: echo
"addTestFile($fullpath);$test->run(new
XmlReporter()); ?>" |
"C:xamppphpphp.exe" -q -c
"C:xamppphpphp.ini" 
> Process error: PHP Warning: PHP Startup: Unable to load
dynamic library 'C:xamppphpextphp_svn.dll' - The
specified module could not be found. in Unknown on line 0 I
really appreciate if anyone can help me with this. I used
the Eclipse 3.2 and XAMPP 1.6.2 (PHP 5.2.2). My php is
running in php5 too. Any idea what's wrong?
>  
> Your assistance are much appreciated.

Can you run "php -m -c 'C:xamppphpphp.ini'"
from the command line and 
see if it loads the svn extension and/or if you get the same
error? 

My bet is that C:xamppphpphp.ini doesn't have the proper
setup for 
SVN.  I'm thinking that the extension_dir is probably off. 
That would 
be my best guess.  Of course, that assumes that this happens
with or 
without SimpleTest loaded.  If it only occurs when you run
SimpleTest, 
then there might be a larger issue at play here, but
nothing's coming to 
mind that would cause it.

-Travis

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Simpletest-support mailing list
Simpletest-supportlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simp
letest-support

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )