wamp

sqlsrv_connect: Data source name not found and no default driver specified

时光总嘲笑我的痴心妄想 提交于 2019-12-02 08:10:47
I am facing difficulties in connecting PHP with SQL SERVER 2008 running on a remote computer. I have php version 5.4.3 and apache 2.2.22. I already have SQL SERVER 2008 running on my computer. I have following files included in my wamp\bin\php\php5.4.3\ext folder: php_sqlsrv_54_ts.dll php_pdo_sqlsrv_54_ts.dll On running simple code like $conn = sqlsrv_connect( $serverName, $connectionInfo); if( $conn ) { echo "Connection established.\n"; } else { echo "Connection could not be established.\n"; die( print_r( sqlsrv_errors(), true)); } I am getting following error: Connection could not be

Notice: Undefined property: MongoDB\Driver\Manager::$mydb in [Path] in wamp server

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 08:00:41
问题 I want to run mongo from php I am using MongoDB 64 bit , WampServer 64 bit , Apache Version: 2.4.18 and PHP Version: 5.6.19 . I also added mongodb.dll extension in php.ini of PHP as well as in php.ini of apache . I have also installed Composer and run the command composer require "mongodb/mongodb=^1.0.0" On running the code below I am getting this error: Connection to mongo is successful and db is also selected then why this error? require 'vendor/autoload.php'; // connect to mongo $m = new

How to properly pass form data in php?

纵饮孤独 提交于 2019-12-02 07:21:32
I'm using php to build a small form that requires passing 2 variables for processing. I got the example off w3schools and although the info gets passed in the URL, the php form doesn't process it in any way (let alone extract it). I'm just wondering if there might be anything wrong with my WAMP server. <html> <body> welcome Welcome <?php echo $_GET["fname"]; ?>.<br /> You are <?php echo $_GET["age"]; ?> years old! </body> </html> HTML form: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org

Call to undefined function curl_init() error with WAMP

♀尐吖头ヾ 提交于 2019-12-02 07:21:25
I know that it's a very often asked problem, but I've tried all that I found and it still doesn't work. I use WAMP 2.2 on Windows 7 (64 bits), and PHP 5.4.3. When I call curl_init() in localhost, I've this error message : Call to undefined function curl_init() What I've done : Check php_curl in PHP extensions of WAMP Restart WAMP many times Remove ; before extension=php_curl.dll in my two php.ini files Check extension_dir = "c:/wamp/bin/php/php5.4.3/ext/" in my two php.ini files Restart WAMP many times Change the DLL for this supposedly corrected DLL http://www.anindya.com/php-5-4-3-and-php-5

Problems in installation of magento on wamp

故事扮演 提交于 2019-12-02 07:13:52
问题 Hello guys can anyone help me with the issue im having with installation of magento. my problem is that i have downloaded the magento on wamp and during my installation i got the error and the msg it si giving is FATAL ERROR : Maximum execution time of 60 sec exceeded in c:\wamp\www\magento\lib\varien\db\adapter\pdo\mysql.php on line 276. plz provide me with the solution any one coz im stuck on this for long enough thanks in advance 回答1: Modify your php.ini with this setting: max_execution

Problems in installation of magento on wamp

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 06:52:28
Hello guys can anyone help me with the issue im having with installation of magento. my problem is that i have downloaded the magento on wamp and during my installation i got the error and the msg it si giving is FATAL ERROR : Maximum execution time of 60 sec exceeded in c:\wamp\www\magento\lib\varien\db\adapter\pdo\mysql.php on line 276. plz provide me with the solution any one coz im stuck on this for long enough thanks in advance Modify your php.ini with this setting: max_execution_time = 1800 I also modify the memory limit allocated to php when using Magento memory_limit = 512M

WAMP Server not displaying images

别说谁变了你拦得住时间么 提交于 2019-12-02 06:01:41
I'm having a problem which I don't know what to search in google. Basically I have installed WAMP server and Installed OPen Cart I am able to view my ECommerce site on my local computer but when I open it in on a remote computer it doesn't load any images. It only shows texts My scenario: if I load the PHP page at http://192.168.1.101/ it works fine. I am able to view the WAMP server page which I put in the root directory but when i load the ecommerce pages at http://192.168.1.101/clothing/ it doesn't load the images. As if the PHP scripts are not working on it. Funny thing is it works fine on

Can't access localhost or phpMyAdmin with WAMP

人盡茶涼 提交于 2019-12-02 04:26:31
I'm running Apache v2.2.21, PHP v5.38, and MySQL v5.5.16. The WAMP icon is green. As the post title says, I can't access either localhost or phpMyAdmin from the WAMP systray icon menu, nor can I by typing http://127.0.0.1/index.php in a browser. Clicking on either localhost or phpMyAdmin gives me the error message "Unable to connect - Firefox can't establish a connection to the server at 127.0.0.1." I do have Skype and I know there are issues with Skype and WAMP port conflicts, so I quit Skype, and tried it, but got the same results. At first the WAMP icon was always orange, but some searching

I'm getting an error in wamp about PHP path [duplicate]

给你一囗甜甜゛ 提交于 2019-12-02 03:46:24
This question already has an answer here: How To Run PHP From Windows Command Line in WAMPServer 11 answers When I start wamp it shows me this error about the PHP path but I don't even have this PHP version on my computer. Sorry, There is an error. There is Wampserver path (c:/wamp64) into Windows PATH environnement variable: (C:\wamp64\bin\php\php7.2.4) It seems that a PHP installation is declared in the environment variable PATH C:\wamp64\bin\php\php7.2.4 Wampserver does not use, modify or require the PATH environment variable. Using a PATH on Wampserver or PHP version is detrimental to the

WAMP 2.5 X64 Not working

冷暖自知 提交于 2019-12-02 03:03:09
问题 I get the error... The program can't start because MSVCR110.dll is missing from your computer. I have installed both Microsoft Visual C++ 2010 Redistributable Package x64 and x32 bit. I don't know what else to do. Because I'm still getting the error. Is there anything else I can try? 回答1: You do not need to install the full Visual Studio Compile. You need to have these MSVC runtimes installed, it looks like you were missing the MSVC11 (2012) runtime. What you need : The 2008 Redist (32bit) is