xampp

php :Fatal error: Call to undefined function sqlsrv_connect()

我们两清 提交于 2019-12-06 05:30:25
I Have a big problem And I Wish get Solved for this problem here I Try to Connect to Sql Server 2008 R2 using: php 5.6.11 Xampp 5.6.3 Sql Server 2008 r2 Using sql server drivers for PHP (php_pdo_sqlsrv_56_ts.dl & php_sqlsrv_56_ts.dll) and my code to try connection is : $serverName = "Mahmoud-HP\SQL2008R2"; //serverName\instanceName $connectionInfo = array( "Database"=>"HR16", "UID"=>"Mahmoud", "PWD"=>"123" , "MultipleActiveResultSets" => false); $conn = sqlsrv_connect( $serverName, $connectionInfo); if( $conn ) { echo "Connection established.<br />"; }else{ echo "Connection could not be

XAMPP relative urls not working correctly

拈花ヽ惹草 提交于 2019-12-06 04:35:00
问题 on http://www.exampleSite.com/aPage.php, the following image loads correctly <img src="/images/sidenav/analysis-2.gif" /> but at http://localhost/exampleSite/aPage.php, it tries to get localhost/images/... instead of localhost/exampleSite/images/... My file structure is: C:\xampp\htdocs\exampleSite\ I have had this problem across multiple projects, and have previously resorted to absolute URLs, but now I am just trying to make some quick updates on a page, and I cannot view it correctly on my

Xampp - Can't start Apache after install SQL Server and Visual Studio

╄→гoц情女王★ 提交于 2019-12-06 04:34:27
问题 my computer was installed IIS and I using xampp without problem. But when i installed SQL Server and Visual Studio . My apache can't start . I check by cmd like and But i can't end task because it's disable. How can i make my apache run thanks. 回答1: I found my solution: Stop service SQL Server Reporting Services I see below thread http://www.lukebrowning.com/blog/nt-kernel-system-using-port-80/ 回答2: After install Sql server , there will be reporting services configuration manager which is

Installing Yaml in xampp windows

若如初见. 提交于 2019-12-06 04:29:28
I am trying to install YAML in XAMPP windows 64 bit Downloaded the .dll file from http://pecl.php.net/package/yaml/1.1.1/windows enabled the extension in php ini as follows extension=php_yaml.dll Restarted the Apache Getting the following error php startup unable to load dynamic library "\xampp\php\ext\php_yaml.dll" Is this is the right way or I am missing any thing ? Please help me After searched lot finally found a solution Go to https://github.com/LegendOfMCPE/LoM-CMS/wiki/How-to-Install-LibYAML See the below link under For windows http://search.4shared.com/postDownload/ComqwjFvce/php_yaml

apache service not stopping in xampp [closed]

自作多情 提交于 2019-12-06 03:43:00
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . I tried to stop the apache service in xampp, but it does not stop from running and it shows up an error "Busy...ERROR: -1" What is the cause of this problem of how do I resolve this? Thanks in advance. 回答1: What OS are you using? Are you using the XAMPP control panel? In windows press Start Run Type "Services

how to set environment variables in apache xampp ?

倖福魔咒の 提交于 2019-12-06 02:56:09
问题 I would like to add some environment variables in apache xampp in windows. I already tried the following : adding this in httpd.conf SetEnv ENVIRONMENT "setting" or, run this script putenv("ENVIRONMENT='setting'"); but that doesn't seem to work when I echo phpinfo(), there isn't ENVIRONMENT variable in the environment section 回答1: I know this is an old post and the OP already may has solved this by himself but for others: SetEnv ENVIRONMENT setting This would be the correct Syntax inside of

PHPMyAdmin Windows XAMPP Missing MySQL Extension Issue

雨燕双飞 提交于 2019-12-06 02:44:32
问题 I've tried install Apache, PHP, MySQL, and PHPMyAdmin manually and got the error. Then tried XAMPP and still got the error this error with PHPMyAdmin: The mysql extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><img class="icon" src="./themes/pmahomme/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a> I'm clueless of what the issue is. I've tried solutions on the web and none worked so

How to include JS/CSS files into templates of Slim Framework?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 02:31:25
I am developing a simple web app with Slim framework. I got stuck with a probably simple problem. I want to include static files (CSS and Javascript) into my template. My project folder structure is as follows: index.php //<=== where all the routing happens. /flot layout.css jquery.js .... /templates first_template.php My header of first_template.php contains: <link href="../flot/layout.css" rel="stylesheet" type="text/css"> <script language="javascript" type="text/javascript" src="../flot/jquery.js"></script> When I call the projects root url http://localhost/xampp/ProjectX/ (I'm using XAMPP)

how do I compile cURL with openSSL and nghttp2 on Windows x64?

醉酒当歌 提交于 2019-12-06 02:23:37
first question ever on here, so bear with me :) I've been on the web for the past 3 days trying to find a way to get the following result on my windows machine. example of 'cURL -V' output I need I've found a lot of stuff for macOS and unix, but only bits and pieces for Windows. I'm running xampp, and ultimately I'm trying to get it to send http/2 requests through cURL/PHP. What I've gathered so far is that I need cURL to be compiled with some libraries, like openssl (at least 1.0.2), libcurl with http/2 enabled, and nghttp2. I feel like I'm very close but I'm just missing some steps. What I

Mac Apache web server won't start anymore and can't find any web directories

别说谁变了你拦得住时间么 提交于 2019-12-06 01:38:49
问题 I'm on Mac Yosemite 10.10.5. Apache web server suddenly no longer starts. I tried changing the port to 8080. Also tried sudo apachectl stop and sudo apachectl start. Still won't open. I thought this may have happened after adding a new printer and enabling print sharing. I turned that off and it still won't start. I can't remember which command I ran that gave me this message with some more details. UPDATE: When I use sudo apachectl start , I noticed the server is accessible through the