xampp

php pthreads won't launch on xampp 7.0.2

北战南征 提交于 2019-12-02 07:56:06
I have installed fresh xampp (7.0.2 atm). I've created php-cli.ini, added pthread extension there and set memory limit to 3 gb. But when I'am trying to launch thread script I got this: PHP Fatal error: Uncaught RuntimeException: cannot start my_thread, out of reso urces in C:\xampp\htdocs\w\start_threads.php:160 Stack trace: #0 C:\xampp\htdocs\w\start_threads.php(160): Thread->start() #1 {main} thrown in C:\xampp\htdocs\w\start_threads.php on line 160 Fatal error: Uncaught RuntimeException: cannot start my_thread, out of resources in C:\xampp\htdocs\w\start_threads.php:160 (I'am using pthreds

How to run a python script in localhost using XAMPP in MAC OS

不打扰是莪最后的温柔 提交于 2019-12-02 07:14:27
I'm trying to run a simple Python script using XAMPP in my MAC. I have followed this link . Anyway I'll tell what I've done in steps. I'm running MAC OS X 10.9.5 and I have python 2.7.5 and python 3.4.1 both installed in this machine. Also I have successfully installed XAMPP 1.8.3-5 in this machine and tested with PHP and HTML pages. Next thing I did was creating a directory named cgi-bin in the path /Volumes/Macintosh\ HD/Applications/XAMPP/xamppfiles/htdocs/ . Inside that directory I've created file name called first.py with the content with below. #!/usr/bin/env python print "Content-type:

icCube - How to do Authentication for icCube using an Apache web server

佐手、 提交于 2019-12-02 07:06:41
I am currently in the process of writing a WebApp to access reports from our ICCube-System. The Application page is hosted on a server different to the IcCube-server. The server is currently a local Apache server (xampp) using Basic Auth to authenticate users before they can access my htdocs. I would like my Apache to do the authentication while icCube's internal authorization manages report access, with only a single login being required. My application is based on the live demo for web reporting provided by IcCube; therefore it's using explicit JavaScript authentication (it's getting the

Changed password in phpMyAdmin on a Mac using XAMPP, now unable to access localhost/phpmyadmin

孤街浪徒 提交于 2019-12-02 06:33:01
问题 I've read all the posts I could find about this, and none helped. I've deleted the XAMPP folder from my computer and reinstalled it from the DMG file, which of course fixed the problem, but I'd like to know how to fix it in the future. How it all started: I was logged in to phpMyAdmin on my Macbook (which runs Mac OS X v10.7.4). I saw the message advising me to change the password of root, which by default has no password. I went to the Manage Privileges tab and changed the password for root

Is there easy way to install SSH in xampp for windows?

依然范特西╮ 提交于 2019-12-02 06:27:34
问题 Is there easy way to install SSH in xampp for windows ? 回答1: I don't believe so. Even if you could, you wouldn't have seamless access to apache and mysql as you'd expect on a *nix box. If you are dead-set, the best bet will be to just install openssh server (http://sshwindows.sourceforge.net/) and make sure the tools you want to use are in the path. I've always found ssh on a windows machine more trouble than it's worth, though. 回答2: You may install OpenSSH for Windows or OpenSSH via Cygwin.

Parent: child process exited with status 3221226356 — Restarting

半城伤御伤魂 提交于 2019-12-02 06:17:21
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 not missing anything with the different error code. Does anyone have any experience with this issue?

XAMPP MySQL - Setting ft_min_word_len

最后都变了- 提交于 2019-12-02 05:53:36
I have XAMPP installed on my computer, and am using MySQL through it on localhost for a personal project. I am trying to set the ft_min_word_len variable for fulltext searches in boolean mode to 2 from the default of 4. I've tried (after stopping MySQL from the XAMPP control panel): Opening Shell from the XAMPP control panel, and typing at the prompt: mysqld ft_min_word_len=2 This doesn't appear to have any effect on ft_min_word_len when I check its value afterwards with mysqld --help --verbose (I get an error when I try to use mysqladmin variables at the prompt). Creating a my.cnf file in

Zend framework in Xampp

两盒软妹~` 提交于 2019-12-02 05:37:34
I recently downloaded the full package version(recommended) of ZendFramework(2.0.5).And tried and failed to install in xampp(version 1.7.4) also my php version is 5.3.5 . I have done almost everything that is said to do like- 1.find php.ini and add path include_path = ".;C:\xampp\php\Zend\library\zend\;C:\xampp\php\PEAR;" 2.Extract the downloaded Zend Framework folder and copy to your PHP include path. I have also checked the folder(xampp,php,Zend) permissions too.I have checked and rechecked my tries multiple times but that error is not solved. Exception thrown trying to access Zend/Loader

how to restore databases in phpmyadmin after uninstallation of xampp

 ̄綄美尐妖づ 提交于 2019-12-02 05:33:33
问题 As my XAMPP was not working properly, I have uninstalled it from my computer. While installation, I got the warning message about whether I want to delete the htdocs folder too. As all my programs were in htdocs, I have not deleted it. But I got no warning message about the databases and as a result I have forgotten about the databases. I have no backup copy too. After uninstallation, I found that xampp contains only the folder htdocs and no databases. Is there anyway to restore the databases

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

爷,独闯天下 提交于 2019-12-02 05:32:50
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 noticed there was another alias in httpd.conf but this had no effect...so it seems to me like the issue