dns – Access to the virtual host in xampp from the network computer failed

I've seen the same problem in error accessing virtual host in xampp.

The VirtualHost works fine on the computer running XAMPP. However, when accessed from another computer on the network (portable over Wi-Fi) to which the hosts file was changed (adding: "192.168.1.2 .local domain"), the htdocs root directory is accessed and not the one in DocumentRoot and DIRECTORY specified.
Of course, the IP address 192.168.1.2 is the network that runs XAMPP.

In the virtualhost I have:


    
    
    
    Options Indexes Contains FollowSymLinks ExecCGI
Allow order, reject
Allow of all
Options All
AllowOverride All
Requires everything granted










DocumentRoot "F: / local / domain /"
Server name domain.local
Server Alias ​​www.domain.local
ServerAdmin admin@domain.net
ErrorLog "F: /xampp/apache/logs/error.log"
TransferLog "F: /xampp/apache/logs/access.log"

SSLEngine on

SSLCertificateFile "F: /xampp/apache/conf/my_certificates/domain.local/device.crt"
SSLCertificateKeyFile "F: /xampp/apache/conf/my_certificates/domain.local/device.key"


    SSLOptions + StdEnvVars


    
    
    
    SSLOptions + StdEnvVars


BrowserMatch "MSIE [2-5]"
nokeepalive ssl-unclean-shutdown 
CustomLog "F: /xampp/apache/logs/ssl_request.log" 
"% t% h% {SSL_PROTOCOL} x% {SSL_CIPHER} x "% r  "% b"


Any idea? ….
Many Thanks

WordPress redirect error in xampp

I had a wordpress website on xampp, let's say "localhost / listing" and it worked perfectly
Then I installed another copy of this website on localhost / mylisting. The problem now is that when you enter "localhost / listing / wp-admin" the site redirects to "localhost / mylisting / wp-admin".
I do not know how to solve this problem.
I tried to create a different directory and copy all content when I run it. The problem was the same.

xampp – I enter phpmyadmin, but there are mistakes

After switching to port 200, the mysql will stay connected if it is still connected, even though an error is still skipped. I do not understand why, if I have already changed the port

Problem detected!
10:37:13  [mysql]   Port 3306 is being used by "process can not be opened"!
10:37:13  [mysql]   MySQL will NOT start freely without the configured ports!
10:37:13  [mysql]   You must uninstall / deactivate / reconfigure the blocking application
10:37:13  [mysql]   or reconfigure MySQL and the Control Panel to monitor a different port

My problem is that I am now connecting and trying to enter phpmyadmin, and I can not say that

error
mysqli_real_connect (): (HY000 / 1045): access for user & # 39; pma & # 39; @ & # 39; localhost & # 39; denied (with password: NO)
The connection for the controluser as defined in its configuration failed.

Command line – XAMPP files are not executed and do not start

Hello, I recently had a problem with my Mac OS and half of my files had backed up my files and applications. My Mac has now been updated to MacOs Mojave. when I opened my xampp and started executing it, it always appears …

MAC address can not be calculated: Error while setting up the PID file
PID file error -1

I'm not sure what to do next, because I just want to save my files from the htdocs in xamp and do the SQL work 🙁

Once I click on XAMPP, it says "Can not load stack definitions", that means I've lost my PHP files because I'm trying so hard to recover them, and I'm not sure what to do next to do is

virtualhost – XAMPP subdomain returns wrong directory

I'm trying to set up a subdomain on my XAMPP server, and I've looked through each stackoverflow thread without success. skane.localhost.com presents the same page as localhost.com

Here are my relevant files:

Hosts file:

127.0.0.1 localhost
127.0.0.1 skane.localhost

httpd vhosts.conf:


   
   
   
   ServerName localhost
DocumentRoot D:  xampp  htdocs



   
   
   
   ServerName skane.localhost
DocumentRoot D:  xampp  htdocs  skane

NameVirtualHost *: 80 is commented out!

Thanks for any help

Oracle – problem with Tabla Mysql and Xampp

In the first ten sections with a single table memory and a small problem, it is possible to import the administrator of the PhpMyAdmin database. This is an important mistake.

error
consulta SQL:


-
- Table structure for the table "Alumno"
-

DROP TABLE IF EXISTS "Alumno" exists
MySQL has dicho: Documentación

# 1046 - Basic data not seleccionada
- MySQL Dump 10.13 Distrib 5.7.17 for Win64 (x86_64)
-
- host: 127.0.0.1 database: cphpmysql
- ---------------------------------------------- --- ---
- Server version 5.7.18 protocol

/ *! 40101 SET @OLD_CHARACTER_SET_CLIENT = @@ CHARACTER_SET_CLIENT * /;
/ *! 40101 SET @OLD_CHARACTER_SET_RESULTS = @@ CHARACTER_SET_RESULTS * /;
/ *! 40101 SET @OLD_COLLATION_CONNECTION = @@ COLLATION_CONNECTION * /;
/ *! 40101 SET NAMES utf8 * /;
/ *! 40103 SET @OLD_TIME_ZONE = @@ TIME_ZONE * /;
/ *! 40103 SET TIME_ZONE = & # 39; + 00: 00 & # 39; * /;
/ *! 40014 SET @OLD_UNIQUE_CHECKS = @@ UNIQUE_CHECKS, UNIQUE_CHECKS = 0 * /;
/ *! 40014 SET @OLD_FOREIGN_KEY_CHECKS = @@ FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS = 0 * /;
/ *! 40101 SET @OLD_SQL_MODE = @@ SQL_MODE, SQL_MODE = & # 39; NO_AUTO_VALUE_ON_ZERO & # 39; * /;
/ *! 40111 SET @OLD_SQL_NOTES = @@ SQL_NOTES, SQL_NOTES = 0 * /;

-
- Table structure for the table "Alumno"
-

DROP TABLE IF EXISTS "alumno" exists;
/ *! 40101 SET @saved_cs_client = @@ character_set_client * /;
/ *! 40101 SET character_set_client = utf8 * /;
CREATE TABLE `alumno` (
`id` int (11) NOT NULL AUTO_INCREMENT,
`nombres` varchar (255) DEFAULT NULL,
`apellidos` varchar (255) DEFAULT NULL,
`estado` varchar (1) DEFAULT NULL,
Primary key ("id")
) ENGINE = InnoDB AUTO_INCREMENT = 6 DEFAULT CHARSET = utf8;
/ *! 40101 SET character_set_client = @saved_cs_client * /;

-
- Dumping data for the table "Alumno"
-

LOCK TABLES `Alumno` WRITE;
/ *! 40000 ALTER TABLE `alumno` DISABLE KEYS * /;
INSERT in `alumno` VALUES (1, El Elivar Oswaldo,, # Largo Rios #, # 1 #), (5, Juan Juan & # 39 ;, & lgr; , & Quot; Vargas & # 39 ;, & # 39; 1 & # 39;);
/ *! 40000 ALTER TABLE `alumno` ENABLE KEYS * /;
UNLOCK TABLES;
/ *! 40103 SET TIME_ZONE = @ OLD_TIME_ZONE * /;

/ *! 40101 SET SQL_MODE = @ OLD_SQL_MODE * /;
/ *! 40014 SET FOREIGN_KEY_CHECKS = @ OLD_FOREIGN_KEY_CHECKS * /;
/ *! 40014 SET UNIQUE_CHECKS = @ OLD_UNIQUE_CHECKS * /;
/ *! 40101 SET CHARACTER_SET_CLIENT = @ OLD_CHARACTER_SET_CLIENT * /;
/ *! 40101 SET CHARACTER_SET_RESULTS = @ OLD_CHARACTER_SET_RESULTS * /;
/ *! 40101 SET COLLATION_CONNECTION = @ OLD_COLLATION_CONNECTION * /;
/ *! 40111 SET SQL_NOTES = @ OLD_SQL_NOTES * /;

- Dump on 2017-12-11 22:53:21 completed

phpmyadmin – Workbench connects to the mysql service, but the xampp does not connect

Workbench connects to MySQL. I have several databases there, for cmd of Windows I can also enter and change the databases. However, if I use xampp specifically for the xampp shell to enter the databases after entering the user and password (mysql -h localhost -u root -pmi_key), I get this error. ERROR 2003 (HY000): Can not Connect to MySQL Server on Localhost (10061)
The same goes for phpmyadmin. "The connection was not made, the parameters are wrong." I want to manipulate the databases from phpmyadmin, but that does not leave me. As data, the mysql service is running on port 3306, while I configured it in xampp on port 3307. Before, I had no problems. It all started when I changed the password in phpmyadmin and did not want to enter it. To enter the database per cmd of Windows and Workbench, I have a password and it gives me no problems.

php – Help with inserting data into MySQL (XAMPP)

I am having trouble inserting PDF documents into my database, into a computer, if it works, but if the project is passed to another computer, it will not work anymore. I have exactly the same thing and it does not work. The connection to the base is not made, but the files are not inserted, here I leave the code I use for inserting documents.

include_once & # 39; connect.php & # 39 ;;
if (isset ($ _ POST.)['subir'])) {
$ name = $ _FILES['archivo']['name'];
$ type = $ _FILES['archivo']['type'];
$ tamanio = $ _FILES['archivo']['size'];
$ route = $ _FILES['archivo']['tmp_name'];
$ destination = "pdf /". $ name;
if ($ name! = "") {
if (copy ($ path, $ destination)) {
$ title = $ _POST['titulo'];
$ descri = $ _POST['descripcion'];
$ db = new Conect_MySql ();
$ sql = "INSERT INTO tbl_documents (title, description, size, type, filename) VALUES (& # 39; $ title & # 39 ;, & # 39; $ description & # 39 ;, & # 39; tamanio & # 39 ;, & # 39; $ type & # 39 ;, & # 39; $ name & # 39;) ";
$ query = $ db-> execute ($ sql);
if ($ query) {
Echo "I saved correctly";
}
} else {
Echo "error";
}
}}

I hope you can help me

xampp – needs to open port 80 twice to have an accessible website

I have set up a website with an xampp server.
The website can not be accessed from other networks, unless I open port 80 twice. The internal IP of the servers is 192.168.1.17. So I need to open port 80 for this IP address, and it's only accessible through the website. I need to reopen Port 80 on other devices connected to this network.

Any ideas, what is wrong?

Server with Ethernet connection, WLAN shut down.