wamp

MySQL console slow on import of huge SQL files

天大地大妈咪最大 提交于 2019-12-20 14:14:11
问题 My import of SQL via the MySQL console is rather slow, and, as our SQL file is increasing every day, I would like to know if there are any alternatives on how to import an SQL file faster. Changing to Oracle or other systems is not an option, the configuration has to stay the same. Currently the SQL file is: 1.5 GB. I'm on WAMP with Apache 2.2.14, PHP 5.2.11 and MySQL 5.1.41. Perhaps the issue is here, import is done by a simple: mysql -u username -p dbname < sqlfilename.sql Any suggestions?

How to configure php.ini to use gmail as mail server

感情迁移 提交于 2019-12-20 10:37:38
问题 I want to learn yii as my first framework. And I'm trying to make the contact form work. But I got this error: I've already configured php.ini file from: C:\wamp\bin\php\php5.3.0 And changed the default to these values: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = ssl:smtp.gmail.com ; http://php.net/smtp-port smtp_port = 23 ; For Win32 only. ; http://php.net/sendmail-from sendmail_from = myemail@gmail.com I've seen from here that gmail doesn't use port 25, which is the

WAMP Server doesn't load localhost

大兔子大兔子 提交于 2019-12-20 09:20:04
问题 I have a "small" problem with my WAMP Server. Everything worked fine (WAMP is on port 8081 - free port no matter what program I have open) yesterday but today, I can't reach localhost:8081. It's just keep loading and loading and loading... I have tried everything - open the port in my router and in my firewall, check that the port is currently open and reachable (which it is) and so on. I installed the latest Windows updates to Windows 7 Ultimate 64-bit earlier this day, restarted my computer

Have WAMP start automatically upon Windows start-up (without logging on or any UAC interference)

安稳与你 提交于 2019-12-20 07:59:06
问题 I'm looking to have WAMP start when I switch on the computer. Ideally it would start without users even having to log on. I've added WAMP to the start-up in the registry but a user needs to have logged on and UAC is still playing it's annoying part. Is there a way to accomplish this without logging on or UAC interfering? Thanks. 回答1: Follow these instructions to start the appropriate WAMP services on start-up. UAC will not interfere here and there is no need to log in to start your web-server

Strange character in fresh WAMP installation?

落爺英雄遲暮 提交于 2019-12-20 07:29:32
问题 I'm getting strange characters in my fresh local WAMP installation. I've just downloaded all .php files from ftp online and restored a backup on my local mysql server. The problem only happens when text contains symbols or special characters : PHP : <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> MySQL collation : latin1_swedish_ci In this image of course there is a strange symbol "°" where "°" and "€" are needed. This has happened both in Opera and Firefox. Any idea?

Relaying not allowed message when sending mail with PHP function

穿精又带淫゛_ 提交于 2019-12-20 07:14:05
问题 I'm using wamp server and trying to send email with the PHP function mail('me@ISPdomain.com','my subject','my body'); , with the following settings in php.ini : SMTP = 'ISP's SMTP server' smtp_port = 25 But I get the message: Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Relaying not allowed. Please use SMTP Authentication. How can this be solved? 回答1: Your ISP's mail servers do not allow "relaying", which is a good thing as otherwise they would end up moving a lot of spam.

How to get rid of the public path in laravel on wamp

十年热恋 提交于 2019-12-20 06:47:46
问题 I have a quick issue. I am trying to use Laravel for the first time. To do so, I'm using Wamp. And I don't know if this is important, but I set the DocumentRoot of wamp at this address : DocumentRoot "C:\Users\Bebop\Documents\Site Internet/" I using wamp for a lot of different websites in a folder called Sites. When I access to one of the site I go to : localhost/Sites/thewebsite. So really what I want is just to get rid of the public folder in the path to the Laravel website. For the moment

how to upload file in a specific address using django admin panel?

社会主义新天地 提交于 2019-12-20 05:59:21
问题 I'm Developing a django admin panel that has image upload capability ,image upload works successfully , but i cant access to images from entering urls in browser . When I want to try to access to a picture like this : http://127.0.0.1:8000/media/485508.jpg I get this error : Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/media/485508.jpg Here Is My Codes : Models.py : picurl = models.ImageField() Settings.py : STATIC_URL = '/static/' MEDIA_ROOT = os.path.join(BASE

Can't access localhost or phpMyAdmin with WAMP

别等时光非礼了梦想. 提交于 2019-12-20 05:03:26
问题 I'm running Apache v2.2.21, PHP v5.38, and MySQL v5.5.16. The WAMP icon is green. As the post title says, I can't access either localhost or phpMyAdmin from the WAMP systray icon menu, nor can I by typing http://127.0.0.1/index.php in a browser. Clicking on either localhost or phpMyAdmin gives me the error message "Unable to connect - Firefox can't establish a connection to the server at 127.0.0.1." I do have Skype and I know there are issues with Skype and WAMP port conflicts, so I quit

Can't access localhost or phpMyAdmin with WAMP

与世无争的帅哥 提交于 2019-12-20 05:03:14
问题 I'm running Apache v2.2.21, PHP v5.38, and MySQL v5.5.16. The WAMP icon is green. As the post title says, I can't access either localhost or phpMyAdmin from the WAMP systray icon menu, nor can I by typing http://127.0.0.1/index.php in a browser. Clicking on either localhost or phpMyAdmin gives me the error message "Unable to connect - Firefox can't establish a connection to the server at 127.0.0.1." I do have Skype and I know there are issues with Skype and WAMP port conflicts, so I quit