wampserver

Restore Database in WAMP

≯℡__Kan透↙ 提交于 2019-12-20 03:11:48
问题 I had few databases related to different projects in the WAMP. I don't know what happened, Today, when I go to PhpMyAdmin, I was just able to see the default databases and rest of my databases are not showing and even the php code related to those databases are throwing database not found errors. But when I go to "D:\wamp\bin\mysql\mysql5.1.30\data" the folders with my DB names are there. But not sure how to restore those DBs and I don't have any backup of the DB, Can any one help me how to

Error logging with WAMP server in PHP

佐手、 提交于 2019-12-19 17:27:13
问题 I have a WAMP 2.2 server running on a Windows 7 box and cannot get PHP error logging working at all. The file is always blank even after I explicitly trigger USER_ERROR errors, or cause normal ERROR errors. I'm including the error relevant sections of the php.ini file - hopefully you can find something: error_reporting = E_ALL error_log = "c:/wamp32/logs/php_error.log" ;(UNCOMMENTED BY ME) log_errors = On display_errors = On 回答1: The line ; log_errors is just a comment for the following block

Some database content disappeared after WAMP reinstallation

≡放荡痞女 提交于 2019-12-19 12:12:36
问题 I screwed up the config files for Apache I reinstalled(without any uninstall) the WAMP in same folder but instead of 2.4 I did 2.5, so WAMP failed gloriously afterward. I can not access WAMP anymore, so I can not backup my DBs from PHPMyAdmin (any hint about how to do backup in this senario will be helpful) I copy the whole /wamp folder content (after screwed up the install). I installed the 2.4 version Now WAMP running All DBs are still listed there But when I accesss two of the WP sites,

Some database content disappeared after WAMP reinstallation

余生长醉 提交于 2019-12-19 12:12:04
问题 I screwed up the config files for Apache I reinstalled(without any uninstall) the WAMP in same folder but instead of 2.4 I did 2.5, so WAMP failed gloriously afterward. I can not access WAMP anymore, so I can not backup my DBs from PHPMyAdmin (any hint about how to do backup in this senario will be helpful) I copy the whole /wamp folder content (after screwed up the install). I installed the 2.4 version Now WAMP running All DBs are still listed there But when I accesss two of the WP sites,

Pear error messages with PHP5.3.0

主宰稳场 提交于 2019-12-19 04:05:28
问题 I get a LOT of errors when i Open up a newly installed PEAR package on a WAMP server. Here's the error messages. What can i do? Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\PEAR\PEAR\Config.php on line 650 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\PEAR\PEAR\Config.php on line 697 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\PEAR\PEAR\Config.php on line 757

How can I change my MySQL collation in WAMPSERVER

假装没事ソ 提交于 2019-12-19 03:23:11
问题 How can I change my MySQL collation in WAMPSERVER from latin1_swedish_ci to UTF-8 because I think my HTML special characters are getting all messed up 回答1: You could use set names 'utf8' each time you open a connection. Or add the following line to your my.ini file and restart your server. default-character-set=utf8 If you've already got tables set up you'll need to alter them too you can alter them with: ALTER TABLE tablename COLLATE utf8_general_ci etc or pop into phpmyadmin and do it there

Installing Composer in WAMP PHP Google+ Project, PHP is not recognised

好久不见. 提交于 2019-12-18 18:04:13
问题 I am following this PHP Google+ tutorial and I am trying to install composer in my WAMP directory C:\wamp\www\gplus-quickstart-php>curl -s https://getcomposer.org/installer | php but I'm getting this error 'php' is not recognized as an internal or external command operable program or batch file. How do I resolve this problem? I already have PHP installed (via WAMP Server). Do I have to install PHP in my computer as well? 回答1: Ok a couple of things you need to do here. First windows does not

Not able to launch WAMP - Aestan Tray Menu has stopped working

半世苍凉 提交于 2019-12-18 14:38:46
问题 I just downloaded and installed WAMP, when I open it I get a warning box that Aestan Tray Menu has stopped working -"A problem has caused program to stop working correctly. Windows will close program and notify you if a solution is found". I have tried the usual solutions : I checked the IIS and it is already disabled. And I also unchecked the "use port 80..." option in Skype. Can anyone help me out with this? 回答1: Had the same problem. I had to install this to make it work properly : http:/

phpmyadmin in WAMP error #1045 - Need to reset password

南笙酒味 提交于 2019-12-18 13:36:15
问题 I have recently reinstalled WAMP on my PC and copied over files from a back-up I had. I am able to access localhost without any problem and my existing sites function fine. The problem is that I cannot seem to log-in via http://localhost/phpmyadmin/index.php . I receive a #1045 Cannot log in to the MySQL server response. After doing some reading I have been lead to believe that I can edit phpmyadmin's config.inc.php file to adjust the settings. After setting my files (as outlined below), I

Wamp Server Error [Local Server - 2 of 3 services running]

╄→гoц情女王★ 提交于 2019-12-18 13:34:29
问题 I am new to wamp servers and trying to install wampServer 3.1.0 on my windows 10 machine . Somehow it is not installed properly and is having configuration error . At present "Wamp server is still in orange state and is throwing the error" 2 of 3 services running As of my understanding either of Apache,MySQl orPHP is not working . On further investigation I found that Apache is ok. But on running mysql.exe(C:\wamp64\bin\mysql\mysql5.7.19\bin) it is throwing : ERROR 2003 (HY000): Can't connect