xampp

How to connect to remote MSSQL database using php 5.5.19

我是研究僧i 提交于 2019-12-24 13:50:31
问题 I have had a problem trying to establish a connection to a MSSQL database I created in Microsoft SQL Server Manager 2008 R2 using php 5.5.19 in XAMPP. In the php.ino configuration file under extensions, there is commented out a ';extension=php_mssql.dll'. I removed the comment and ran apache in the xampp control panel. Naturally an error occurred stating ''PHP Startup: Unable to load dynamic library '..\ext\php_mssql.dll cannot be found'. I looked in the ext directory and sure enough it wasn

XAMPP - PHP not parsing on virtualhost

[亡魂溺海] 提交于 2019-12-24 13:43:03
问题 I've set up a virtual host for my local machine. This is what I have in my /etc/hosts file: 127.0.0.1 localhost local.dev 127.0.1.1 tomica-ubuntu # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters This is configuration for that virtual host in my /opt/lampp/etc/extra/httpd-vhosts.conf : <VirtualHost *:80> DocumentRoot "/opt/lampp/htdocs/dev" ServerName local.dev <

Can't upload file using XAMPP

邮差的信 提交于 2019-12-24 13:08:45
问题 I have to create a CMS for a webstore for a webscript unit i'm taking. I have to upload a photo of the product but i keep getting and error when i try to upload. I search it a lot and tried a lot of things, i changed the folder to read & write, i did the 'chmod -R 777...', nothing. I'm starting to think the problem is with my code. I appreciate all help, thanks! I always this error: Warning: File upload error - unable to create a temporary file in Unknown on line 0 <?php $dbhost = '127.0.0.1'

Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity

谁说胖子不能爱 提交于 2019-12-24 11:56:54
问题 I was using this piece of php script in a application running under over XAMPP on my local machine: $dom = new DomDocument(); $filename = "library.xml"; if (!$dom->load($filename)) die("Could not parse iTunes XML file: ".$filename); Then i tried to move this application to a WampServer without success, with the following warning: Warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "file:///C:/wamp/www/parser/library.xml" in C:\wamp\www\parser\includes

Can't start MySQL after changing root password with XAMPP

不问归期 提交于 2019-12-24 11:31:04
问题 Still remains unsolved. Having an issue with trying to change the root and pma password on an XAMPP setup so that I can access it remotely. Regardless, it's bad practice and insecure to leave it without a password anyway. (This is for Windows Server 2016). So far, I have had to reinstall XAMPP four times to restart this issue, and after six hours of debugging I'm about to go insane. I've tried following the HOW-TO, by setting the password using the shell. The password successfully changes. I

Using curl in XAMPP local enviroment not running

ぃ、小莉子 提交于 2019-12-24 09:41:17
问题 I have got quite a strange issue that is only occurring on my local XAMPP install. I have a script to extract data from a page using curl to open it as googlebot then using str_get_html() from simple_html_dom to extract DOM elements. I am getting the following error: Fatal error: Call to a member function find() on a non-object in C:\xampp\htdocs\scraper\facebook.php on line 49 Top part of my function here (this function is very long so not going to post it all, will only post to the error):

PHP script receives GET instead of POST REQUEST

醉酒当歌 提交于 2019-12-24 08:39:32
问题 I am using PHP with XAMPP and Dialogflow to create a chat interface. In a simple intent(question) in Dialogflow, I have created a webhook to XAMPP regarding the question 'Who is X' (e.g. Paul, George). Therefore , I place a POST REQUEST in order to have access to the json form of this question in DIalogflow so that I can answer it as I want to. Specifically, the ultimate goal of this is to retrieve some data from a MySQL database in phpMyAdmin about this question and respond for example that

XAMPP Error Solution? I have that installed on my Windows XP Dual Boot Machine

旧城冷巷雨未停 提交于 2019-12-24 08:25:10
问题 My system is dual boot, Win-XP Professional (32-bit) an Win-7 (64-bit) . I have XAMPP installed on my XP OS ( C:/XAMPP ). I want to use the same htdocs directory for testing the php on my windows also. But when I am installing the XAMPP on the same directory, I am getting this error. Important! Because an activated User Account Control (UAC) on your sytem some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:\Program Files (x86) (missing write

XAMPP Server does not load CSS files [duplicate]

♀尐吖头ヾ 提交于 2019-12-24 07:04:17
问题 This question already has answers here : How to force a browser to show the latest changes to a CSS file? (3 answers) Closed 2 years ago . Actually I'm working on a small projects with XAMPP server, Most of the times I have this crazy problem,When I change anything in my CSS file it doesn't any effect but when I restart my XAMPP apache server several times it works fine. anyone knows how I can fix this problem permanently? 回答1: Are you using browser caching? Maybe just try a hard refresh CTRL

Xampp vhosts do not work

与世无争的帅哥 提交于 2019-12-24 06:58:31
问题 I have trouble with xampp. Having installed it, my virtual hosts do not want to work at all. When i am trying to access http://localhost/ - works good. But if i type something else, like http://laravel.dev it gives me an error. hosts # Copyright (c) 1993-2009 Microsoft Corp. # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed