wamp

What is maximum query size for mysql?

孤街醉人 提交于 2019-11-26 13:26:28
What is maximum query size for mysql? Some times the server stops working when I fire a too long query. kiriloff You can check your current server setting with: SHOW VARIABLES LIKE 'max_allowed_packet'; This gives you the answer in bytes. for e.g max_allowed_packet=1048576 or 1mb To increase the max_allowed_packet , open my.ini/my.cnf under [mysqld] section. Once the change is done you would have to restart the server. 来源: https://stackoverflow.com/questions/16335011/what-is-maximum-query-size-for-mysql

Sendmail Wamp Php

蓝咒 提交于 2019-11-26 13:22:59
I have spent all the morning searching this on internet trying to find a solution about this. I have installed wamp server on Windows 8.1 and i'm trying to send some mails with sendmail ( http://glob.com.au/sendmail/ ) and my gmail account When i configure sendmail to use port nº 465 I always get this error: Socket Error # 10060Connection timed out If i try to use port nº 587 i get this line on error log: Connection Closed Gracefully. But no email is sent. This is my sendmail.ini file [sendmail] smtp_server=smtp.gmail.com ;I tried both: 587, 465 smtp_port=587 ; I tried: "blank, auto ssl, tls,

Regaining access to lost MySQL password for PHPMyAdmin on WAMP

岁酱吖の 提交于 2019-11-26 13:20:06
问题 I changed the password for my 'root'@'localhost' account in PHPMyAdmin and like (this person asking here) and locked myself out of PHPMyAdmin on my browser. I am using WAMP 2.5. The solutions offered on that question don’t work for me because unfortunately I have lost the password that I reassigned root to. Some solutions ask one to reset the password via command line (including this source), and I have tried that through the Windows command line without success because I now have no

How to solve WAMP and Skype conflict on Windows 7? [closed]

。_饼干妹妹 提交于 2019-11-26 12:57:56
问题 I have Windows 7 (32-bit) installed on laptop. I downloaded WAMP server and installed it with it\'s default options. However, I noticed that Apache does not work (while MySQL does work!). I tried to install it via Apache → Service → Install Service and got a message saying that port 80 is taken by Skype. I turned off Skype, and then Apache started to work. How can I avoid this conflict and allow WAMP and Skype to work simultaneously? Should I configure Apache to work with other port? Where?

How to send email from local wamp server using PHP?

二次信任 提交于 2019-11-26 12:44:56
问题 I need to send email messages from my localhost. I am using wamp server and my site is loaded on my own server, please could you suggest how to send emails using my localhost and PHP? 回答1: The mail() function usually doesn't work by default for things like WAMP. You will need to add details of your SMTP server to the php.ini file. Here is a nice tutorial: http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html 回答2: Here's the steps to achieve this:

where does MySQL store database files?

旧街凉风 提交于 2019-11-26 11:59:20
问题 I have uninstall wamp server and now I need my database to restore. How can I do this process? 回答1: In any case you can know it: mysql> select @@datadir; +----------------------------------------------------------------+ | @@datadir | +----------------------------------------------------------------+ | D:\Documents and Settings\b394382\My Documents\MySQL_5_1\data\ | +----------------------------------------------------------------+ 1 row in set (0.00 sec) Thanks Barry Galbraith from the MySql

WAMPServer, access server from mobile phone

折月煮酒 提交于 2019-11-26 11:56:21
So I set up a few virtual hosts with unique urls and they work just fine on the desktop. However, when I connect a mobile device on the network, it can't seem to access anything properly but the default localhost virtualhost and that's only when it's the only virtualhost I have up. My setup and coding is pretty much this except with a different site title wamp server 3.0 virtual host on another device and while that solution redirects me to my unique url, it has a lack of images on a default wordpress website. Has anyone managed to get mobile devices fully accessing links other than on

How to increase maximum POST variable in PHP?

别来无恙 提交于 2019-11-26 11:51:24
I'm using WAMP in my local machine, when a FORM(method="POST") with 2000 input fields is submitted I'm able to read only 1001 _POST variable. i.e With Netbeans debugger I can clearly see _POST size is always 1001 if there are more than 1001 input fields in the form. I used this http://ideone.com/GAw14 java code to generate form with N input fields and tested. The same is working fine in another machine(WAMP), where I can see all the POST variables. Please help me to solve my problem. PHP 5.3.9 introduced the max_input_vars config option, which is defaulted to a value of 1000. Check out the

Configure WAMP server to send email

你离开我真会死。 提交于 2019-11-26 11:34:39
Is there a way that I can configure the WAMP server for PHP to enable the mail() function? Configuring a working email client from localhost is quite a chore, I have spent hours of frustration attempting it. I'm sure someone more experienced may be able to help, or they may perhaps agree with me. If you just want to test, here is a great tool for testing mail locally, that requires almost no configuration: http://www.toolheap.com/test-mail-server-tool/ It worked right off the bat for me, hope this helps you. gianjey Install Fake Sendmail (download sendmail.zip ). Then configure C:\wamp

Fatal error: Call to undefined function sqlsrv_connect()

て烟熏妆下的殇ゞ 提交于 2019-11-26 11:24:36
I have come across quite a few post regarding the same subject question, however I am still unable to resolve it and so I ask. I am trying to connect to sql in my php script. My connection string is: /* Specify the server and connection string attributes. */ $serverName = "xxx-PC\SQLExpress"; $connectionOptions = array("Database"=>"Salesforce"); $conn = sqlsrv_connect($serverName, $connectionOptions); if($conn === false) { die(print_r(sqlsrv_errors(), true)); } I have installed and included the following in my php.ini file located under the wamp folder: C:\wamp\bin\php\php5.4.16 : extension=c: