xampp

disable xampp redirect http to https

最后都变了- 提交于 2019-11-30 23:15:20
问题 I created VirtualHost at my xampp in localhost for wordpress and add this code in httpd-vhosts.conf : <VirtualHost *:80> ServerAdmin webmaster@mysitefolder DocumentRoot "E:/xampp/htdocs/mysitefolder" ServerName mysitefolder ErrorLog "logs/mysitefolder-error.log" CustomLog "logs/mysitefolder-access.log" common </VirtualHost> but when enter http://mysitefolder in browser it's aout redirect to https://mysitefolder and not load my site. how can disable https and only using http ?thank you 回答1: I

XDebug configuration missing from php.ini in XAMPP

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 22:01:16
I've just installed the latest XAMPP for PHP 5.6 from the official website, and I need to enable Xdebug, I find that the file php_xdebug.dll exists in the C:\xampp\php\ext , but there is no [XDebug] config at all in the php.ini and I have no idea how to make it work. It should be installed by default and pre-configured, we need just to uncomment the xdebug config in php.ini but it's not the case. I even tried to install it again using PECL commmand pecl install xdebug but I get the following error : pecl install xdebug downloading xdebug-2.5.0.tgz ... Starting to download xdebug-2.5.0.tgz (267

How to install V8Js for PHP on XAMPP for Windows?

放肆的年华 提交于 2019-11-30 19:28:11
Been working for days now trying to find an easy way to install V8Js on XAMPP for windows, yet with no success. I have downloaded the latest XAMPP version with PHP version 7.2.0 VC15, and followed the instructions in this blog post - https://blog.xenokore.com/how-to-install-v8js-for-php-on-windows/ - but to no avail. I don't see a mention to V8Js in the phpinfo, and when I try to use it I get an ERROR Error: Class 'V8Js' not found in... I have downloaded the dll files from here - https://blog.xenokore.com/how-to-install-v8js-for-php-on-windows/ - and used the latest 7.2.1 VC15 x86 ts version

can't connect to mysql with php

纵饮孤独 提交于 2019-11-30 18:18:18
I can't seem to connect to mysql with a php script, even though I can connect fine with phpmyadmin. I created a user with a password, and gave it the proper priveleges for the db, but everytime it connects it dies saying access denied. I am using xampp on a windows xp box. Firewalls are all disabled, and I've checked the username nad password are correct. Here's the code: $conn=mysql_connect('localhost','westbrookc16','megadots') || die (mysql_error()); Do usernames have to be in a specific format or something? I have a hunch that the problem here is the host you granted it to, though it's

Memcached (not memcache) PHP extension on Windows

夙愿已清 提交于 2019-11-30 17:52:18
I can't seem to find the Memcache D extension for PHP. There are a few compilations of php_memcache.dll, but that's not the same. The main thing I'm missing is getMulti() , which doesn't exist in Memcache. So far I found this, but there's no DLL: http://pecl.php.net/package/memcached Officially - it does not exist. There are several people who have created their own DLL's though. Here is one person's blog who has created the dll: http://trondn.blogspot.com/2010/07/libmemcached-on-win32.html Here is a link to the repository with the source so you can build your own DLL for memcached: http:/

CodeIgniter incorrect system path on private server

▼魔方 西西 提交于 2019-11-30 17:46:04
问题 codeigniter project when uploaded to server gives me the following error. Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php it is working well locally & on 000webhost.com hosting. When uploaded to private server of parallels it gives the above error. My index.php is as follows. <?php define('ENVIRONMENT', 'development'); if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL); break;

XDebug configuration missing from php.ini in XAMPP

旧巷老猫 提交于 2019-11-30 17:43:38
问题 I've just installed the latest XAMPP for PHP 5.6 from the official website, and I need to enable Xdebug, I find that the file php_xdebug.dll exists in the C:\xampp\php\ext , but there is no [XDebug] config at all in the php.ini and I have no idea how to make it work. It should be installed by default and pre-configured, we need just to uncomment the xdebug config in php.ini but it's not the case. I even tried to install it again using PECL commmand pecl install xdebug but I get the following

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

元气小坏坏 提交于 2019-11-30 17:34:09
问题 I can't access to PHPMyAdmin. when i want to go there, i got this error: #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) I googled this error but it don't clear. I try to know that which port is open by this code : pgrep mysql two ports are open when mysql is running. I want to access to PHPMyAdmin in my localhost. I am using Ubuntu OS 回答1: In Ubuntu, by default mysql is not listening to TCP/IP connections. It just uses a local socket. The

Turn error reporting ON xampp

蓝咒 提交于 2019-11-30 17:29:41
问题 So I have xampp and the thing won't report anything at all... I even forced an error and it didn't do anything... I used error_reporting(-1); ini_set( 'display_errors', 1 ); according to this document http://php.net/manual/en/function.error-reporting.php also error_reporting(E_ALL); doesn't do anything either... 回答1: Hey look at that, made a more insane error making code and it works... but why isn't it showing all errors? Probably you're not getting any 'simple' errors like: Parse error:

安装xampp扩展你要注意这些

∥☆過路亽.° 提交于 2019-11-30 16:39:15
Windows下安装PHP扩展是一件很麻烦的事情,看一个xampp扩展的附件名一般都是这样的命名规则,如:xampp_http-5.3-nts-svn20091125-vc9-x86.zip 你要了解如下信息: (1)知道你PHP编译器类型 VC6:legacy Visual Studio 6 compiler,是使用这个编译器编译的。 VC9:Visual Studio 2008 compiler,就是这个编译器编译的。 (2)不同线程安全设定 TS:Thread Safe 线程安全, 执行时会进行线程(Thread)安全检查 NTS:Non Thread Safe 非线程安全, 在执行时不进行线程(Thread)安全检查 官方并不建议你将Non Thread Safe 应用于生产环境,所以我们选择Thread Safe 版本的PHP来使用。 (3) 当前xampp的版本,通过PHPinfo可以查看 (4)需要知道你PHP扩展【xampp Extension Build】的版本,通过phpinfo可以查看 转载请注明: XAMPP中文组官网 » 安装xampp扩展你要注意这些 PHP---XAMPP 环境安装扩展redis 转自: https://www.jianshu.com/p/095a61ebda3b PHP Version 7.3.9 Compiler MSVC15