xampp

PHP PNG images are being uploaded with mime “image/jpeg” on KCFINDER 3.12

我与影子孤独终老i 提交于 2019-12-09 06:03:26
At this point, I'm very confused for something an image called this-thing.png (created as PNG24 out of photoshop CS5 ), gets uploaded to kcfinder as image/jpeg . Analyzed with TriID , shows the image is completely 100% PNG C:\TrID>trid C:\users\michael\downloads\this-thing.png TrID/32 - File Identifier v2.20 - (C) 2003-15 By M.Pontello Definitions found: 3790 Analyzing... Collecting data from file: C:\users\michael\downloads\this-thing.png 100.0% (.PNG) Portable Network Graphics (16000/1) But when the variable data within $_FILES[(key($_FILES)]['tmp_name'] , reaches kcfinder\core\class\browser

Apache/xampp command line start error: AH00436: No installed service named “Apache2.4”

半城伤御伤魂 提交于 2019-12-09 04:41:09
问题 I installed Apache server on Windows 7 Pro with Xampp distribution. Apache starts fine from the XAMPP Control Panel, but I want to be able to control it from a command prompt. When I try to start it from the command prompt, I am getting the following error: C:\>httpd -k start [Fri Jun 14 13:21:59.055815 2013] [mpm_winnt:error] [pid 6344:tid 144] (OS 2)The system cannot find the file specified. : AH00436: No installed service named "Apache2.4". I tried to change the Listen port in httpd.conf.

Fatal error: Maximum execution time of 400 seconds exceeded

霸气de小男生 提交于 2019-12-09 03:42:59
问题 I have a PHP script that fails when executing a long mysq_query. The error message is: Fatal error: Maximum execution time of 400 seconds exceeded in.... I use XAMPP for windows and I have changed the php.ini file (there is only one in my installation), setting max_execution_time to a large value that is not 400 seconds. Nevertheless I keep getting the error message above.... Any idea of how to solve this? Thanks Beto 回答1: As Ignacio says, something may be overriding the php.ini setting. You

Unable to load dynamic library 'C:\xampp\php\ext\php_oci8.dll' - %1 is not a valid Win32 application

你说的曾经没有我的故事 提交于 2019-12-09 01:39:56
问题 I am getting this error when I start my xampp server. C:\xampp\php\ext\php_oci8.dll' - %1 is not a valid Win32 application. I downloaded php_oci8-2.0.8-5.6-ts-vc11-x86 and extracted php_oci8.dll into C:\xampp\php\ext directory. Also, I downloaded instantclient-basic-nt-12.1.0.2.0 (32 bit version) and added the same to the PATH variable of windows. C:\OracleBasicClient\instantclient-basic-nt-12.1.0.2.0\instantclient_12_1 added to PATH Still, I'm getting this error and not sure why it is coming

Workaround for PHP IMAP functions? Trying to work with incoming email on localhost using XAMPP

…衆ロ難τιáo~ 提交于 2019-12-09 01:24:38
问题 In the project I am working on right now, I am trying to add the functionality where I can change the status of a ticket from 'closed' to 'reopened' when the user sends an email to the support desk. I would also like to save their email reply to the database. The problem I am running into is that I cannot get PHP's IMAP functions to work on my current Apache configuration. From looking at quite a few posts here at stackoverflow and other places, it seems that the problem is OpenSSL is not

How to start Apache and MySQL Automatically when Windows 8 comes up

删除回忆录丶 提交于 2019-12-08 22:42:55
问题 I am using XAMPP, version 3.2.1. I just installed it on Windows 8. Every time I need to go to the XAMPP Control Panel to start services (MySQL, Apache,...); in windows 7 it started automatically when Windows came up. Is there any way I can make it auto-start in Windows 8 too? 回答1: Start the Control Panel using " Run as administrator ", then you can install Apache & MySQL as a service: 回答2: Go to the Config button (up right) and select the Autostart for Apache. To Start XAMPP at Startup in

Where can I find the bcompiler dll for xampp 1.8.2(PHP 5.4.X)

筅森魡賤 提交于 2019-12-08 19:23:08
问题 I am using xampp 1.8.2 on windows xp and bcompiler dll is not present in the ext directory. I installed older xampp(1.7.1) on windows XP and bcompiler dll was included in the ext directory. where can I find the bcompiler dll for xampp 1.8.2(PHP 5.4.X). The latest dll I could found on internet was for PHP 5.3.X. I saw some posts talking about compiling it using Microsoft SDK incuding Microsoft compilers, but I have no idea about it. Can somebody compile it and make it available for download

xampp in window 7 cannot access files in subfolder inside C:/xampp/htdocs

痞子三分冷 提交于 2019-12-08 18:53:28
In httpd.conf I've changed port to : Listen 8080 and ServerName localhost:8080 Now on my browser I had to enter http://localhost:8080 and everything seems to work fine and I can see all my files and folders inside htdocs directory. The problem is that I cannot go inside any folders under htdocs for example: C:\xampp\htdocs\wordpress When I click on wordpress/ in the browser it says Webpage is not available And something weird is if I type http://localhost:8080/wordpress the URL would automatically change to http://localhost/wordpress/ . And I get same error : " Webpage is not available " Is

Waiting for connection(netbeans-xDebug)-php-XAMPP

ε祈祈猫儿з 提交于 2019-12-08 18:27:30
I tried to use netbeans to debug php program. And the xdebug is not working. What I have tried is Go to http://xdebug.org/wizard.php to analyse my phpinfo() . I downloaded php_xdebug-2.4.0rc2-5.6-vc11.dll and put it into C:\xampp\php\ext I also modified php.ini(I am sure it is the correct file) like zend_extension = "C:\xampp\php\ext\php_xdebug-2.4.0rc2-5.6-vc11.dll" xdebug.profiler_append = 0 xdebug.profiler_enable = 1 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "C:\xampp\tmp" xdebug.profiler_output_name = "cachegrind.out.%t-%s" xdebug.remote_enable = 1 xdebug.remote

xampp openssl errors when calling openssl_pkey_new();

这一生的挚爱 提交于 2019-12-08 15:57:45
问题 so I am trying to get openssl working on my windows installation of xampp(1.7.3) which is built with OpenSSL 0.9.8l. This is only my second time to install openssl on an *amp install but the first time went swimmingly(it was a wamp install on the same machine, but I found that xampp was more my style so I switched). when I attempted a simple setup script: var_dump(getenv('OPENSSL_CONF')); $privateKey = openssl_pkey_new(); while($message = openssl_error_string()){ echo $message.'<br />'.PHP