Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Installing Apache, Mysql, Phpmyadmin Locally, Solving the "php_mbstring.dll missing"
ongnoai
post Dec 13 2005, 12:07 PM
Post #1


Advanced Member
*******

Group: Members
Posts: 108
Joined: 24-November 05
From: Switzerland
Member No.: 14,836



Since Trap17's CP provide the individual site's owner with goodies like MySql and PhpMyAdmin, chances are some will want to make use of them.

Well, it's fine enough to get that on one's host (Gee! Thanks a lot, Trap17...) Knowing how the usual geek react, it might be expected that most people considering to make use of a database on their site will want to do most of the tedious job of developing and testing on their own local system before sending the wrapped-up result on their domain/subdomain.

This involves four basic steps (sorry for the compuwizs, this tutorial is merely for beginners, and beginners on Windows 2000/XP at that):
1. Install a local Apache server,
2. Install a MySql local server,
3. Install locally PhpMyAdmin,
4. Install Php.

Now, there is a way to do the *damn* 4-steps thing in one shot, and that's to use XAMPP, which you will find at:

http://www.apachefriends.org/en/xampp-windows.html

As far as I know, XAMPP does the job like a charm, but I didn't insist on going this way, so I can't tell for sure.

I'm among those pig-geaded guys willing to keep control over things (as I'm sure many Trap17 users also are), so I'd rather do the 4 steps myself just to make sure I understand what the *Hell* I'm doing. Those interested will find excellent pages about the whole installing process starting at :

http://www.devarticles.com/c/a/Apache/Inst...-under-Windows/

Those growing impatient can find something even shorter at:

http://www.sematopia.com (be patient, their server is sometimes a bit slow, it's near the end of the page you get).

Now, this tutorial is meant to address what you get after the above installation process is completed. If you proceeded according to the guidelines reported above, you should have a php.ini files located in your c:\Program Files\Apache Group\Apache2\directory. Wait! There comes the catch if you installed a Php 4.3.9 or 4.4.1 version (I dunno if this happens with Php V 5+).

Testing the whole installation implies you open a page within your favorite browser and then type http://localhost/phpMyAdmin. Careful with the typing, browsers are very much case-oriented. That's precisely when you get a silly message telling you that it can't locate a "php_mbstring.dll" which is (according to what I know) some stuff related with displaying oriental characters using the Utf-8 coding. And unfortunately Utf-8 is the most widely accepted coding among developers and DB developments these days.

If you don't want to spend hours on the Web trying to get a rather elusive info, here's what I suggest:

1. Open the php.ini with your favorite editor (notepad, Wordpad, whatever), c:\Program Files\Apache Group\Apache2\php.ini and find the line:
extension_dir = "./" (there's only one line of this kind), and replace it with :
extension_dir = "c:\php\extensions" exactly as written here,

1.1 optionally. You might also want to uncomment (erasing the semicolon at the beginning of the line) the loading of php_mbstring.dll. For that, you have to fetch the line ;extension=php_mbstring.dll (windows extensions, near the end of the php.ini script) and uncomment it in the form extension=php_mbstring.dll. I'm not absolutely sure it's really necessary though, since I saw no influence of that on my PhpMyAdmin local testing and using.

2. Stop the Apache server (Programs>Apache HTTP Server 2.0.52>Control Apache Server>Stop).

3. Start again the Apache server (Programs>Apache HTTP Server 2.0.52>Control Apache Server>Start),

4. Try again to get to http://localhost/phpMyAdmin. It should work without an error message, now.

Good luck cool.gif
Go to the top of the page
 
+Quote Post
Inspiron
post Dec 13 2005, 12:55 PM
Post #2


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,205
Joined: 25-March 05
Member No.: 4,883



Wasted... you should make this post to the Tutorial section..
Very good one for people trying to make a server out from their computer..
Go to the top of the page
 
+Quote Post
iGuest
post Jan 23 2008, 01:50 AM
Post #3


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



Replying to ongnoai

I know this is an old post, but it dolveda problem for me!

Thank you!

-reply by Steve Adams
Go to the top of the page
 
+Quote Post
iGuest
post Apr 13 2008, 10:28 AM
Post #4


Trap Double Mocha Member
***************

Group: Members
Posts: 2,360
Joined: 21-September 07
Member No.: 50,369



Hi, please help for this error!!!!!!!!
Installing Apache, Mysql, Phpmyadmin Locally

Could not connect to the database. Connector returned number: Unable to connect to the database:Could not connect to MySQL

This error occur when iam installing joomla

-reply by anil
Go to the top of the page
 
+Quote Post
bluechip
post May 6 2008, 02:15 PM
Post #5


Newbie [Level 1]
*

Group: [HOSTED]
Posts: 24
Joined: 6-May 08
Member No.: 61,795



Yeah I also would like to agree with- what was the name again- who said this post was supposed to be posted under Tutorials. It is quite helpful and it's so generous of u to sit down and write such a long post so that some of us dummies can understand a subject keep up the good work.
Go to the top of the page
 
+Quote Post
dave2win
post May 7 2008, 12:40 PM
Post #6


Member [Level 1]
****

Group: [HOSTED]
Posts: 65
Joined: 7-April 08
From: Toronto, Canada
Member No.: 60,502



You guys can use WAMP or WAMPP.

Both are basically same but the only difference is that WAMP has no Perl where as WAMPP has got Perl Support.

WAMPP is a variant of XAMPP which is available at Apachefriends.

They have WAMPP listed in their Sourceforge Repository.

But for newbies I would personally recommend WAMP as it is much much simpler & runs almost instantly & very fluently on any Win 32 machine. I don't know about its Linux Counterpart but I hope Wine will do a pretty good job.

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Table Duplication(5)
  2. How To Crate Mysql Database?(7)
  3. Is It Possible To Access The Mysql Remotely?(10)
  4. Phpbb2.17 Mysql Problems(4)
  5. Installing Phpbb(0)
  6. Having Trouble Installing Smf(3)
  7. Need Help Installing Smf(5)
  8. Installing Phpbb Forum On My Site?(5)
  9. Installing The Simple User System.(6)
  10. Installing Easymod(3)
  11. Installing Ipb(1)
  12. Does Trap Use An Apache Server [resolved](3)
  13. Question About Adding Message Board To Site(5)
  14. Having Problems With Installing Ipb 2.3.x(2)
  15. Installing Joomla And Shell Question(0)
  1. Installing Ffmpeg(7)
  2. Installing Theme On Smf Forum(4)
  3. Changes In Phpmyadmin(0)
  4. Question About The Upgrade And The Mysql Usage ?(3)
  5. Successfully Installing Joomla [resolved](2)
  6. Installing Custom Fonts...(5)
  7. Phpmyadmin Error(4)
  8. Phpmyadmin Error [resolved](7)
  9. Phpmyadmin(6)
  10. Remote Access Mysql(8)
  11. How Do I Find My Mysql Password? [resolved](5)
  12. Phpmyadmin Problem [resolved](2)
  13. Is The Database System Gone Again? [resolved](12)


 



- Lo-Fi Version Time is now: 25th July 2008 - 10:31 AM