xampp

XDebug not working with xampp

£可爱£侵袭症+ 提交于 2019-12-07 12:05:00
问题 I'm using (or trying to anyway) use the bundled XDebug with XAMPP 1.7.2. It comes bundled with Apache 2.2.12, PHP 5.3.0, XDebug 2.0.5 and Zend (not sure on version) This is a totally fresh install of XAMPP, the only thing I've added to php.ini (at xampp/php/php.ini) is: zend_extension_ts = "C:\xampp\php\extensions\php_xdebug.dll" [xdebug] xdebug.auto_trace = 1 xdebug.collect_includes = 1 xdebug.collect_params = 1 xdebug.collect_return = 1 xdebug.default_enable = 1 xdebug.extended_info = 1

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

情到浓时终转凉″ 提交于 2019-12-07 11:53: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

Backbone.js router using pushstate with XAMPP apache server on localhost

纵饮孤独 提交于 2019-12-07 11:43:46
问题 I'm trying to get backbone.js's router to work with my XAMPP apache server on localhost. I need to prevent apache from evaluating the directory paths that are supposed to go to the router and just forward everything to /test_backbone/index.html . I've tried everything that I could find, nothing works. Currently, I have this in httpd.conf file: # html5 pushstate (history) support: <ifModule mod_rewrite.c> Options +FollowSymLinks IndexIgnore */* # Turn on the RewriteEngine RewriteEngine On #

notfound.html is not found

冷暖自知 提交于 2019-12-07 07:09:03
问题 Pretty sure based on various examples (like the one here) I set things up correctly: 1) I created a file 'notfound.html' in the root directory of my site 2) I'm running xampp, ie. Apache web server, so based on the stuff I've read, Apache looks for a notfound.html in the root directory of a site when a non-existent page is typed in the browser, such as www.mysite.com/NotAValidPage.html and uses that notfound.html for the 404 error message Here's what I've tried and the result of each attempt:

Is there a way to disable browser cache for a single page?

巧了我就是萌 提交于 2019-12-07 05:21:17
问题 For a small intranet site, I have a dynamic (includes AJAX) page that is being cached incorrectly by Firefox. Is there a way to disable browser caching for a single page? Here's the setup I'm using: Apache under XAMPP, running on a Windows server PHP Clarification The content that I'm primarily concerned about is page text and the default options in some <select> s. So I can't just add random numbers to the end of some image URLs, for example. Update: I followed the suggestions I've gotten so

Writing to php://stderr

半城伤御伤魂 提交于 2019-12-07 05:13:44
问题 I'm trying to get the use of php://stderr for writing logs to work. I'm using Slim framework which makes use of @fopen('php://stderr', 'w') for logging and really want this to work. The following test cases should work but only the first one does: // 1. error_log - works fine error_log("Written through the error_log function", 0); // 2. PHP wrapper, ie php://stderr - does not work $stderr = fopen( 'php://stderr', 'w' ); fwrite($stderr, "Written through the PHP error stream" ); fclose($stderr)

Can't install Xdebug on XAMPP and Windows XP

耗尽温柔 提交于 2019-12-07 04:01:08
问题 I know, this has been asked several times, but the answers did not solve my problem. I am running XAMPP 1.8.2 on Windows XP SP3 and am struggling in installing XDebug. I downloaded XDebug from the website. Unfortunately, the installation wizard did not work for me, my PHP Version is 5.4.16, so I chose the file for PHP 5.4 VC9 TS (32 bit) . I configured my php.ini according to different tutorials: [XDebug] zend_extension_ts = "D:\Stefan\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll" xdebug.remote

Moved XAMPP folder to new computer, now getting “(XAMPPErrorDomain error 1.)” when trying to start up MySQL

北城以北 提交于 2019-12-07 03:50:32
问题 I recently had to reinstall Lion from scratch on my MacBook. I saved my XAMPP folder and moved it into the applications folder in my new install. I can start up Apache, but not MySQL. I get this error: " The operation couldn’t be completed. (XAMPPErrorDomain error 1.) ". I tried setting permissions on the var/mysql to 775 and 777, neither worked. I tried running " sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start " in terminal and I get this: " Starting MySQL . ERROR! Manager of pid

PHP Cannot POST error running XAMPP

一个人想着一个人 提交于 2019-12-07 03:30:32
Using the following files in the same directory I have been getting a cannot POST error while running XAMPP 1.8.3 and [PHP: 5.5.15. <html> <head> <title> IsEven </title> </head> <body> <form action= "IsEven.php" method="post"> Enter a number: <input type="text" name="number" /> <input type="submit" value="submit" /> </form> </body> </html> Here is my PHP file <?php //Assign Values to the variable. $number = $_POST['number']; //If statements to check Even number or not. //Is_numeric, Isset() and round() functions. if (is_numeric($number) && isset($number)){ if (round($number, 0) % 2 == 0){ echo

adding Imagick in xampp

℡╲_俬逩灬. 提交于 2019-12-07 03:22:22
问题 I have followed the following steps in http://bytehash.appspot.com/2012/02/Installing-imagick-for-php-in-windows-under-xampp i have downloaded the dll file for imagick and added this into xampp/php/ext folder and included it as follows: extension=php_imagick_ts.dll . I have also installed imagemagick and can confirm it is installed as i have run the following command: C:\>convert -version Version: ImageMagick 6.8.6-8 20 Copyright: Copyright (C) 1999-2 Features: DPC OpenMP Delegates: bzlib