wamp

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,

How can I get Assetic to compile SCSS on Zend Framework on Windows?

巧了我就是萌 提交于 2019-12-19 12:04:01
问题 My site is on Zend Framework and uses Assetic to compile SCSS and minify it. It works wonderfully when I'm developing on Ubuntu. Sometimes I need to develop on Windows (WAMP) instead of Ubuntu. I haven't been able to get Assetic to work on Windows. I've found many Q&As about it but no answers seem to apply to me. E.g. I don't think I have a config.yml file anywhere. How to have Assetic + sass work with Symfony2 in Windows? How to use SCSS filter in Symfony2 under Windows? Here is an error:

Error #1045 Access Denied in PhpMyAdmin

前提是你 提交于 2019-12-19 07:06:11
问题 Basically I changed the password of MySQL via CMD and after that when I tried to visit the phpmyadmin page it shows me Error #1045 Access Denied. I would like to how to fix this problem. Thanks in advance. 回答1: Go to phpMyAdmin folder (in my case it is C:\wamp\apps\phpmyadmin3.2.0.1). In the file config.inc.php change the line $cfg['Servers'][$i]['auth_type'] = 'config' to $cfg['Servers'][$i]['auth_type'] = 'cookie' Now the password will be asked on your first visit of the phpMyAdmin page 回答2

MySQL- Wamp server is not working after win10 upgrade

强颜欢笑 提交于 2019-12-19 04:46:27
问题 I just upgrade to windows 10. after upgrade my MySQl is not starting, wamp server icon orange , I can see Apache server is running but MySQL is not running. Please help Thanks 回答1: ------- SOLVED --------- This is what worked for me I went to /wamp/bin/mysql/mysql5.6.17/data And deleted following auto.cnf , xxxxxxxx.err, xxxxxxxx.pid , xx_logfile0 , xx_logfile1 And restarted , It worked !! Thanks for all your help 回答2: Make sure the 2 services are still installed. They weren't for me. To

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

dirname(__FILE__) on localhost

白昼怎懂夜的黑 提交于 2019-12-19 03:42:11
问题 I'm using WAMP and have a development site in the www directory. I want to use dirname(__FILE__) to define the path to the server root. Currently I'm using a config file which contains: define('PATH', dirname(__FILE__)); I'm including the config file in in my header.php file like this: <?php require_once("config.php") ?> Then, on my sub pages I use the constant PATH to define the path by including header.php . <?php require_once("../inc/header.php"); ?> However, my links are coming out like

saving MySQL settings

半腔热情 提交于 2019-12-19 03:07:54
问题 how can i save permanently settings of MySQL ? i got MySQL from WAMP, and there is no my.cnf file, there is a my.ini file ! how can i set some global variable, 回答1: Drive:\wamp\bin\mysql\mysql5.5.8\my.ini this is the place to save settings. 回答2: WAMP uses the my.ini file. To get to your my.ini file, just click the WAMP tray icon and hover over the 'MySQL' menu, and click 'my.ini'. Edit your my.ini file and under the [mysqld] section, add this: setting-name=setting-value , example: event

PHP 使用WampServer环境,如何配置虚拟主机域名

ε祈祈猫儿з 提交于 2019-12-19 02:17:45
很多人不会配置虚拟主机,我这里简单交一下大家,分三步:    1、在 C:\Windows\System32\drivers\etc 文件夹中的文件 Hosts 文件修改代码为:   127.0.0.1 localhost   127.0.0.1 www.zhixing123.cn    2、在apache的配置文件中,也就是httpd.conf中 ,把虚拟主机打开   (范例路径:D:\wamp\bin\apache\apache2.2.8\conf)   # Virtual hosts   Include conf/extra/httpd-vhosts.conf    3、extra/httpd-vhosts.conf 在这个文件中修改代码为:   (范例路径:D:\wamp\bin\apache\apache2.2.8\conf\extra)    ServerAdmin webmaster@dummy-host.localhost    DocumentRoot "d:/wamp/www"    ServerName localhost    ServerAlias www.dummy-host.localhost    ErrorLog "logs/dummy-host.localhost-error.log"    CustomLog "logs/dummy-host

can't connect to mysql with php

故事扮演 提交于 2019-12-18 19:23:40
问题 I can't seem to connect to mysql with a php script, even though I can connect fine with phpmyadmin. I created a user with a password, and gave it the proper priveleges for the db, but everytime it connects it dies saying access denied. I am using xampp on a windows xp box. Firewalls are all disabled, and I've checked the username nad password are correct. Here's the code: $conn=mysql_connect('localhost','westbrookc16','megadots') || die (mysql_error()); Do usernames have to be in a specific