Sunday, August 2, 2009

When I load php I get this error: The application failed to start because php_mbstring.dll was not found.?

The application failed to start because php_mbstring.dll was not found. Re-installing the application may fix this.





The above is the full error message. After clicking OK it repeats this message for the following:





php_mbstring.dll


OCI.dll


sqlite3.dll


aspell-15.dll


libcs.dll


DB2ClI.dll


isqlt09a.dll


iilibaqi.dll


libSQLDBC_C.dll


libmonetra.dll


lcrzo.dll


OCIW32.dll


DB2CLI.dll


ICLIT09B.dll


intl3_svn.dll





I'm new to php and my manual install didn't work it just flashed a DOS screen up for half a second.

When I load php I get this error: The application failed to start because php_mbstring.dll was not found.?
The files you listed are missing, try to use some of a lot of tutorial across the internet to install and configure PHP, use Google
Reply:The chosen best answer is a wrong answer. The problem is that unnecesary extensions have been installed; For a simple PHP MYSQL server installing the msql, mysql, and Multi-Byte extensions should do it. Report It

Reply:I see two problems:


1) php extentions such as php_mbstring.dll should be copied into windows/system32 folder


2) It seems that you have a lot of php extention enabled but actually you don't have requierd software, e.g. OCI.dll is a part of Oracle database software, aspell-15.dll is spell checker and so on. In order to disable this extentions you should edit php.ini


- Open php.ini (it could be either in the dir where PHP is installed or in 'windows' )


- look for lines starting with extension=php_.......dll


then comment them with ';'


PHP will work without any extension at all.
Reply:Uninstall the program and re-install it or if it gives the option to repair it then do that.
Reply:I wrestled with this and I'm finally down to one .dll. What I did to fix the other ones was two things:





1) I went into the php.ini file (use Notepad to edit. The .ini should be under your PHP directory) and put a semi-colon ( ;) in front of the .dlls that were erroring. These .dlls are part of the extensions and can safely be edited out as you don't need them to run PHP per all the searches I've done. You can do a search (ctl/f) to locate the string in the .ini.





Then, 2) I re-ran the php-5.2.3-win32-installer.msi installer (this will only work if you are using Windows) and de-selected the items, like db2, that I didn't need anyway, since I am only using MySql and IIS.





One more thought I had on your problem was that the directory wasn't pointing correctly to your .dll file. You could try going to your PHP directory, finding your "ext" file, and copy/pasting all your .dlls directly under your PHP library.





The things I did got rid of everything except for the lcrzo.dll error and I'm stuck on that one. From what I can tell, I can only build the lcrzo through using C++. That is over my head and I don't know why the program is insisting on using it. If I knew where it was being called from, I'd probably rem it out also.
Reply:I too am having this problem. THE FOLLOWING SOLUTIONS DID NOT WORK:





-Reinstalling/Repairing


-Manually Searching all over the net for the software the actually contain these resource files


-Modifying the INI file, as much there are some references in the errors not even listed. (When answering questions please double check to diagnose the problem.)





So, anyone have each and every file currently updated and is listed to solve this problem?





And yes, Windows Server would probably have all the files pre-installed but for some of the people out there who are just testing php scripts on a normal XP or some Vista machines these files are not found.





The only solution I found is my current one, uploading to a php /SQLSSI site to test the scripts. This, is extremely time consuming.
Reply:maybe the directory for the extensions is commented out.


Try searching for:





;Directory in which the loadable extensions (modules) reside.


extension_dir = "./"





The extension_dir should not be commented out. plus, be sure that the dll's for the extensions are really there. I think the default folder is the extensions folder inside the folder where you installed PHP.


No comments:

Post a Comment