Page 1 of 4

how to make database with php5.3

Posted: 06 Mar 2011, 10:12
by jouko200
i have database with xammp When i install php5.3 it stop working i cant acces localhost and xaseco dont work.
if i uninstall xampp there is no localhost for php5.3. :roll:

i uninstalled xampp
uninstalled php5.3 and installed it again with mysql.... no localhost :roll:

(i have vista)

Re: how to make database with php5.3

Posted: 06 Mar 2011, 10:41
by TheM
jouko200 wrote:xaseco
Wrong forum.
jouko200 wrote:i have database with xammp When i install php5.3 it stop working i cant acces localhost and xaseco dont work.
if i uninstall xampp there is no localhost for php5.3. :roll:

i uninstalled xampp
uninstalled php5.3 and installed it again with mysql.... no localhost :roll:

(i have vista)
So, to get everything clear:
- Install PHP 5.3
- Install MySQL extention for PHP 5.3
localhost doesn't work... have you tried 127.0.0.1 ?
If you open C:\Windows\System32\drivers\etc\hosts, does it contain:

Code: Select all

127.0.0.1       localhost
::1             localhost
And, did localhost work before installing PHP 5.3 ?

You could also (re)install XAMPP: http://www.apachefriends.org/en/xampp-windows.html (contains the latest version of PHP, MySQL, PHPMyAdmin etc.)

Re: how to make database with php5.3

Posted: 06 Mar 2011, 13:25
by jouko200
TheM wrote:
jouko200 wrote:xaseco
Wrong forum.
jouko200 wrote:i have database with xammp When i install php5.3 it stop working i cant acces localhost and xaseco dont work.
if i uninstall xampp there is no localhost for php5.3. :roll:

i uninstalled xampp
uninstalled php5.3 and installed it again with mysql.... no localhost :roll:

(i have vista)
So, to get everything clear:
- Install PHP 5.3
- Install MySQL extention for PHP 5.3
localhost doesn't work... have you tried 127.0.0.1 ?
If you open C:\Windows\System32\drivers\etc\hosts, does it contain:

Code: Select all

127.0.0.1       localhost
::1             localhost
And, did localhost work before installing PHP 5.3 ?

You could also (re)install XAMPP: http://www.apachefriends.org/en/xampp-windows.html (contains the latest version of PHP, MySQL, PHPMyAdmin etc.)
i have tried 127.0.0.1 and localhost

C:\Windows\System32\drivers\etc\hosts contains 127.0.0.1 and ::1( after uninstalling php5.3)

localhost worked before installing php5.3 and after unistalling it.

now localhost works with xampp (php5.3 is uninstalled)

Re: how to make database with php5.3

Posted: 06 Mar 2011, 14:40
by TheM
Have you tried uninstalling XAMPP and install the latest version of XAMPP?

Re: how to make database with php5.3

Posted: 06 Mar 2011, 16:31
by jouko200
TheM wrote:Have you tried uninstalling XAMPP and install the latest version of XAMPP?
if i uninstall xampp, localhost for php5.3 still dont work

Re: how to make database with php5.3

Posted: 06 Mar 2011, 17:20
by TheM
jouko200 wrote:
TheM wrote:Have you tried uninstalling XAMPP and install the latest version of XAMPP?
if i uninstall xampp, localhost for php5.3 still dont work
I probably get you wrong, but there is nothing such as localhost for PHP...

Re: how to make database with php5.3

Posted: 06 Mar 2011, 18:01
by jouko200
original question was how to make database with php5.3 and control it

Re: how to make database with php5.3

Posted: 06 Mar 2011, 19:37
by TheM
jouko200 wrote:original question was how to make database with php5.3 and control it
Use PHPMyAdmin?

Re: how to make database with php5.3

Posted: 09 Mar 2011, 21:23
by nocturne
Think you need to start out with the basics... google for something such as 'Webserver setup on Windows', and read over the guides until you have a basic grasp on running a webserver.

Btw, Xampp should already have php v5.3.x and mysql/php should already be setup to work properly. At this point, you'll probably have to backtrack a bit, uninstall Xampp completely (take extra care that everything is properly removed -- have known more than a few ppl who have broken their windows by improperly uninstalling Xampp), and then reinstall with the default settings. After that, refer to some guides on how to properly setup a mysql user with access to a specific db, and then setup ML with the needed settings.

It's actually all pretty simple, but it takes a bit of know-how and intuitiveness to get everything going.

Re: how to make database with php5.3

Posted: 11 Mar 2011, 03:56
by jouko200
if i install xampp with newest version it is not compatible with xaseco anymore( cant import sql files) :x