xampp

XAMPP apache service not start

痞子三分冷 提交于 2019-12-13 07:20:57
问题 When i trying to start apache services i show the following erron in error block panel 11:51:30 AM [Apache] Status change detected: stopped 11:51:30 AM [Apache] Error: Apache shutdown unexpectedly. 11:51:30 AM [Apache] This may be due to a blocked port, missing dependencies, 11:51:30 AM [Apache] improper privileges, a crash, or a shutdown by another method. 11:51:30 AM [Apache] Press the Logs button to view error logs and check 11:51:30 AM [Apache] the Windows Event Viewer for more clues 11

Weird PHP Yield error

China☆狼群 提交于 2019-12-13 07:13:05
问题 I was trying to get yield working and I copied and pasted the following code from http://php.net/manual/en/language.generators.syntax.php into an empty file and got the error Parse error: syntax error, unexpected '$i' (T_VARIABLE) in [FILENAME] I'm running XAMPP v3.2.1 which has been working perfectly for the rest of my code (haven't used a yield statement yet) and PHP 5.4.16. Any idea what I'm doing wrong or what I should do? <?php function gen_one_to_three() { for ($i = 1; $i <= 3; $i++) {

How to set MongoDB driver on XAMPP

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 07:02:03
问题 I try to set MongoDB on XAMPP , but don't work :( I use Windows 10 , XAMPP v3.2.1 PHP 5.6.8 Which driver I need to download? Thanks to all!! :) XAMPP INFO: http://oi62.tinypic.com/294qk4k.jpg 回答1: Check this link to setup MongoDB in xampp. Configure MongoDB with PHP on windows for XAMPP in 5 simple steps Also after setting up ,cross check your PHP configuration for following: Removing the ; from the beginning of ;extension=php_mongo-1.3.1-5.4-vc9.dll in your php.ini to enable MongoDB. Also

Simple AngularJS routing system doesn't work (xampp server)

情到浓时终转凉″ 提交于 2019-12-13 06:49:45
问题 I'm trying Angular for the first time, and my first issue that I want to implement is single page application feature. But here the first problem: I have configured a very simple work, it is divided into two files: index.html and project.js. I'm working on a Windows 10 machine and I'm using xampp 3.2.2, this project is putted inside the folder /htdocs/webapp. When access to "localhost/webapp/" it properly load the "otherwise" condition, but when I try to load for example "localhost/webapp/#

how to connect hosted server database through local server using php?

僤鯓⒐⒋嵵緔 提交于 2019-12-13 06:47:09
问题 i want to connect hosted server database through local server here is my code <?php $con=mysql_connect("myserverDbHostname","mydatabaseUsername","Password"); if($con) { echo "connect"; mysql_select_db("DatabaseName"); else { echo "not connect"; } ?> when i run this file in local server (xammp server) it could n't be connect i get Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on i get "not connect" response can any one guide me Thanks for advance. 回答1: There

Mailaparse on XAMPP 1.7.3

主宰稳场 提交于 2019-12-13 05:40:03
问题 I'm needing mailparse installed on my xampp. I've done pecl install mailparse but I get an error that mbstring is not installed, but it is.. Or at least that is what phpinfo() says. So I'm doing /Applications/XAMPP/xamppfiles: sudo ./bin/pecl install --nodeps mailparse BUT.. when the make starts it fails with a big load of errors... How can I install mailparse on a xampp installation? Or maybe I could compile it? but not sure how, not in osx... Any ideas? Here you can see the complete trace

AIX : cannot execute binary file, 0403-006 execute permission denied

六眼飞鱼酱① 提交于 2019-12-13 05:16:12
问题 I am working on AIX 7. I like to know more in detail about the following error scenarios cannot execute binary file 0403-006 execute permission denied for the first case, on search it was likely that, when you are trying to run 64 bit software on a 32 bit OS, you may have that error. AIX is 64 bit, and I have been trying to use mysql by installing XAMPP, where I am getting the above error. I assume 32/64 bit software will be okay with 64 bit OS. for the second case, though I have logged in as

MySQL “ALL” statement not working in phpmyadmin

自闭症网瘾萝莉.ら 提交于 2019-12-13 04:57:08
问题 I am having some issues when trying to use the ALL statement in phpmyadmin ver. 4.5.4.1 (latest). The ANY statement doesn't seem to cause any issue and all subqueries that make use of ALL actually work when I replace the ALL with an ANY. Here's a sample example: SELECT * FROM T WHERE A >= ALL ( SELECT T2.A FROM T T2) This query trows the following two error messages: Unrecognized keyword. (near "ALL" at position 50) Unexpected token. (near "(" at position 54) And it perfectly works when I

Xampp-installation problems; ports not free and Apache not starting

巧了我就是萌 提交于 2019-12-13 04:32:07
问题 I tried installing xampp from the following site: http://www.apachefriends.org/en/xampp-windows.html I had problems installing. When the control panel runs, it shows green signal for MySql and Mercury only, and especially when I start Apache, it gives an Exception. And at some point it says to disable UAC, but I guess that is not recommended in Windows, so what should I do? And I also received an error which said "class not registered". The following are the errors I receive when I start

Can't reach localhost using XAMPP (typo3)

风格不统一 提交于 2019-12-13 04:04:15
问题 I tried to setup my typo3 page with XAMPP/apache. I created my typo3 login and a phpMyAdmin user. When I tried to log into my typo3 backend, it said that it couldn't reach the website. And that's still my problem, I just get an error screen which says "Couldn't reach website", "connection refused". (Not 1:1, my english isn't that sick.) I already tried to change my ports (didn't work) and wrote localhost as ServerName into the xampp\apache\conf\extra file. These are my errors in the error log