wampserver

wamp server locally denied?

假如想象 提交于 2019-12-10 10:24:15
问题 I have just installed Wamp Server 2 to my pc. and I cannot access phpmyadmin, or even index.php at root directory, it all gives 403 Forbidden. I have also tried to change permission from alias.conf it did not work. Do you have any idea how to solve this, or any offer is worth to try, please share. Thanks in advance. PS: OS: W7, antivirus KasperSky, windows firewall off. EDIT: restarting wamp solved phpmyadmin access but directory access (ie: http://localhost/index.php ) is still forbidden.

How to downgrade Wampserver PHP?

放肆的年华 提交于 2019-12-10 10:17:39
问题 I see everywhere for downgrade php on wampserver I just have to do left click wamp> php>version> get more> And dowload the version I want. But when I do it I arrive on this page and I don't see any link for download an other php version. I only can download a file php5.2.4.isson this page So fine I dowload it on php.net and I unzip the archive in my folder "C:\wamp\bin\php\php5.2.4" Next I copy the files wampserver.conf, php.ini and phpForApache.ini from my folder "C:\wamp\bin\php\php5.5.12"

sqlsrv drivers doesn't appear on a WAMP server phphinfo() after adding the extension entries in the php.ini file

亡梦爱人 提交于 2019-12-10 04:26:47
问题 I wanted to setup a database connection from PHP to SQL server 2012.I have a wamp server(64 bit) set up on a windows machine(64 bit) with PHP 5.5.12 and on the same machine I have SQL server 2012 installed. Extracted sqlsrv drivers from official_link Copied the extracted drivers php_sqlsrv_55_ts.dll, extension = php_pdo_sqlsrv_55_ts.dll to php\ext folder, and then changed the php.ini file to include the extensions extension = php_sqlsrv_55_ts.dll; extension = php_pdo_sqlsrv_55_ts.dll; Now I

Codeigniter : Showing error as ' Unable to select the specified database: project' in Windows XP

僤鯓⒐⒋嵵緔 提交于 2019-12-10 04:22:44
问题 I am using Windows XP and using EasyPHP as a server. I have integrated Codeigniter with TankAuth. But, when I try to open my assignment folder, it shows error as follows: Unable to select the specified database: project Filename: C:\Program Files\EasyPHP-12.1\www\assignment\system\database\DB_driver.php Line Number: 140 The code inside my database .php is as follows" $active_group = 'default'; $active_record = TRUE; $db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'root'

Giving script timeout passed on database import

对着背影说爱祢 提交于 2019-12-10 04:12:12
问题 I am using wamp server.I am trying to import the database in phpmyadmin. but its showing Script timeout passed, if you want to finish import, please resubmit same file and import will resume. And if i check the database tables only few tables are imported..How to resolve this.Thanks in advance 回答1: Add following code $cfg['ExecTimeLimit'] = 0; in your phpmyadmin config.inc.php and it will solve your timeout problem, this should work on both XAMPP and WAMP 回答2: Its quite common when importing

After having installed WAMP, php files download when accessed through the browser instead of being run

爱⌒轻易说出口 提交于 2019-12-10 02:09:38
问题 After having installed WAMP, I successfully accessed http://localhost/index.php which is the WAMP index page. So Apache is working properly. I then copied my code into C:/wamp/www/mycode/ and tried to access it through http://localhost/mycode/somepage.php. Instead of running the script it downloads it at this point. Moving the files to C:/wamp/www/somepage.php works perfectly fine though, so for some reason it won't allow me to have files in a subdirectory of the root folder. My httpd.conf

How to setup and run Python on Wampserver?

*爱你&永不变心* 提交于 2019-12-09 15:14:03
问题 Can anyone help me to set up Python to run on Wampserver. From what I've read so far you would need to use a combination of Wampser, Python, mod_pyhton, and adjustment to the Apache http.conf file. I've tried it but i belive i am having conflict when it comes to versions. Does anyone know of a cobination of versions that can work so that i can do some local python development using my wampserver? Links to the download would be greatly appreciated. My current config: Wampserver 2.0c => Apache

安装wampserver 计算机丢失msvcr100.dll

霸气de小男生 提交于 2019-12-09 10:06:56
刚刚重新安装了Windows 7 64位系统,再安装Wampserver 2时却提示系统错误,如下图所示: 在网上下载了MSVCR100.dll放到system32文件夹下依然没有用。 百度搜索了一下,从一个论坛里面得知这种问题是由于没有安装VC++运行库,从网上下载了很多版本的VC++运行库,始终无果。 于是到wampserver官网准备下载一个32位的wampserver2,在不经意间发现这么一段文字,如图: 于是顺着图中的链接来到微软官网下载了VC10,安装VC10后(最好安装完后重启一下电脑),再将之前安装的wampserver2卸载,再安装(注意:不能覆盖安装) 就可以正常运行了。 估计是因为之前安装的VC版本低了,才导致安装的时候提示丢失MSVCR100.dll文件。 如果安装其他软件也是同样的提示情况,估计也是这个原因,以下分别是32位与64位的VC10下载地址: VC10 SP1 vcredist_x86.exe 32 bits : http://www.microsoft.com/download/en/details.aspx?id=8328 VC10 SP1 vcredist_x64.exe 64 bits : http://www.microsoft.com/download/en/details.aspx?id=13523 来源: https://www

wampserver安装

江枫思渺然 提交于 2019-12-09 10:06:41
WampServer的下载地址:https://sourceforge.net/projects/wampserver 安装教程:https://jingyan.baidu.com/article/4b52d702cb7792fc5c774bed.html 安装wampserver时提示丢失MSVCR***.dll,网上查找资料说丢失了就重新下载一个放到对应目录,但解决一个又出现一个新的丢失。之后网上一直百度,才知道这个丢失的MSVCR***.dll是什么东西,知道为什么经常安装一个软件后会发现软件管理中突然出现了vc++**** MSVCR***.dll是VC++运行库,不同软件不要的运行库不同,可以按需要下载对应的vcredist_x32.exe或vcredist_x64.exe 。 vcredist_x64.exe 和vcredist_x86.exe下载地址:http://www.microsoft.com/zh-cn/download/details.aspx?id=30679 msvcp、msvcr、vcomp140.dll属于VC++2015版  msvcp、msvcr、vcomp120.dll属于VC++2013版  msvcp、msvcr、vcomp110.dll属于VC++2012版  msvcp、msvcr、vcomp100.dll属于VC++2010版 

Wrong PHP date() output in wamp server

你离开我真会死。 提交于 2019-12-08 15:29:29
问题 The problem is that date('r') returns wrong time for my timezone. php.ini timezone setting: date.timezone = Europe/Kiev date_default_timezone_set('Europe/Kiev') in my script solves the problem. So what's wrong with WAMP? 回答1: I suggest always using date_default_timezone_set() from script e.g. date_default_timezone_set('Europe/Kiev'); or ini_set('date.timezone', 'Europe/Kiev'); ...to avoid PHP guessing timezone. It comes handy when you transfer code to different server(s), for example, outside