Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 16-04-2009, 05:19 PM   #1 (permalink)
In The Zone
 
Sridhar_Rao's Avatar
 
Join Date: Feb 2007
Posts: 353
Default PHP/MySql on desktops


I am a total newbie with little knowledge of PHP and SQLs. I am using them on my website.

I want to design an application using database (tables), php/htm and MySql that can run on my own desktop. Is this possible, if so, what are the requirements and which are the freewares that are available for this purpose.

A guidance in installation and setup would be extremely useful.
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Sridhar_Rao is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-04-2009, 05:38 PM   #2 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: PHP/MySql on desktops

http://www.wampserver.com/en/
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 16-04-2009, 06:25 PM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Apr 2008
Posts: 35
Default Re: PHP/MySql on desktops

Easyphp would much more easier.
snubbed is offline  
Old 16-04-2009, 08:04 PM   #4 (permalink)
In The Zone
 
Sridhar_Rao's Avatar
 
Join Date: Feb 2007
Posts: 353
Default Re: PHP/MySql on desktops

Thanks for the info, I downloaded Wampserver and installed the same. I have no idea how to use it now.
I did not keep the default "localhost" and entered something else during the installation, will that be a problem?

I tried entering the ip in firefox: http://59.92.242.110/ which is my IP and I am prompted for username and password. What is the username and password and how to set it?

I noticed these links in http://localhost/

* phpinfo()
* phpmyadmin
* sqlitemanager

How should I proceed from here?

This is the message I see in phpmyadmin, how to resolve it?
Quote:
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user '.root'.
If I develop an application on my system, how can I install the same to some other computer?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com

Last edited by Sridhar_Rao; 16-04-2009 at 08:56 PM.
Sridhar_Rao is offline  
Old 16-04-2009, 11:05 PM   #5 (permalink)
Right Off the Assembly Line
 
Join Date: Feb 2009
Location: Kanpur
Posts: 23
Default Re: PHP/MySql on desktops

Use EASYPHP.. google it. it is a freeware.. also u can find on some Digit's DVD... it has an inbuilt Apache server for web-hosting and mySql db server ... just design ur php pages n save it to the folder localhost/home/ur_project folder where u installed EasyPhp... ur_project is the folder where u wil keep all the php pages u design...

then, open the URL http://localhost/mysql/
u wil enter the Php_MyAdmin for MySQL and u can easily make databases n tables n all thee...
gaurarpit is offline  
Old 17-04-2009, 01:11 PM   #6 (permalink)
In The Zone
 
Sridhar_Rao's Avatar
 
Join Date: Feb 2007
Posts: 353
Default Re: PHP/MySql on desktops

Thanks, I have downloaded esayphp and will try it if I am dissatisfied with Wampserver5.

Right now, I want answer to these questions I posted earlier:

This is the message I see in phpmyadmin, how to resolve it?
Quote:
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user '.root'.
If I develop an application on my system, how can I install the same to some other computer?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Sridhar_Rao is offline  
Old 17-04-2009, 01:27 PM   #7 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Нью-Дели
Posts: 2,138
Default Re: PHP/MySql on desktops

See:
http://dev.mysql.com/doc/refman/5.1/...rivileges.html
__________________
Experience true education in Computer Science - http://www.udacity.com | http://www.coursera.org

Spoiler:
Read before asking / messaging any moderator for any query: FAQ + answers for new members

Read all the sticky threads before asking any type of query. Most basic questions are answered in those.
Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect.
Liverpool_fan is offline  
Old 17-04-2009, 08:07 PM   #8 (permalink)
In The Zone
 
Sridhar_Rao's Avatar
 
Join Date: Feb 2007
Posts: 353
Default Re: PHP/MySql on desktops

I quote this from the msql site:
Quote:
To use SET PASSWORD on Windows, do this:
shell> mysql -u root
mysql> SET PASSWORD FOR ''@'localhost' = PASSWORD('newpwd');
mysql> SET PASSWORD FOR ''@'%' = PASSWORD('newpwd');
A) Ok, but where do I type them?

I tried setting password in phpmyadmin under privileges tab for 'root' user. The query is successful but yet it continues to display that password is not set. I have entered the same password in change/login information too.

B) What should be ideally selected for these options?
... keep the old one.
... delete the old one from the user tables.
... revoke all active privileges from the old one and delete it afterwards.
... delete the old one from the user tables and reload the privileges afterwards.

C) Even if I manage to develop the application on my system, can I "install" it on my customer/client's computer? If yes, how...what is the requirement & procedure?

D) Is an active internet connection MUST/Compulsory for wampserver to work? Should the client's computer too have internet connection?
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com

Last edited by Sridhar_Rao; 17-04-2009 at 10:34 PM.
Sridhar_Rao is offline  
Old 26-04-2009, 01:06 PM   #9 (permalink)
In The Zone
 
Sridhar_Rao's Avatar
 
Join Date: Feb 2007
Posts: 353
Default Re: PHP/MySql on desktops

Come on guys, it has been 9 days since the last post and no replies yet!
__________________
Want to study M.Sc in any medical subjects? Read this www.microrao.com/msc.htm
Microx, a diagnostic microbiology laboratory software application www.labmicrox.com
Sridhar_Rao is offline  
Old 26-04-2009, 03:16 PM   #10 (permalink)
Dreamweaver
 
Gigacore's Avatar
 
Join Date: Aug 2006
Location: Bangalore
Posts: 3,904
Default Re: PHP/MySql on desktops

XAMPP is much better than WAMPServer
__________________
Today's noobs are tomorrow's geeks. Don't make fun of them.. encourage them. - Gigacore

Follow me on twitter.com/gigacore
Gigacore is offline  
Old 26-04-2009, 04:17 PM   #11 (permalink)
99.9% Idle
 
axxo's Avatar
 
Join Date: Sep 2007
Posts: 835
Default Re: PHP/MySql on desktops

Quote:
Originally Posted by Gigacore View Post
XAMPP is much better than WAMPServer
agree.....and is portable that it requires no installation. Xampp + phpmaker combo can help anyone with no knowledge in web/php to develop professional web based applications.
__________________
Unban praka123
axxo is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by gforz
- by soumya

Advertisement




All times are GMT +5.5. The time now is 03:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2