ongnoai
Dec 13 2005, 12:07 PM
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.htmlAs 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
Reply
Inspiron
Dec 13 2005, 12:55 PM
Wasted... you should make this post to the Tutorial section.. Very good one for people trying to make a server out from their computer..
Reply
Trap FeedBacker
Jan 23 2008, 01:50 AM
Replying to ongnoaiI know this is an old post, but it dolveda problem for me! Thank you! -reply by Steve Adams
Reply
Trap FeedBacker
Apr 13 2008, 10:28 AM
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
Reply
bluechip
May 6 2008, 02:15 PM
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.
Reply
dave2win
May 7 2008, 12:40 PM
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.
Reply
Recent Queries:--
mysql will not let me connect to phpmyadmin - 1.66 hr back.
-
install apache php phpmyadmin mysql on xp tutorial - 5.13 hr back.
-
joomla localhost to server database error: unable to connect to the database:could not connect to mysql - 13.96 hr back.
-
why we use extension=php_mbstring.dll - 14.49 hr back.
-
php_mbstring.dll - 27.17 hr back.
-
download mbstring.dll - 28.16 hr back.
-
how to install phpmyadmin when apache mysql and php installation has been completed - 36.77 hr back.
Similar Topics
Keywords : installing, apache, mysql, phpmyadmin, locally, solving, php, mbstring, dll, missing
- Phpmyadmin Error [resolved]
(7)
Phpmyadmin Error
Not able to enter PhpMyAdmin (4) Currently I try to access my PhpMyAdmin and I get the following error displayed among the screen:
My PhpMyAdmin worked prior the migration but suddenly stopped working after. I wanted to know if
anyone else is getting this error also or anyway can help me fix this o.o.....
Installing Custom Fonts...
(5) Is there any way to install custom fonts? Like I've got a few fonts here that I would like to
install for my website. Is there any way to install them? So how can I install them? Would it even
be possible to install them?....
Successfully Installing Joomla [resolved]
Has anyone done it? (2) Hello everyone, I was wondering if anyone around here has successfully installed Joomla on their
Trap17 web space. If so, what was your solution to the session save path dilema? I attempted to make
a custom php.ini with no luck and also attempted to edit the htaccess.txt file. All of these
solutions yielded no result, my session save path is still not set, and I can't properly install
Joomla 1.0.13. Should I try using 1.5 RC4? I doubt that would matter, any advice or help is greatly
appreciated /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt=....
Question About The Upgrade And The Mysql Usage ?
question about the upgrade and the mysql usage? (3) thanks for the upgrade but i do have question about it QUOTE Domain name zam.trap17.com
Hosting package Beta Subdomains 3 / 99 Parked Domains 0 / 9 Addon Domains 3 / 9 Mysql databases
1 / 99 PostgreSQL Databases 0 / 99 Disk usage 14.25 / 500.00 MB MySQL Disk usage 0.82 MB
Disk space available 485.75 MB Bandwidth (this month) 6.59 / 10240 MB Email accounts: 1 / 99
Email forwarders: 1 / unlimited Autoresponders: 0 / unlimited Email filters 0 / unlimited
Mailing lists: 0 / 99 FTP accounts 3 / 99 1-Bandwidth (this month) 6.59 / 10240 MB ....
Changes In Phpmyadmin
Access to my database from program not working anymore. (0) I was wondering if something has changed in the MySQL or PHPMyAdmin section of Trap 17. (Hope I am
explaining this correctly). I run a newsletter system on my website and the details of the people
who subscribed are in a MySQL database. To get those data from the database and to send the
newsletter to all subscribers I use a program called "Qios Pelican". Up to now it always worked
perfectly, but now it cannot seem to retrieve data anymore, yet I have not changed anything to my
setup. I use the MySQL OLEDB Provider driver to connect, and in case it helps, here are the ....
Installing Theme On Smf Forum
Need help doing it! (4) I was wondering, and I am horrible with Cpanels mind you, how to install a new theme. I have an smf
discussion board and I decided to download a theme from the theme place for smf. So it downloads,
and appears in winrar. When I extract it, it comes with a big pile of files, with 2 folders:
Language, and Images. First question is: Do I install these somewhere in the 'File manager'
in cpanel? Ok if yes: Where? Third: Do the main files, language , and image go in different
places? Fourth: There is about 4584305834098 image files, is there a quicker way to get ....
Installing Ffmpeg
(7) Hi. Iīm having a real big problem installing ffmpeg on my site... Can any of you guys explain to
me (as if I was 10 years old) please... I would like to test it on one of my sites here @ trap 17
but I canīt install it... Thanks in advance....
Installing Joomla And Shell Question
i get error when i trayed to install joomla i get some (0) i get error when i trayed to install joomla about the default premising check this out i have set
the file premising to 777 and to 755 and the same problem what to do where to fix this
http://zam.trap17.com/earn-money/installation/index.php and in my hosting plans i did see shell
access but i cant it at my cpanel why ??? ---UPDATE--- will i have been able to install joomla
thanks but i still asking about the shell account double post merged ....
Having Problems With Installing Ipb 2.3.x
I need help please. (2) I was trying to install IPB 2.3.3 for my forums database and this is the error message I got as I
was starting the installation. mySQL query error: CREATE TABLE ibf_admin_logs ( id bigint(20) NOT
NULL auto_increment, act varchar(255) default NULL, code varchar(255) default NULL, member_id
int(10) default NULL, ctime int(10) default NULL, note text NULL, ip_address varchar(255)
default NULL, PRIMARY KEY (id) ) TYPE=MyISAM; SQL error: Table 'ibf_admin_logs' already
exists SQL error code: 1050 Date: Wednesday 22nd of August 2007 02:25:45 AM I hav....
Question About Adding Message Board To Site
Using mysql? (5) Hi, Super simple question from a simple laddie! Is a MySql database a messageboard? If not
how can I set up a messageboard. Thanks. std split from another topic ....
Does Trap Use An Apache Server [resolved]
(3) Well I just installed a mod, and it said you must have an Apache Server or something. SO does trap
use an Apache Server and if not is there anyway we can since it says its free....
Installing Ipb
(1) hi, i am trying to install ipb v 2.2.0, but when i go to the url where it is at (after i went
through setup) i get this error: QUOTE IPB WARNING array_merge() : Argument #2 is not an
array (Line: 473 of /sources/classes/class_session.php) IPB WARNING Invalid argument supplied for
foreach() (Line: 504 of /sources/classes/class_session.php) IPS Driver Error There appears to be an
error with the database. You can try to refresh the page by clicking here So i dont know whats
going on. if some1 could help, that would be great.....
Installing Easymod
(3) Hello! I have successfully installed a phpbb2 forum on my site... (HORRAY)... but now I am
trying to install EasyMod for it, but it is not working correctly. Has anyone had success with
this? If so, can you give me step-by-step instructions, maybe I am doing something wrong? I fill
out everything, including login information to my ftp, and get this message: QUOTE Testing FTP
access... 1) Logged in successfully FTP ERROR: could not cd to public_html/forum/phpbb2 You
successfully logged into the server, but could not change direcory (CD) to the easymod direct....
Installing The Simple User System.
(6) Ok well I have tried installing the simple user system. Now when I try to register I get the
following errror Unknown column 'id' in 'field list' How can I fix this? I really
must know!....
Installing Phpbb Forum On My Site?
(5) Hello! I was just wondering how I go about installing the phpbb forum on my site. I assume I
go somewhere from the CPanel? I think someone told me that the CPanel has something that installs
it for me automatically. Thank you!....
Need Help Installing Smf
It's not finding the files I upload. (5) I downloaded the zip version of the SMF, from www.simplemachines.org I am using SmartFTP, to upload
the files. I created a folder, named Forum, and uploaded all the SMF files there. On the
simplemachines site, it tells me to type my site url followed by /forum/install.php, or whatever the
directory I installed it on is called. I tried that, and I come up with this on the page. Not
Found The requested URL /forum/smf1.1/install.php was not found on this server. Additionally, a 404
Not Found error was encountered while trying to use an ErrorDocument to handle the re....
Having Trouble Installing Smf
(3) am i allowed to upload a forum? one that is all coded in php, not a service, a completely scratch
forum. the company who made the templates is simplemachines and its an smf. it just documents, i
just need to know if i can use it. also, it doesnt let me access files i have uploaded.......
Installing Phpbb
database problem (0) Hey guy's, ive done as you said and tried to install my phpbb without fantastico. I have got to
the the install page then i get a mysql error QUOTE Warning: mysql_error(): supplied argument
is not a valid MySQL-Link resource in /home/tdm/public_html/forum/phpBB2/db/mysql4.php on line 330
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in
/home/tdm/public_html/forum/phpBB2/db/mysql4.php on line 331 phpBB : Critical Error Could not
connect to the database Im not sure why this has happened as i have never really used mysql for
....
Phpbb2.17 Mysql Problems
Just this week they started (4) The forum has been up and running for about a year and a half. It has been through numerous server
upgrades, etc, including the recent HDD change, but for some reason, just this week it started
throwing this error: QUOTE Could not obtain post/user information. DEBUG MODE
SQL Error : 145 Table './jlhaslip_phpbb2/phpbb_posts_text' is marked as crashed and should
be repaired SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email,
u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail,....
99 Mysql Databases?
(2) I just got my account, and I was wondering: do we really get 99 MySql databases? I've read a
lot of the stuff about it, and it sounded like we only get one database, but my cPanel says that I
have "0 / 99" databases. If it's lying, it's not really a problem, because I could always
just prefix my tables, but I was just wondering why it would say that. If for some reason it was
letting me get more than one database, and I wasn't supposed to, I don't want to get my
account deleted. Does anyone know why it says that? /huh.gif" style="vertical-align:m....
Can't Access Phpmyadmin
(2) I can't access Phpmyadmin. I get this mesage: No input file specified. Also my forums gets loads
of database errors. Can anyone help me?....
Mysql Access Error[resolved]
(5) The MySQL server is Down, please look into this soon. I'm with Trap17 for nearly an year but
never faced any issues witht the free hosting so far, but his is the first time I'm facing this.
Please kindly look into this.....
Mysql Server Problems [resolved]
(3) hello, well since i installed php-nuke on my site's dir i have seen quite a lot of mysql SERVER
ERRORS, like that the server is going down so now and often is it due to my cms or is the server
having some probs ? this is what i just saw from the statistics: QUOTE Service Status
named up spamd up imap up cpsrvd up pop up eximstats failed syslogd up clamd failed mysql
(5.0.27-standard) failed httpd (1.3.37 (Unix)) up exim () failed exim-26 up ftpd failed Server
Load 16.50 (1 cpu) quote tags added. please use quote tags as needed. review trap17....
Help Installing Phpbb On My Site [resolved]
(6) Ok, i am hosted here and i am trying to get the phpBB2 forums installed on my site. I have made a
database, i have uploaded all of the folders to the FTP. Now everytime i try to start the install,
it either says that there is a critical error, and that i have configured something wrong. Does
anybody know the Database Type i need to use? And any other help that you could tell me would be
appreciated. Thanks.....
Cpanel And Mysql Problem. [resolved]
(3) hi all - i'm going to make this brief. my CMS (drupal 5.0) and forum (SMF 1.1.1) cannot connect
to the mysql db. however their files CAN still be accessed. I also tried uploading a file through an
ftp client and the file could be accessed. HOWEVER: cpanel cannot be accessed either. it simply
loads with a blank page. however both worked earlier today. so is there a problem with the server?
and if there is, will it be fixed?....
Security Check Php Register_globals
When installing Joomla on trap17 (7) Joomla shows this warning QUOTE Following PHP Server Settings are not optimal for Security
and it is recommended to change them: * PHP register_globals setting is `ON` instead of
`OFF` Well it shows two warnings but the other one i can change. Is this something
i, or you should be woried about or is it normal.......
Is It Possible To Access The Mysql Remotely?
(8) I like to experiment with a lot of things and I was thinking of making a sort of instant messenger
in Python, but I want to let people have actual accounts so I need to be able to access the mySQL
remotely. If that's not possible, are we allowed to run Python scripts on the server?....
How To Crate Mysql Database?
urgent help (7) Hi everyone!
I'm trying to make in my site a page system that allows me to create users
account (with a foto for every user)...
I'm doing that in PHP, I learned all I have to
know about PHP and MY SQL. I know how to make new array and querries in the data base, only 1 think
is messing: ....
Table Duplication
How to do it with phpMyadmin (5) So how can I dublicate table to the same database using phpMyadmin? I realy do not want do the
almost the same table specially then table has many colums. Or maybe it's inposible
/huh.gif' border='0' style='vertical-align:middle' alt='huh.gif' /> (actualy I don't think so)....
Looking for installing, apache, mysql, phpmyadmin, locally, solving, php, mbstring, dll, missing
|
|
Searching Video's for installing, apache, mysql, phpmyadmin, locally, solving, php, mbstring, dll, missing
|
advertisement
|
|