xampp

Make XAMPP/Apache serve file outside of htdocs [closed]

匿名 (未验证) 提交于 2019-12-03 02:11:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to configure xampp to serve up a file outside of the htdocs directory? For instance, say I have a file located as follows: C:\projects\transitCalculator\trunk\TransitCalculator.php and my xampp files are normally served out from: C:\xampp\htdocs\ (because that's the default configuration) Is there some way to make Apache recognize and serve up my TransitCalculator.php file without moving it under htdocs ? Preferably I'd like Apache to serve up/have access to the entire contents of the projects directory, and I don't want to

BrowserslistError: Unknown browser major

匿名 (未验证) 提交于 2019-12-03 02:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm trying to use bootstrap 4 with my angular installation. i've run npm install --save bootstrap@next but i have a break at runtime : . /node_modules/ css - loader ?{ "sourceMap" : false , "importLoaders" : 1 }!./ node_modules / postcss - loader / lib ?{ "ident" : "postcss" , "plugins" :[ null , null , null ], "sourceMap" : false }!./ node_modules / bootstrap / dist / css / bootstrap . min . css Module build failed : BrowserslistError : Unknown browser major at error ( C : \xampp\htdocs\tick_master_angular\web\node_modules

How to solve “Call to undefined function dbase_open() ” error in windows

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Hi i want to load DBF file to mysql, am using xampp,php version 5.5.6 i had write the below code, But am getting Error --- Fatal error: Call to undefined function dbase_open() in C:\xampp\htdocs\imports\import_geo.php on line 47 $dbf = dbase_open ( 'OUTLETS/regions.dbf' , 0 ); $num_records = dbase_numrecords ( $dbf ); for ( $i = 1 ; $i <= $num_records ; $i ++) { $record = dbase_get_record_with_names ( $dbf , $i ); $stmt_bricks -> execute ( array ( ':id' => $next_brick_id , ':type' => 'Region' , ':code' => $record [ 'REG_CODE' ], '

XAMPP - Error: MySQL shutdown unexpectedly

匿名 (未验证) 提交于 2019-12-03 02:00:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have reinstalled XAMPP for some reason and MySQL is not working, giving the following error in the console: 01:56:03 [mysql] Error: MySQL shutdown unexpectedly. 01:56:03 [mysql] This may be due to a blocked port, missing dependencies, 01:56:03 [mysql] improper privileges, a crash, or a shutdown by another method. 01:56:03 [mysql] Check the "/xampp/mysql/data/mysql_error.log" file 01:56:03 [mysql] and the Windows Event Viewer for more clues When checking the "/xampp/mysql/data/mysql_error.log" file I get: 130302 1:48:06 InnoDB: Waiting for

XAMPP / WAMP / whatever it is: Apache is running super slow [closed]

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I've got my Windows PC (localhost) running XAMPP. It loads the pages sometimes really quick or sometimes really slow. So, I figured and searched and was recommended to get WAMP. I got that and installed it. Still, the pages load so damn slowly. No heavy CPU load or anything, all my ports are open too. Any ideas? 回答1: Here's a solution that really worked for me . One thing to try is changing the following two entries in apache/conf/httpd.conf from OFF to ON : EnableMMAP on EnableSendfile on Also, enable and set realpath_cache_size=

run django with xampp on windows

我只是一个虾纸丫 提交于 2019-12-03 01:45:14
问题 can i run django (Python framework) site with xampp on windows? Please guide me. 回答1: XAMPP for windows contains: Apache, MySQL, PHP + PEAR, Perl, mod_php , mod_perl , mod_ssl , OpenSSL, phpMyAdmin, Webalizer, Mercury Mail Transport System for Win32 and NetWare Systems v3.32, Ming, JpGraph, FileZilla FTP Server, mcrypt, eAccelerator, SQLite, and WEB-DAV + mod_auth_mysql . There are two requirements to run django missing: Python mod_wsgi So, NO , you can't run django with XAMPP alone. You need

How to enable GZip compression in XAMPP server

社会主义新天地 提交于 2019-12-03 01:43:07
问题 I am using xampp sever latest version to improve my web page performance. I have to enable Gzip in XAMPP. How can it be done? 回答1: You do compression by setting appropriate directive in apache. It goes uncommenting the following lines in your apache conf file: C:\xampp\apache\conf\httpd.conf if your xampp installation folder is C:\xampp. and these are the lines to be uncommented first: LoadModule headers_module modules/mod_deflate.so LoadModule filter_module modules/mod_filter.so that is to

XAMPP v1.7.4 installation issues,local host not working

匿名 (未验证) 提交于 2019-12-03 01:41:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I had an older version on XAMPP and it was working fine. I uninstalled it to install the new version.Since then local host has stopped working. XAMPP control panel says Apache and MySQL running.Can some one help please? I have got this in the httpd-vhosts.conf,do i make any changes here? ##<VirtualHost *:80> ##ServerAdmin postmaster@dummy-host.localhost ##DocumentRoot "C:/xampp/htdocs/dummy-host.localhost" ##ServerName dummy-host.localhost ##ServerAlias www.dummy-host.localhost ##ErrorLog "logs/dummy-host.localhost-error.log" #

Install PHP 7.0 Internationalization extension (Intl) on XAMPP on Mac

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I followed the instructions outlined here: Install PHP Internationalization extension (Intl) on XAMPP on Mac Ran sudo pecl install intl selected the correct files from the Cellar then this error happened: /private/tmp/pear/temp/intl/intl_error.h:24:10: fatal error: 'ext/standard/php_smart_str.h' file not found include ^ 1 error generated. make: *** [php_intl.lo] Error 1 ERROR: `make' failed No matter, did some research and found out that PHP 7.0.8 deprecated php.smart_str.h to php.smart_string.h So given my scant knowledge of C++ I copied

mysql said: Cannot connect: invalid settings. xampp

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I changed the root password to test and now I cannot login in phpMyAdmin page in XAMPP. I looked for help here and here which basically says changed config.inc.php file in XAMPP\PHPMYADMIN folder. /* Authentication type and info */ $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'test'; This code below works which uses the above password if($