wamp

why wamp server put online/ offline option is missing?

一曲冷凌霜 提交于 2019-11-26 10:59:14
问题 I\'m using windows 8. recently i\'ve installed wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15. but the put online/offlline option is missing. I did wamp manager->wamp settings->menus item online/offline. it doesn\'t work also. there is no green the green mark beside this option. What to do? 回答1: Its not missing it is now an optional menu Right click Wampmanager -> WAMPSetting -> Menu Item: Online/Offline If you click it so there is a Tick beside it, you will see the Online/Offline menu on

Running Composer returns: “Could not open input file: composer.phar”

早过忘川 提交于 2019-11-26 10:09:38
问题 I am new to symfony2 and reading symblog. In third chapter while trying with data-fixtures I tried the command: php composer.phar update but I got the error: Could not open input file: composer.phar So I googled a little and tried php composer.phar install but still getting the same error. So please guide how to deal with this composer to install new extentions or bundles like data-fixtures in symfony2 using wamp. 回答1: If you followed instructions like these: https://getcomposer.org/doc/00

ERROR: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it

爷,独闯天下 提交于 2019-11-26 09:53:04
问题 An error suddenly occurred while I was debugging my code. It has this series of errors regarding the connection to database. ERROR: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. ( ! ) Fatal error: Uncaught exception \'PDOException\' with message \' in C:\\wamp\\www\\web\\main\\users.php on line 15 ( ! ) PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. in C:\\wamp\\www\\web\

intl extension php_intl.dll with wamp

荒凉一梦 提交于 2019-11-26 09:45:47
问题 I want to use Moodle, but I get an error during the installation process: php_extension->intl->should be installed and enabled for best results. Intl extension is used to improve internationalization support, such as locale aware sorting. When I click on the link, I get the error message above: http://docs.moodle.org/24/en/admin/environment/php_extension/intl I followed that link, but I still get the same error. If anyone has any ideas, please help me out. 回答1: I had the same problem a few

#1045 - Access denied for user 'root'@'localhost' (using password: YES)

半腔热情 提交于 2019-11-26 09:08:48
问题 This might seem redundant but I was unable to find a correct solution. I was unable to login to mysql using the mysql console.It is asking for a password and I have no clue what I actually entered.(Is there a way to get the password or change it?) This is how my config.inc look. When I try to open phpmyadmin I get this error(#1045 - Access denied for user \'root\'@\'localhost\' (using password: YES)) <?php /* Servers configuration */ $i = 0; /* Server: localhost [1] */ $i++; $cfg[\'Servers\']

step-by-step instructions for installing IMAGEMAGICK on WAMP?

百般思念 提交于 2019-11-26 08:58:04
问题 There don\'t seem to be any concise tutorials/walk throughs for installing ImageMagick on WAMP for use with PHP. I\'ve tried dozens of combinations of their binary releases with different php extension dll files. I can get imagemagick working fine from the command line, and I can get it to show as ticked in the WAMP extensions, but can\'t actually use it. Has anyone come across a good guide for installing this ball ache piece of software? I\'ve followed http://www.knowledge-transfers.com/it

Change PHP version used by Composer on Windows

坚强是说给别人听的谎言 提交于 2019-11-26 08:37:12
问题 I have already use WAMP 2.5 with PHP 5.5.12, and with Composer. The php is on: C:\\wamp\\bin\\php\\php5.5.12 For new project, I need to use nginx and installed PHP 7. The php is on: C:\\nginx\\php Now, using GitBash MINGW32, I tried to install laravel 5.3 using Composer create-project but it said [InvalidArgumentException] Could not find package laravel/laravel with version 5.3 in a version installable using your PHP version 5.5.12. I already put both C:\\wamp\\bin\\php\\php5.5.12 and C:\

SOAP PHP fault parsing WSDL: failed to load external entity?

ε祈祈猫儿з 提交于 2019-11-26 07:46:36
问题 I\'m trying to run a web service using PHP & SOAP, but all I\'m getting so far is this: (SoapFault)[2] message which states: \'SOAP-ERROR: Parsing WSDL: Couldn\'t load from \'http://localhost/MyRegistration/login.xml\' : failed to load external entity \"http://localhost/MyRegistration/login.xml\" I\'ve tried changing localhost to 127.0.0.1, but that makes no difference. login is actually a wsdl file, but if I put login.wsdl in the SOAPClient constructor, it says \"\'looks like we got no XML

RegExp in preg_match function returning browser error

天大地大妈咪最大 提交于 2019-11-26 07:32:22
问题 The following function breaks with the regexp I\'ve provided in the $pattern variable. If I change the regexp I\'m fine, so I think that\'s the problem. I\'m not seeing the problem, though, and I\'m not receiving a standard PHP error even though they\'re turned on. function parseAPIResults($results){ //Takes results from getAPIResults, returns array. $pattern = \'/\\[(.|\\n)+\\]/\'; $resultsArray = preg_match($pattern, $results, $matches); } Firefox 6: The connection was reset Chrome 14:

How to enable memcache in WAMP

邮差的信 提交于 2019-11-26 07:26:33
问题 How to install memcache in WAMP? I don\'t find any php_memche in php.ini . What do I do now? @Ryan thanks for your step, now memcache enabled in WAMP, i have cross checked in the PHPINFO as well. memcache is displaying. i have tried below example memcache sample. but throwing error. <?php $memcache = new Memcache; $memcache->connect(\'localhost:8085\', 11211) or die (\"Could not connect\"); $version = $memcache->getVersion(); echo \"Server\'s version: \".$version.\"<br/>\\n\"; $tmp_object =