xampp

Why can't I access Xampp's phpmyadmin on localhost? Access is forbidden.

♀尐吖头ヾ 提交于 2019-11-28 23:35:38
I can access localhost fine on Xampp with phpmyadmin on ubuntu. I can see the contents of /htdocs which I completely cleared and wrote my own for. I want to access phpmyadmin, but cannot. When loading phomyadmin, I am greeted by a 403 Error and a note advising me to configure the setting in the file httpd-xampp.conf . I looked in /opt/lampp/etc/extra/httpd-xampp.conf , but have no idea what to configure. Two areas within the file seem useful in this scenario: <Directoy "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Order allow,deny Deny From all </Directory> and # # New XAMPP security

host localhost is not allowed to connect to this MySQL server [closed]

我的梦境 提交于 2019-11-28 23:32:41
I've accidentally deleted my users table (removed all users) now whenever I try to access my database it says: "host localhost is not allowed to connect to this MYSQL Server". I've tried connecting directly, same error. I'm using apache xampp for this. A very commonly asked question, try doing this (And it worked for me), goto your mysql folder and there will be a file called " my.ini ". Simply add this under the mysqld tag skip-grant-tables . Save the file, restart your server. If the problem still exists, refer to this link below host 'localhost' is not allowed to connect to this MySQL

cannot log-out from phpmyadmin in XAMPP

那年仲夏 提交于 2019-11-28 23:18:00
问题 I have completely set up my xampp with username and password. Once I have logged in, I cannot seem to find a way to log-out. No button for log-out can be seen near the home button at the left sidebar. Please help. This is getting in my way to create a web application. Thanks. 回答1: just change this line on config.inc.php $cfg['Servers'][$i]['auth_type'] = 'config'; to $cfg['Servers'][$i]['auth_type'] = 'cookie'; then you will be prompted to login when you refreshed the page. Afterwards, the

XAMPP Ports Change On its Own

烂漫一生 提交于 2019-11-28 22:58:43
My Apache Ports are set to: 80 and 443 Looking at the XAMPP control panel a few hours later, I noticed the Ports had changed to: 05 and 59895 Would XAMPP switch to these Ports automatically for some reason after several hours? Is there a danger in using/opening these Ports? Same problem was answered in this post by one of XAMPP developers. Assuming this is real (quote): In short, that is normal. Apache listens for and accepts requests on ports 80 and 443 but it does not service requests on those ports. When you or others connect to your servers, they will be handled by other connections

Xampp Warning: Module 'openssl' already loaded in line 0

梦想的初衷 提交于 2019-11-28 22:29:53
I have installed Xampp on windows 7. When I try to run code I get the error Warning: Module 'openssl' already loaded in line 0 This is the same code I have run on the pc before, all I have done is reinstalled Win 7 and a clean install of XAMPP You seem to have the line extension=php_openssl.dll twice in your php.ini file and/or subfiles. You need to find all relevant php.ini files in your xampp directory and remove or comment out one of the module directives like this: ;extension=php_openssl.dll After a server restart, this should solve it. mtmfahath Open xampp -> PHP -> php.ini Open the file

“Error 1067: The process terminated unexpectedly” when trying to start MySQL

走远了吗. 提交于 2019-11-28 21:25:50
I'm using Windows 7 and running XAMPP MySQL SVC service. I'm seeing the following error: Windows could not start the Mysql service on Local Computer. Error 1067: The process terminated unexpectedly. What does this mean, and how can I fix it? Examine error log (start eventvwr.msc). MySQL typically writes something to the Application log. In very rare cases it does not write anything (I'm only aware of one particular bug http://bugs.mysql.com/bug.php?id=56821 , where services did not work at all). There is also error log file, normally named .err in the data directory that has the same info as

Running php 5.x and php 7.0 at the same time in my windows [duplicate]

爱⌒轻易说出口 提交于 2019-11-28 19:12:03
问题 This question already has answers here : Is there way to use two PHP versions in XAMPP? (17 answers) Closed 8 months ago . I made a backup file for my php projects then uninstall the old xampp(php 5.x.x) . After that, I try to install the latest xampp version(php 7.0.1) and put the backup file from my old xampp to run into the new one including its database. The problem is that, when I try to run my old file I encounter lot of errors. It seems there are lots of code that are obsolete to the

Access to the requested object is only available from the local network phpmyadmin

回眸只為那壹抹淺笑 提交于 2019-11-28 17:52:44
I just installed xampp 1.8.0 for linux and when I opened phpmyadmin I got this error Access Forbidden!! New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf". I tried this post but with no luck. please help. I am opening it from my own PC not from any other network. open your http.conf file vim /opt/lampp/etc/extra/httpd-xampp.conf Comment " Deny from all " in the following section, # # New XAMPP security concept # <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer

VirtualHost with wildcard VirtualDocumentRoot

二次信任 提交于 2019-11-28 17:39:34
I'm trying to create a fallback for my virtual hosts. My configuration looks like this: # Fetch all pre-defined hosts Include "conf/extra/vhosts/*.conf" # Fallback NameVirtualHost *:80 <Directory "C:/LocalServer/usr"> Options Indexes FollowSymLinks Includes AllowOverride All Order allow,deny Allow from all </Directory> <VirtualHost *:80> VirtualDocumentRoot "C:/LocalServer/usr/%-1/projects/%-2+/public/" </VirtualHost> The objective here is the following: If I try to access http://test.lab/ , I want it to automatically pick up the following directory: C:/LocalServer/usr/lab/projects/test/public

How do I run a file on localhost?

≯℡__Kan透↙ 提交于 2019-11-28 17:30:23
How do I actually run a file on localhost? I know it is working, but how do I run a file on it, and how do I verify that the file is in fact running on localhost? Server newbie here, additional questions (I have xampp running Apache 2.2): From your responses it sounds like I have to type in the path in the browser in order to open the file on the localhost. So, if I want to have the file in a subdirectory, I would have to type the full path including the directory? Is there a way to have the browser point to the localhost while I am working on my html, instead of having to type in the path all