xampp

Parent: child process exited with status 3221226356 — Restarting

本小妞迷上赌 提交于 2019-12-31 04:34:10
问题 I'm running a testing server with XAMPP 1.8.1 with Apache 2.4.3 and PHP 5.4.7 on Windows 7 Home Premium. Everything was working swell yesterday, but today I started receiving this in Apache's error.log: Parent: child process exited with status 3221226356 -- Restarting. I can't think of any changes in my code that would have caused the problem, and I haven't changed any Apache settings in quite some time. I've tried other searches that deal with status 3221225477, but I want to make sure I'm

Running PHP file outside of documentroot (cgi-bin folder)

岁酱吖の 提交于 2019-12-31 03:55:12
问题 I am working with a colleague to set up their local environment on a MAC in XAMPP, on windows my vhost looks like the one below. When I access a URL like http://domain.local/cgi-bin/handler.php the web server processes the PHP correctly but on his we get a 500 server error and this message... The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: We tried changing the name of the cgi-bin folder to something else as I

Cannot establish a connection to MySQL in NetBeans IDE

流过昼夜 提交于 2019-12-31 03:53:06
问题 When I create a new web project with Hibernate, I open New Connection Wizard, choose MySQL (Connector/J driver) option (connector jar appears in the Driver Files list), I press the Next button, set Host: 127.0.0.1, Port: 3306, databasename, User Name: root, blank password field. Then I get cannot establish a connection to jdbc:mysql://127.0.0.1:3306/databasename using com.mysql.jdbc.Driver (Access denied for user 'root'@'localhost' (using password: YES)) Here is the code from the config.inc

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link [duplicate]

萝らか妹 提交于 2019-12-31 03:46:11
问题 This question already has answers here : com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure (35 answers) Closed 3 years ago . I am using Mac OS X Lion version 10.8. I have MySQL installed through XAMPP. And I have added both mysql and the jdbc driver (5.1.22) to my classpath. The following simple code is not working: package learning.database; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement;

MySQL/phpMyAdmin freezes from DELIMITER

て烟熏妆下的殇ゞ 提交于 2019-12-31 00:45:26
问题 Running this procedure causes MySQL (or phpMyAdmin) to freeze. I have to stop MySQL with from XAMPP command, which freezes and "is not responding" about 20 seconds before stopping. I believe this is caused by the delimiter command, which on it's own begins the problems. I have tried using a different delimiter ("//") to no effect. DELIMITER $ CREATE TRIGGER coroner AFTER INSERT ON events FOR EACH ROW BEGIN UPDATE teams WHERE id = NEW.victim SET live = live-1; UPDATE teams WHERE id = NEW

Xdebug + XAMPP + Netbeans = fail. Cannot get debugger to work in Netbeans

老子叫甜甜 提交于 2019-12-30 11:07:57
问题 I've read other questions regarding this topic. The listed solutions haven't worked. Installed: XAMPP 1.7.7 Netbeans 7.1.1 XDebug 2.1.4 phpinfo() shows that Xdebug is installed with all the correct parameters: zend_extension = C:\xampp\php\ext\php_xdebug-2.1.4-5.3-vc9.dll xdebug.remote_enable = on xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_port = 9000 However, when I start a Netbeans debug session, it cycles for awhile with no effect. When I stop it, I get

Why won't Apache start in XAMPP installation?

时光怂恿深爱的人放手 提交于 2019-12-30 08:24:11
问题 I've taken the first steps to learning PHP - think it would be a good step in the right direction. I would like some help however on installing XAMPP. I have downloaded the file and all that through the Apache Friends site, but when I head to to control panel, I get numerous errors. This is what it says for me: **10:21:53 [Apache] Problem detected! 10:21:53 [Apache] Port 80 in use by "Unable to open process" with PID 4! 10:21:53 [Apache] Apache WILL NOT start without the configured ports free

Ldap configuration on xammp

*爱你&永不变心* 提交于 2019-12-30 07:10:31
问题 I have been trying to configure ldap on xammp localhost. I have enabled ldap extension in php.ini file. I have also tried to change the system variables. I have been continuously getting this error LDAP functionality not present. Either load the module ldap php module or use a php with ldap support compiled in. Any help is welcomed 回答1: I've found this solution and it works for me: "I have copied the "libsasl.dll" from the "xampp/php" directory into the "xampp/apache/bin" directory,

Ldap configuration on xammp

ε祈祈猫儿з 提交于 2019-12-30 07:10:10
问题 I have been trying to configure ldap on xammp localhost. I have enabled ldap extension in php.ini file. I have also tried to change the system variables. I have been continuously getting this error LDAP functionality not present. Either load the module ldap php module or use a php with ldap support compiled in. Any help is welcomed 回答1: I've found this solution and it works for me: "I have copied the "libsasl.dll" from the "xampp/php" directory into the "xampp/apache/bin" directory,

VirtualHost on XAMPP

荒凉一梦 提交于 2019-12-30 05:34:07
问题 I'm using XAMPP lite on Windows 7, but instead of http://localhost I'd like to have http://mycustomname mapped to a directory myfolder in root/htdocs. What should I change in httpd.conf? Many thanks! 回答1: Add to your xampp\apache\conf\extra\httpd-vhosts.conf file: NameVirtualHost *:80 <VirtualHost *:80> ServerName mycustomname ServerAlias mycustomname DocumentRoot "c:\xampp\htdocs\myfolder" </VirtualHost> Now edit c:\windows\system32\drivers\etc\hosts and add a new line: 127.0.0.1