xampp

Edit file in ms-dos

狂风中的少年 提交于 2019-12-12 05:29:09
问题 Can this be done? Basically I work on multiple projects using xampp, and I like http://localhost to be the project root ( rather than http://localhost/project_name/ ) Problem is, i have to open the httpd.conf file in the apache folder, change the document root, then restart apache! I was wondering if this could be done in ms-dos? say I write a batch file that: opens the file, finds the document root, changes it, stop apache, start apache Then all i would need to do is open the cmd prompt, and

Create PHP code not working [screen becomes white] in XAMPP

爱⌒轻易说出口 提交于 2019-12-12 05:09:48
问题 I was working on XAMPP . After upgrading phyMyAdmin separately in XAMPP , as you can see (in image - 1) I wrote some simple codes : SELECT * FROM db my database name : mysql output was correct . (in image - 1) When I pressed Create PHP code , my screen became white (like image - 2) . Even there was no error message . I tried reinstalling XAMPP and configuring phpMyAdmin again but nothing happened . Here is config.inc.php : <?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * phpMyAdmin

XAMPP set root user password for MariaDB

不打扰是莪最后的温柔 提交于 2019-12-12 04:52:49
问题 How do you set the root user password for MariaDB in XAMPP on Ubuntu/Kubuntu 16.04? By default the root user does not have a password set. I'm using XAMPP 7.1.11 回答1: I managed to do it on both Windows and Linux. On Windows, open command prompt, change directory to \xampp\mysql\bin and use mysqladmin to set password for root user i.e. cd \xampp\mysql\bin mysqladmin --user=root password "your_password" On Linux (Ubuntu/Kubuntu), open terminal emulator and change directory to /opt/lampp/bin i.e

How to install decode delegate for Imagick in Xampp on Windows

拥有回忆 提交于 2019-12-12 04:41:51
问题 I've gone through many post related to the installation of Imagick and the decode delegates. But most of them were only based on a Linux environment. I'm working on Xampp (Xampp 1.8.1 and PHP Version 5.4.7) in a Windows environment. I'm not used to these commands. How can I install the decode delegates for Imagick. I am also seeking a way to check the status of these components (whether it is installed or not). 来源: https://stackoverflow.com/questions/32442085/how-to-install-decode-delegate

Apache won't run even though port 80 is available

自古美人都是妖i 提交于 2019-12-12 04:26:42
问题 So I used Apache last time yesterday, opening up Port 80 so that it could access it. Today, without changing any settings, it won't start. I've made Port 80 available, I've tried changing the Listen 80 to Listen 8080 and multiple other ports but it won't work. I've also opened XAMPP in administrator since I've read that it could be privilege problems, but that doesn't seem to be the problem aswell. The error message I receive is: 17:16:51 [Apache] Attempting to start Apache app... 17:16:51

PhpStorm xdebug won't debug

寵の児 提交于 2019-12-12 04:22:58
问题 I am learning php and use the PhpStorm IDE. In school we use XAMPP as server and xDebug as debug plugin. I have installed everything and i can "run" code but can't debug, when i start a session, the breakpoints seem to be ignored. There are some screenshot below. Can someone help me please? php.ini: [XDebug] zend_extension="E:\xampp\php\ext\php_xdebug-2.5.1-5.6-vc11.dll" xdebug.remote_port = 9000 xdebug.remote_enable = 1 xdebug.autostart = 1 xdebug.remote_connect_back = 1 xdebug_log: Log

Error installing Sylius: “PHP Fatal error: require(): Failed opening required autoload.php”

最后都变了- 提交于 2019-12-12 04:07:05
问题 I tried to install Sylius (Symfony) with the command "(php bin/console sylius:install") , but it gives the below error: PHP Warning: require(C:\xampp\htdocs\acme\bin/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\acme\bin\console on line 16 Warning: require(C:\xampp\htdocs\acme\bin/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\acme\bin\console on line 16 PHP Fatal error: require(): Failed opening

Cannot connect to mysql database [phpmyadmin]

纵饮孤独 提交于 2019-12-12 03:48:56
问题 to create databases I'm using xampp->phpyadmin, I have created a database called "dungeons", in my php code Im connecting to MySQL with this code: if ($_SERVER["SERVER_ADDR"]=="localhost") { define("SQL_HOST","localhost"); define("SQL_DBNAME","dungeons"); define("SQL_USERNAME",xxx); define("SQL_PASSWORD",xxx); } else { define("SQL_HOST","127.0.0.1"); define("SQL_DBNAME","dungeons"); define("SQL_USERNAME", xxx); define("SQL_PASSWORD",xxx); } mysql_connect(SQL_HOST, SQL_USERNAME, SQL_PASSWORD)

ejabberd stateless configuration

怎甘沉沦 提交于 2019-12-12 03:46:59
问题 I'm really new to XMPP and I decided to go with ejabberd. Firstly I tried to configure it on ubuntu, but I got error after error and I just switched to windows. The server is running now. I've installed XAMPP and I tested the connection with strophe.js. I've read some of the documentation on ejabberd and watched the tutorial videos and that guy talks about stateless configuration( use ejabberd only of messages and have my own database in which I save messages,users etc). I want to achieve

installed Xampp on Windows 7 32-bit. Errors when starting

荒凉一梦 提交于 2019-12-12 03:38:57
问题 When I try to start MySql in XAMPP control panel (v3.2.1) I have the following message and MySql does not start. 23:02:03 [mysql] Problem detected! 23:02:03 [mysql] Port 3306 in use by ""C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Program Files\MySQL\MySQL Server 5.1\my.ini" MySQL"! 23:02:03 [mysql] MySQL WILL NOT start without the configured ports free! 23:02:03 [mysql] You need to uninstall/disable/reconfigure the blocking application 23:02:03 [mysql] or