wampserver

How to use .htaccess in WAMP Server?

本秂侑毒 提交于 2019-11-26 12:02:32
问题 I searched in web for 2 days and I try to use htaccess in my local wamp but I can\'t! I know there is something wrong but I don\'t know where... First: I activated \" rewrite_module \" in the apache menu, then I checked the phpinfo page and I saw that module added to its \" Loaded Modules \" part. Second: I checked the httpd.conf and made some changes, it is the result (just important parts): ServerRoot \"c:/program Files/wamp/bin/apache/apache2.2.11\" Listen 80 ServerName localhost:80

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

Can't import database through phpmyadmin file size too large

依然范特西╮ 提交于 2019-11-26 11:55:28
问题 I have been trying to import Database through phpMyAdmin. My database file is a.sql and it\'s size is 1.2 GB I am trying to import this on local and phpMyAdmin is saying: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit. Please help I really need this to work. 回答1: Its due to PHP that has a file size restriction for uploads. If you have terminal/shell access then the above answers @Kyotoweb will work. one way to get it done is that

php mail() function on localhost

随声附和 提交于 2019-11-26 11:52:23
I have problem with php mail() function on localhost server. I can't test my email application on localhost when i'm trying to send emails with php function mail() . I'm getting this error Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in F:\wamp\www\product\ajax.php on line 64 I'm using WAMP server and if anyone knows solution please help me. You need to setup a mail server on your machine for the mail function to work. If you are on Windows (which I am guessing you are from your

Access denied for user 'root'@'localhost' with PHPMyAdmin

只愿长相守 提交于 2019-11-26 08:14:42
问题 When I set the root password in PHPMyAdmin, I get this error: #1045 - Access denied for user \'root\'@\'localhost\' (using password: NO) I can\'t open the PHPMyAdmin panel. What am I doing wrong? 回答1: Edit your phpmyadmin config.inc.php file and if you have Password, insert that in front of Password in following code: $cfg['Servers'][$i]['verbose'] = 'localhost'; $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['port'] = '3306'; $cfg['Servers'][$i]['socket'] = ''; $cfg['Servers'

Edit php.ini file

爱⌒轻易说出口 提交于 2019-11-26 07:47:54
问题 I want to increase memory_limit , max_input_time , max_execution_time in WAMP server. There is 3 php.ini files. 1. C:\\wamp\\bin\\apache\\Apache2.4.4\\bin\\php.ini<br> 2. C:\\wamp\\bin\\php\\php5.4.12\\php.ini<br> 3. C:\\wamp\\bin\\php\\php5.4.12\\phpForApache.ini<br> so Which php.ini file should be edit in WAMP server? 回答1: The wampmanager icon, which sits in the system tray has a menu system. Use that to edit your php.ini file that is used with Apache. So its (left click ) wampmanager icon

jQuery Ajax request from local filesystem (Windows file:///)

廉价感情. 提交于 2019-11-26 06:44:05
问题 I\'m trying to do an ajax request to get the contents of \"http://localhost/\" running on Windows Wamp Server. The script is running from something like this: file:///C:/my/path/index.html I\'m just using a standard $.ajax request to try and get the contents of localhost: $.ajax({ type: \'GET\', url: \'http://localhost/\', success: function(data) { alert(\'success\'); }, error: function (data) { alert(\'failed\'); } }); I can\'t get it to be successful though... Seems to be some problem with

WampServer orange icon

旧巷老猫 提交于 2019-11-26 05:56:29
问题 I am having problems with Wamp Server, the icon will never turn green. It is constantly stuck at orange. I have tried many ways, editing HOSTS file, .config files, disabling IIS, changing SKYPE\'s port, quitting SKYPE, disabling World Wide Web publishing services etc... And under wamp server icon > Apache > Test port 80, it states that Apache is using that port. I am running Windows 8 64 bit and Wamp Server 2.4. Any help would be appreciated. 回答1: Before you can fix anything you need to know

WAMP port 80 busy

你离开我真会死。 提交于 2019-11-26 04:19:48
问题 I have installed WAMP on Windows 7 64-bit. When I try to start it, it says port 80 is used by \"Server: Microsoft HTTPAPI/2.0\". I have checked and IIS is not installed. What should I do? 回答1: This problem can be also from SQL Server Reporting Services . You need to stop/disable this service from: Control Panel->System and Security->Administrative Tool->Services and stop the service named SQL Server Reporting Services (InstanceName) Open SQL Server Configuration Manager -> SQL Server Services

WAMP shows error &#39;MSVCR100.dll&#39; is missing when install

耗尽温柔 提交于 2019-11-26 04:07:05
问题 When I tried to install WAMP , that popped up the following alert, I clicked OK , it continued to install WAMP. When I start, the WAMP logo is always \'yellow\'. It isn\'t turning \'green\', meaning there\'s something wrong. What exactly is the MSVCR100.dll file? How do I obtain it and fix this error? 回答1: The MSVCR100.dll file is part of the Microsoft Visual C++ , redistributables. You can install them and see if this solves your problem. After you install the above check if your wamp