wampserver

Aestan Tray Menu Error [duplicate]

你说的曾经没有我的故事 提交于 2019-12-01 04:08:30
问题 This question already has answers here : Not able to launch WAMP - Aestan Tray Menu has stopped working (10 answers) Closed 5 years ago . i installed the wamp server 2.2e in windows xp. when i start the wamp server it displays the windows error(Aestan Tray Menu has encountered a problem and needs to close. We are sorry for the inconvenience). Can anyone advise how to resolve this issue 回答1: Before you install Wamp! If already installed, then UNINSTALL WAMP(you can backup folders WWW and BIN

How to config .htaccess files of CakePHP in WampServer?

二次信任 提交于 2019-12-01 03:48:47
问题 I'm absolutely confused about what I must do to run my sample in CakePHP... I'm using WAMP Server and it is located in "C:/program files/wamp/" and I use another partition for my projects: "E:/Projects/". there is a folder for Learning CakePHP: " E:/Projects/cakephp/ ". I've put all the CakePHP extracted contents in that folder ( consist of: index.php, .htaccess, readme.txt and folders: app, cake, plugins, vendors )... First, I set an alias name ( test ) in Apache that pointed to " E:

PHP 7.1.x - mysqli_connect Isn't Defined (Extension is turned on)

元气小坏坏 提交于 2019-12-01 03:01:02
问题 Background I have WAMP Server (3.0.6) installed on my Windows 10 computer. I am developing a WordPress site using a few custom MySQL tables, so I'm using $wpdb . Problem I was running on PHP 7.0.10, and everything was fine. This morning, I installed PHP 7.1.4, and suddenly I got this error: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in ...\wp-includes\wp-db.php:1573 I dug into it and traced the issue back to the __construct() function, and this if statement: if (

how to access phpmyadmin remotely

蹲街弑〆低调 提交于 2019-12-01 00:54:52
问题 Is it possible to access phpmyadmin from outside the network? Where do I set it? I tried editing httpd.conf, and restarted all services from wampserver but it doesn't work <Directory /> Options FollowSymLinks AllowOverride None Order Allow,Deny Allow from all </Directory> 回答1: Go to C:\wamp\alias and edit the file phpmyadmin # to give access to phpmyadmin from outside # replace the lines # # Order Deny,Allow # Deny from all # Allow from 127.0.0.1 # # by # # Order Allow,Deny # Allow from all

Pear error messages with PHP5.3.0

时光毁灭记忆、已成空白 提交于 2019-11-30 23:21:14
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 Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\PEAR\PEAR\Config.php

PHP开发环境搭建

你说的曾经没有我的故事 提交于 2019-11-30 22:35:09
0.软件准备 软件介质:idea 2018版本、Wampserver 64位版本 1.给idea安装php插件 依次进入File-->Settings-->Plugins-->Browse repositories下,搜索php插件,并安装之;装完插件需要重启idea; 2.给idea做php配置 1)依次进入File-->Settings-->Languages & Frameworks-->PHP下,设置PHP language level、CLI interpreter(两处设置版本需要对应起来); 2)在Debug目录下,有Xdebug属性,设置其Debug port(ps:该端口需要和Wampserver中php版本的php.ini文件的端口配置一致); 3)在Debug目录下,有DBGp Proxy属性,分别设置IDE key(此key需要和php.ini文件中的key配置相同)、Host(同前)、Port(同前); 4)在步骤(1)的目录下,有servers属性,添加一个server,Name随意、host(同前)、port(填写服务上默认端口,若未修改,默认是80)、Debugger(选择Xdebug) 3.给Wampserver做配置 1)Wampserver中集成了多个版本的php,选择步骤2->(1)设置的版本进行配置 2)配置php.ini,其中idekey

How can I change my MySQL collation in WAMPSERVER

扶醉桌前 提交于 2019-11-30 21:59:01
How can I change my MySQL collation in WAMPSERVER from latin1_swedish_ci to UTF-8 because I think my HTML special characters are getting all messed up You could use set names 'utf8' each time you open a connection. Or add the following line to your my.ini file and restart your server. default-character-set=utf8 If you've already got tables set up you'll need to alter them too you can alter them with: ALTER TABLE tablename COLLATE utf8_general_ci etc or pop into phpmyadmin and do it there. Remember if you alter database collation it'll only affect new tables created after that not pre-existing

php 5.3 fwrite() expects parameter 1 to be resource error

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 21:50:16
I am using wamp server. I try to write into the file but it is giving such error: "Warning: fwrite() expects parameter 1 to be resource, boolean given ". How can I solve it? $file = 'file.txt'; if (($fd = fopen($file, "a") !== false)) { fwrite($fd, 'message to be written' . "\n"); fclose($fd); } Move parentheses: if (($fd = fopen($file, "a")) !== false) { fwrite($fd, 'message to be written' . "\n"); fclose($fd); } Your code assigned the result of (fopen($file, "a") !== false) (i.e. a boolean value) to $fd . Do one thing at a time, because there is no rush and enough space: $file = 'file.txt';

Using PHP 7 with WAMP

三世轮回 提交于 2019-11-30 18:49:17
My OS is Windows 10 Pro x64 and I have installed VC14 packages x86 and x64. I have added a php7.0.0 directory to wamp/bin/php , copied files php.ini , phpForApache.ini and wampserver.conf , and modified the directories and php extensions in these files. There is my wampserver.conf : <?php $phpConf['phpIniDir'] = '.'; $phpConf['phpExeDir'] = '.'; $phpConf['phpConfFile'] = 'php.ini'; //PHP 7 needs Apache 2.4.x and doesn't works with Apache 2.2.x $phpConf['apache']['2.4']['LoadModuleName'] = 'php7_module'; $phpConf['apache']['2.4']['LoadModuleFile'] = 'php7apache2_4.dll'; $phpConf['apache']['2.4'

Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration

懵懂的女人 提交于 2019-11-30 17:10:58
I've just installed the latest version of WAMP on my dev machine, and I can't get it to work. Getting this weird error. C:\wamp\bin\apache\Apache2.4.4\bin>httpd.exe AH00526: Syntax error on line 224 of C:/wamp/bin/apache/Apache2.4.4/conf/httpd.conf: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration C:\wamp\bin\apache\Apache2.4.4\bin>httpd.exe -v Server version: Apache/2.4.4 (Win64) Server built: Feb 22 2013 22:08:37 This is the config at line 224: 222: <Directory /> 223: AllowOverride none 224: Require all granted 225: </Directory>