xampp

XAMPP, Apache - Error: Apache shutdown unexpectedly

若如初见. 提交于 2019-11-26 09:12:08
I've just re-installed XAMPP, and when I try to start my Apache server in the XAMPP Control Panel, I now get the following errors: 16:50:25 [Apache] Status change detected: running 16:50:26 [Apache] Status change detected: stopped 16:50:26 [Apache] Error: Apache shutdown unexpectedly. 16:50:26 [Apache] This may be due to a blocked port, missing dependencies, 16:50:26 [Apache] improper privileges, a crash, or a shutdown by another method. 16:50:26 [Apache] Press the Logs button to view error logs and check 16:50:26 [Apache] the Windows Event Viewer for more clues 16:50:26 [Apache] If you need

“Connection for controluser as defined in your configuration failed” with phpMyAdmin in XAMPP

隐身守侯 提交于 2019-11-26 08:57:55
问题 I have just installed XAMPP on my Windows XP machine, and I get an error saying: Connection for controluser as defined in your configuration failed. Before I installed XAMPP, I had a MySQL database installed and it had a password. I changed and put the password in config.inc.php for MySQL, and I got this error: <?php if (!empty($_SERVER[\'HTTPS\']) && (\'on\' == $_SERVER[\'HTTPS\'])) { $uri = \'https://\'; } else { $uri = \'http://\'; } $uri .= $_SERVER[\'HTTP_HOST\']; header(\'Location: \'.

How do I free my port 80 on localhost Windows?

天大地大妈咪最大 提交于 2019-11-26 08:41:00
问题 I installed XAMPP 1.6.8 and for some reason it didn\'t work. Later realized port 80 is not free or not listening. How can I release it or make it free? Thanks a lot! 回答1: That agony has been solved for me. I found out that what was taking over port 80 is http api service. I wrote in cmd: net stop http Asked me "The following services will be stopped, do you want to continue?" Pressed y It stopped a number of services actually. Then wrote localhost and wallah, Apache is up and running on port

Adding VirtualHost fails: Access Forbidden Error 403 (XAMPP) (Windows 7)

ぃ、小莉子 提交于 2019-11-26 08:39:54
问题 I\'ve got a XAMPP installation running on Windows 7. As soon as I add a VirtualHost to httpd-vhosts.conf, BOTH the \'regular\' http://localhost AND the new dropbox.local aren\'t working. This is what I added to my httpd-vhosts.conf : <VirtualHost *:80> ServerAdmin postmaster@dummy-host.localhost DocumentRoot \"E:/Documenten/Dropbox/Dropbox/dummy-htdocs\" ServerName dropbox.local ServerAlias www.dropbox.local ErrorLog \"logs/dropbox.local-error.log\" CustomLog \"logs/dropbox.local-access.log\"

MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted

≯℡__Kan透↙ 提交于 2019-11-26 08:35:37
问题 I couldn\'t find a solution to this already on stackoverflow, most other related topics had to do with Apache not starting first and getting this error. My issue is that after apache is running some of my users that are connected to our php/mysql website will receive this error: PHP Warning: mysql_connect() [function.mysql-connect]: [2002] Only one usage of each socket address (protocol/network address/port) is normally permitted. This seems to be totally random and when I monitor my worker

How can I access the MySQL command line with XAMPP for Windows?

拟墨画扇 提交于 2019-11-26 07:54:00
问题 How can I access the MySQL command line with XAMPP for Windows? 回答1: Your MySQL binaries should be somewhere under your XAMPP folder. Look for a /bin folder, and you'll find the mysql.exe client around. Let's assume it is in c:\xampp\mysql\bin, then you should fireup a command prompt in this folder. That means, fire up "cmd", and type: cd c:\xampp\mysql\bin mysql.exe -u root --password If you want to use mysqldump.exe, you should also find it there. Log into your mysql server, and start

how can i enable PHP Extension intl?

偶尔善良 提交于 2019-11-26 07:28:39
问题 I am going to install Magento2 at my local server and it gives me following error notice. I am using XAMPP. When I tried to enable it from php.ini file it throws another error for missing dll: The program can\'t start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem. Any help? 回答1: First of all stop the xampp/wamp and then kindly remove the starting semicolon ( ; ) from your xampp/php/php.ini the following code. ;extension=php_intl.dll And

How to enable curl in xampp? [duplicate]

末鹿安然 提交于 2019-11-26 07:25:58
问题 This question already has an answer here: How to enable cURL in PHP / XAMPP 18 answers How to enable curl in xampp ? My PHP twitter application needs curl function. But it is not enabled in XAMPP. how to enable it. I found no options for doing that. 回答1: You have to modify the php.ini files in your xampp folder. Three files in three different places need to be changed. Follow the following steps to enable curl library with XAMPP in Windows: Step 1: Browse and open the following 3 files C:

What is the location of mysql client “.my.cnf” in XAMPP for Windows?

╄→尐↘猪︶ㄣ 提交于 2019-11-26 06:42:15
问题 What is the location of mysql client .my.cnf using XAMPP in Windows? Clarification : This file does not exist by default, so when you create it, where should you place it, in order for the command line client to read it automatically? 回答1: Type this: mysql --help Then look at the output. There is a block of text about 3/4 the way down describing what files it finds its defaults .my.cnf from. Here is an example from XAMPP v3.2.1 : Default options are read from the following files in the given

Class &#39;COM&#39; not found

ぐ巨炮叔叔 提交于 2019-11-26 06:41:38
问题 I\'ve been trying to open a word document in my script, but I get receiving the same error. Fatal error: Class \'COM\' not found in /Applications/XAMPP/xamppfiles/htdocs/**/**.php on line 3 My code: <?php $word = new COM(\"word.application\") or die(\"Unable to instantiate Word\"); $word->Visible = 1; $word->Documents->Open(\"wordfile.docx\"); $temp = $word->Dialogs->Item(228); // returns wdDialogToolsWordCount dialog object $temp->Execute(); //updates the word count $numwords = $temp->Words(