xampp

Apache - Domain for localhost to access folders as http://folder.local

不羁的心 提交于 2019-12-03 17:04:18
I'm running XAMPP on Ubuntu and I'd like to create a virtual host for my projects, so that I have a tld assigned to my server root directory (for example .local) and folders inside it accessible through URLs as http://foldername.local . Also, how much more complicated would it be to use .htaccess to have http://someotherdomain.local redirect to the /foldername path in the server root? I've managed to do it on my own. It is possible to do it, however you'll need to install a DNS server . Note: I decided to use .dev as my local domain, so in the following examples, the dev part will refer to my

Exporting MySQL database from XAMPP [closed]

心已入冬 提交于 2019-12-03 15:24:46
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I need to send my website with the MySQL database. I have done the website and MySQL database in XAMPP but don’t know how to send the database. 回答1: You have 2 possible ways to do that by command line backup: # mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql

端口未占用,xampp仍报错:Error: Apache shutdown unexpectedly.

空扰寡人 提交于 2019-12-03 15:02:57
很多时候,xampp报错:Error: Apache shutdown unexpectedly.都是因为80端口或者443端口被占用所导致,但是今天电脑重启过一次后,突然发现无法打开xampp,如下图: 后来通过命令行,切换到xampp/apache/bin目录下,通过运行httpd.exe报错如下: d:\xampp\apache\bin>httpd.exe AH00526: Syntax error on line 251 of D:/xampp/apache/conf/httpd.conf: DocumentRoot 'D:/xampp/htdocs/b2c' is not a directory, or is not readable 发现,原来是服务器文件目录莫名其妙被修改了,改回原来的名字后,运行正常。 来源: https://www.cnblogs.com/stupidwf/p/11801366.html

xampp is not finding my home folder --Mac os x

情到浓时终转凉″ 提交于 2019-12-03 14:53:16
问题 I am trying to use XAMPP with NetBeans for PHP. When I move my files to the htdocs folder everything works fine. However when they are in the home folder XAMPP cannot find them. Below is the instruction from XAMPP I followed it but it's not working. **Where should I put my Websites?** You can put your Websites in /Applications/XAMPP/htdocs/ and access them via http://localhost/ Or you put your Websites in the Sites-Folder in your Home and access them via http://localhost/~leslie/. 回答1: You

visual studio code PHP debugging not working

混江龙づ霸主 提交于 2019-12-03 14:46:23
I have installed VS Code and the PHP debugger . I am using xampp. I tried running the code (2) ways (listen and launch). Listen just sits there while Launch shows spawn php ENOENT in the debug console. This is my launch.json. { "version": "0.2.0", "configurations": [ { "name": "Listen for XDebug", "type": "php", "request": "launch", "port": 9000 }, { "name": "Launch currently open script", "type": "php", "request": "launch", "program": "${file}", "cwd": "${fileDirname}", "port": 9000 } ] } What am I doing wrong? Eluny Made it just now: We have OS Windows with Microsoft Visual Code and we have

Root path in XAMPP

风格不统一 提交于 2019-12-03 14:16:58
I've had this problem for a while, and have unsuccessfully searched far and wide for an answer. <img src="/images/test.jpg" /> Gets an image from (root path - in my case in production in LAMP) htdocs/images/test.jpg Whether it's called from htdocs/index.php or htdocs/foo/bar/index.php I use XAMPP in development, and inside htdocs have project folders, so the method described above although will work when live requires me to alter it to: <img src="/projectName/images/test.jpg" /> when working locally. To make this simpler i define a constant BASE, which in development I use: define('BASE','

How to update mysql version in xampp (error with innodb_additional_mem_pool_size)

血红的双手。 提交于 2019-12-03 13:23:12
I'm trying to upgrade mysql in xamp . I'm using laravel which requires mariaDB v10.2.2 . So I downloaded the latest msi package from the mariaDB website . Now I followed following points to install the same: Install MySQL to C:\TEMP. Make old installation folder to mysql_old. copy the following folders "bin, include, lib, share, support-files" to xamp\mysql\ folder. I didn't copied the data folder Copied the my.ini file from old installation to new installation in xamp\mysql\bin\ folder Copied the old data folder to new mysql folder Now after doing this I tried to start mysql from the control

localhost Won't Immediately Update

♀尐吖头ヾ 提交于 2019-12-03 12:50:47
I have been using XAMPP to connect to localhost to do editing on my computer for websites. I have been using it for over a year now and in the past whenever I would update the local file, I could refresh the page on my browser and it would immediately update. Now, I can't get it to update even if, for example, an image file has changed. I'm wondering if it's an issue with cookies (which I haven't had in the past). Is there a common reason that this happens? I couldn't find anything upon a search. Thanks for the help! First thing to try would be clearing browser history/cache and reloading the

django, phpmyadmin and mysql?

为君一笑 提交于 2019-12-03 12:40:54
问题 I would like to start using Django with MYSQL, instead of sqlite all the time, however my only experience using MSQL is through XAMPP, manipulating databases through phpmyadmin. I would really like to keep this gui interaction with mysql and not have to do everything through command line. Can you start and manage a MYSQL database using xampp/phpmyadmin, and then use django for the web development side only using Django'sn development server? Or do you have to always start new databases

MAC OS X Xampp Access forbidden

瘦欲@ 提交于 2019-12-03 12:21:49
问题 I have installed the XAMPP in my MAC. And i just tryed to open a folder and it's returned a error 403: Access forbidden! I read on foruns that i need to change the httpd archive, but, after the changes, no change, the error Access forbidden! on my folder/sites continues. The http.conf that i have changed are here: "Applications/XAMPP/xamppfiles/apache2/conf" Alias /bitnami/ "/Applications/XAMPP/xamppfiles/apache2/htdocs/" Alias /bitnami "/Applications/XAMPP/xamppfiles/apache2/htdocs"