# InstantRails running problem

**URL:** <https://www.ruby-forum.com/t/instantrails-running-problem/120603>\
**Category:** Rails\
**Created:** [November 19, 2007, 4:22am UTC](https://www.ruby-forum.com/t/instantrails-running-problem/120603 "2007-11-19T04:22:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![syed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@syed](https://www.ruby-forum.com/u/syed)\
**Post date:** [November 19, 2007, 4:22am UTC](https://www.ruby-forum.com/t/instantrails-running-problem/120603/1 "2007-11-19T04:22:18Z")

</div>

My Desktop has MySql and Apache already installed and then I installed  
InstantRails on it without any trouble. Incase of my laptop I have both  
the softwares already installed and when I install InstantRails 1.7 and  
try to run it gives me all sorts of errors.

Unknown():null():unable to initialize module  
Module comiled with module API=20060613, debug=0, thread-safety=1  
PHP compiled with module API=20020423, debug=0, thread-safety=1  
These options need to match

Apache.exe -Unable to LocateDLL  
The dynamic link library php\_mbstring.dll could not be found in the  
specified path

unknown():Unable to load dynamic library ‘D:\PHP\ext\php\_exif.dll’ - The  
specified module could not be found

I get the same errors with InstantRails 1.6

I would really appreciate any pointers.

Thank you

Syed

---

<div class="post-metadata">

**Author:** ![syed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@syed](https://www.ruby-forum.com/u/syed)\
**Post date:** [November 19, 2007, 9:41am UTC](https://www.ruby-forum.com/t/instantrails-running-problem/120603/2 "2007-11-19T09:41:48Z")

</div>

Syed R. wrote:

> My Desktop has MySql and Apache already installed and then I installed  
> InstantRails on it without any trouble. Incase of my laptop I have both  
> the softwares already installed and when I install InstantRails 1.7 and  
> try to run it gives me all sorts of errors.
> 
> Unknown():null():unable to initialize module  
> Module comiled with module API=20060613, debug=0, thread-safety=1  
> PHP compiled with module API=20020423, debug=0, thread-safety=1  
> These options need to match
> 
> Apache.exe -Unable to LocateDLL  
> The dynamic link library php\_mbstring.dll could not be found in the  
> specified path
> 
> unknown():Unable to load dynamic library ‘D:\PHP\ext\php\_exif.dll’ - The  
> specified module could not be found
> 
> I get the same errors with InstantRails 1.6
> 
> I would really appreciate any pointers.
> 
> Thank you
> 
> Syed

I don’t know the answer to your problem, Syed, but both Apache and PHP  
aren’t really necessary for InstantRails. They run only to perform  
PHPMyAdmin.

Like you I already had PHP and Apache and MySQL installed separately on  
my system so I just used the Rails and Rails\_Apps directly from Instant  
Rails and didn’t bother with the Instant Rails EXE or anything itself.

Once you’ve unzipped it you’ve effectively installed everything (barring  
adjusting a few configuration files I think) so you can just go about  
coding.

I installed the Aptana RadRails thing to work with, also.
