Hi, i installed wamp latest version and i saved a file with phpinfo(); function and saved it with phpinfo.php file name but when i write http://localhost and press enter in browser so its not working. Where i have done a mistake?
I need it urgent.
Last edited by ADQUSIT; Feb 23rd, 2012 at 12:36 AM.
Reason: I want to remove resolved message.
When you installed WAMP, a folder named "WAMP" is created. Inside it, there's "WWW" folder. So, all your projects should reside inside that "www" folder. Then only you can access it.
For example, if you have created that "phpinfo.php" file inside "www" (say, "c:\wamp\www\phpinfo.php") folder, then you can access it via: "http://localhost/phpinfo.php".
Hope this will help
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
oh, i did a little mistake in coding. my path directory was right. thanks for your assistance, akhileshbc
Now i reinstall it and its giving an error. I have installed wamp on vista properly and i clicked on wamp icon in system tray and from the menu i selected phpmyadmin, so when i click on that so a message comes in browser page that
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
hmm.. Do one thing, try uninstalling WAMP server from your system. After that, delete the wamp folder (say, "c:\wamp"). Then do a fresh install of WAMP server.
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
I did the same steps which are mentioned in the link above right. and it woked me fine. but now ther is another problem. when i open the phpmyadmin, so its giving me errors? what i do now?
Please post the error messages if you see any! That will help us to understand the problem!!!
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
I found this while searching for information on that particular error.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
I found this while searching for information on that particular error.
@ Nightwalker
first thing first, the file which it shows in video, i have but i have only 1 line very lengthy line when i wraped it in notepad so it took 4 lines right. but in that video there are several many lines. is there any difference between mine and him?
@ Penagate
What do i do with this file? do you recommend the same which has done in the nighwalker given video?
It looks like you've set a password for the MySQL root account, so you need to tell phpMyAdmin what it is.
Look in .../wamp/phpMyAdmin/config.inc.php.
I think, it's .../wamp/apps/phpMyAdmin/config.inc.php. Isn't it ?
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
first thing first, the file which it shows in video, i have but i have only 1 line very lengthy line when i wraped it in notepad so it took 4 lines right. but in that video there are several many lines. is there any difference between mine and him?
It's the line that has:
\\Mysql password only needed with 'config' auth_type, that is the only line you need to edit.
Originally Posted by akhileshbc
I think, it's .../wamp/apps/phpMyAdmin/config.inc.php. Isn't it ?
Yes, that is correct! At least for my version, unless, Pen has a different version yet again?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
I'm afraid to say that I'm not picking. I followed that path you have given and there is a php file What i do with that now? Pleaeeee
Try opening that file called config.inc.php and set your password in here(eg: abc)in this line:
Code:
$cfg['Servers'][$i]['password'] = 'abc';
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
I have set the password for root let suppose 'abcd' right.
Then i followed the same directory which has been shown in post number 23 and placed the'abcd' password in the single quote as shown above.
But i experienced a problem here.
i installed and then re installed the wamp some 7 8 times
After fresh installation
1. first i made a root password
2. then i made changes in phpmyadmin.config file
3. and at last i changed the config.inc.php file
so following these step my php coding was working and phpadmin was not working
but last time when i reinstalled the wamp so
1. first change the root passwrod
2. then i made changes in config.inc.php
3. and then i changed the phpmyadmin.config file
so by this way my phpadmin started working and code stoped working.
password is set with double quotes, while in video it says that double quote not allowed.
and UPDATE mysql.user, ( I Just want to say that there is a change in mine and his way, does it matter)
Aash i did all those steps too but the same result. phpmyadmin is working while not code.
Last edited by ADQUSIT; Feb 26th, 2012 at 01:42 AM.
password is set with double quotes, while in video it says that double quote not allowed.
and UPDATE mysql.user, ( I Just want to say that there is a change in mine and his way, does it matter)
Aash i did all those steps too but the same result. phpmyadmin is working while not code.
the link i showed you here, for DOS at step-3 it's in double quotes, and single quote at step-7, for config.inc.php .
I have read the thread carefully. In the posts around post 11 you describe being unable to log in to phpMyAdmin. In post 27 you said you got phpMyAdmin working. So what I'm asking you is what is the current problem?
Look, I'm not sitting idle and putting all works upon you, i am also trying my all efforts to solve the issue but still pending. When my code is working so phpadmin is not working and when my phpadmin is working then code is not working. and it happens when i do the same in post 27 #.
Are you able to connect to the database(using the password you have set) while your "PHP code is working" ? I mean via PHP code, are you able to make queries ?
After you set the password in the config file, did you restarted WAMP server ?
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Akhil, when i even write localhost/phpinfo.php so it does no open it and gives the same error, which i removed by changing the php config file. I've even change the settings according to your instructions but not working now. and Yes, I restarted the WAMP server, when i changed the settings and it does not open the simple phpinfo.php page so how i will connect to database or execute queries.