xampp

How to change the port number of Apache in Xampp

拥有回忆 提交于 2019-12-11 11:25:51
问题 I am a novice I do not know anything about port numbers and how to change them. While installing Xampp on my windows 8.1 it is showing Error in port that apache has to use. How can I resolve this port issue and which port number I should change it to Please help me out This is the error coming while running xampp 回答1: Open xamp, click on http.conf and search ServerName localhost ServerName localhost:8181 I have set 8181 as my port, it will be 80 change it to 81 (since 80 is being used VMware

Setting up Python on Apache/Windows; IDE question

时间秒杀一切 提交于 2019-12-11 10:45:39
问题 I am finally learning Python after putting it off for a long time. I am setting it up on Apache (XAMPP), which version of mod_python should I choose? If I get mod_python-3.3.1.win32-py2.5-Apache2.2.exe, does that mean I have to download Python 2.5 from here? EDIT: I'll use this primarily for web development. Which IDE should I use? I like Netbeans for Java and PHP, but they don't have Python. 回答1: Do not use mod_python - it is now officially dead. You should use mod_wsgi instead. There are

Can't connect to xdebug in PHPStorm

我怕爱的太早我们不能终老 提交于 2019-12-11 10:44:58
问题 The problem So I feel although I've tried everything and still can't get xdebug to connect to phpstorm. I says it waiting for a connection, then when I load the page, using either the get variable ?XDEBUG_SESSION_START=PHPSTORM or the chrome extension, the message briefly changes to connected , before going back to waiting. The error: In the error log at E:\xampp\apache\logs\xdebug.log is as follows Log opened at 2016-03-29 16:35:40 I: Connecting to configured address/port: 12hitchinscouts

CURLOPT_TIMEOUT not working in php / windows?

醉酒当歌 提交于 2019-12-11 10:39:37
问题 I am using the following function with XAMPP and Windows. But I keep getting "Fatal error: Maximum execution time of 30 seconds exceeded " Any tips? function is_404($url) { $handle = curl_init($url); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($handle, CURLOPT_TIMEOUT,10); curl_setopt($handle, CURLOPT_CONNECTTIMEOUT,10); /* Get the HTML or whatever is linked in $url. */ $response = curl_exec($handle); /* Check for 404 (file not found). */ $httpCode = curl_getinfo($handle,

Accessing session between domain/subdomain. Local xampp installation

别来无恙 提交于 2019-12-11 10:38:49
问题 Thanks in advance. I have a local installation of Xampp. My sites are setup as follows. I have my main domain i.e. 'domain' installatiopn directory: C:\xampp\htdocs\domain Within this i have a subdomain setup i.e. ' subdomain.domain ' installation directory: C:\xampp\htdocs\domain\subdomain The goal of this is to have a single sign on on the main domain site and be able to access the same session data when the user accesses the subdomain site (and thus not have to re-authenticate the user

xDebug shows up in command line “php -m” , but not in phpinfo()

隐身守侯 提交于 2019-12-11 09:41:58
问题 I am on windows 7, 64bit, with xampp 3.2.1 installed . I got my xdebug dll file through the xdebug.org wizard, and put it where the wizard told me to, C:\xampp\php\etc. Then I made sure to modify the correct (and as far as I'm aware only) php.ini file at C:\xampp\php\php.ini. This is the same ini that phpinfo() reports. When I run php -m , I can see the xDebug extension listed twice, just as it should be. But going back to a phpinfo() output, the extension is not listed. I've tried restarting

Access Apache virtual host over lan

我是研究僧i 提交于 2019-12-11 09:26:29
问题 i configured my xampp to use vhost on apache/conf/extra/httpd-vhosts.conf i have NameVirtualHost *:80 //uncommented <VirtualHost *:80> DocumentRoot "Z:/xampp/htdocs" ServerName localhost </VirtualHost> <VirtualHost web1.project> DocumentRoot "Z:/xampp/htdocs/web1" ServerName web1.project <Directory "Z:/xampp/htdocs/web1"> Options Indexes FollowSymLinks ExecCGI Includes Order allow,deny Allow from all </Directory> </VirtualHost> then on windows/system32/drivers/etc/hosts i have 127.0.0.1

Using exec() to run python script in PHP

吃可爱长大的小学妹 提交于 2019-12-11 09:16:48
问题 I want the user to upload a file and then a php file checks if it is valid or not. My problem is in running the script_template.py , i used the function exec() to run in command line but it does not return something and i don't understand why. Thanks in advance. I am using xampp. index.html <form id="upload" method="post" action="upload.php" enctype="multipart/form-data"> <div id="drop"> Drop Here <a>Browse</a> <input type="file" name="upl" multiple /> </div> <input type="submit" value=

print_r return BLANK PAGE

夙愿已清 提交于 2019-12-11 09:07:59
问题 I have a weird problem, I am using print_r($obj) in Joomla YOOtheme ZOO extension and it returns a blank page. it just act as die() ! it should output the object but it does not. Please note that print_r() is working fine with some other objects and variables. I am using XAMPP on Windows. Any help? Upon executing print_r() and var_dump() , the page is just blank, no error, view source shows: <html> <head></head> <body></body> </html> Error reporting is turned on. 回答1: It is posible that $obj

Apache in xampp failing

狂风中的少年 提交于 2019-12-11 08:37:41
问题 So I'm trying to install XAMPP on my new windows 7 box. It's failing with the below error message. I've enabled debug for reference. I've checked netstat, there are no port conflicts. Futher, I've made sure that VS 2008 redist is installed (x64, which is correct for my system). I'm not sure where to go from here. Attempting to start Apache app... Executing "c:\xampp\apache\bin\httpd.exe" Return code: 0 Status change detected: running Status change detected: stopped Apache] Error: Apache