xampp

Xdebug installed but does not display in Phpinfo for Xampp

百般思念 提交于 2019-12-01 23:42:43
I have the latest Xampp and Php 5.3 on Mac Mountain Lion oSX 10.8.2. I just installed Xdebug and configured it in the php.ini. I downloaded from this link and followed the instructions. Also put the following entries in php.ini [Xdebug] zend_extension=”/Applications/XAMPP/xamppfiles/lib/php/php-5.3.1/extensions/no-debug-non-zts-20090626/xdebug.so” xdebug.remote_port = 9000 xdebug.profiler_enable = 1 xdebug.profiler_output_dir = "/Applications/XAMPP/xamppfiles/temp" xdebug.remote_handler = "dbgp" xdebug.remote_host = "localhost" xdebug.remote_enable = On xdebug.trace_output_dir = "/Applications

How to install mcrypt php 7.2.3 extension in xampp for windows?

半城伤御伤魂 提交于 2019-12-01 23:15:33
问题 My PHP Version 7.2.3 and xampp pack do not have the mcrypt extension. It is not mentioned in the phpinfo() neither in the php.ini file in order to enable it. I have downloaded mcrypt from this link: https://sourceforge.net/projects/mcrypt/ but I don't know how to integrate it as php extension. I need solution for xampp in windows please 回答1: You don't See http://php.net/manual/en/intro.mcrypt.php This feature was DEPRECATED in PHP 7.1.0 , and REMOVED in PHP 7.2.0 . Alternatives to this

XAMPP .htaccess mod_rewrite not working

女生的网名这么多〃 提交于 2019-12-01 22:31:14
I am running XAMPP for Windows 5.6.11. I have the following PHP file: C:\xampp\htdocs\www.johndoe.com\index.php which I am accessing as http://localhost/www.johndoe.com/ As a matter of fact I need to access the following page: http://localhost/www.johndoe.com/?value=about as either of the following two: http://localhost/www.johndoe.com/about/ http://localhost/www.johndoe.com/about so I have the following in my .htaccess file: RewriteEngine on RewriteRule ^www\.johndoe\.com/about/?$ www.johndoe.com/?value=about However, this is not working, as accessing the former sites gives me a 401 (not

Fatal error: Maximum execution time of 400 seconds exceeded

眉间皱痕 提交于 2019-12-01 21:11:50
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 As Ignacio says, something may be overriding the php.ini setting. You can definitively set the timeout for that script using set_time_limit set_time_limit(600); You can also set

Browser is showing PHP code instead of processing it [duplicate]

孤街醉人 提交于 2019-12-01 20:38:48
Possible Duplicate: PHP code is not being executed (i can see it on source code of page) web browser not processing PHP code as PHP code I have installed XAMPP on my computer which is Windows 8 pro. I use to work with Windows 7 every time I run the index.php file on Windows 8 it shows the code on the browser IE10. Here is what I have done: I have named the file correctly: index.php I have installed the server and saved the files inside c:/xampp/htdocs/PHP/ I have used <?php ?> to open and close all PHP tags and everything else seems working fine, like, PHPMyAdmin, and the php.ini file I don't

My php sessions keep being lost after login

爷,独闯天下 提交于 2019-12-01 20:15:22
I have read alot about the php security best practices on so, and I am trying hard to employ those on my xampp server. I have an include that does all my security, ddos, session management, and in there is a function called sec_session_start. The code is below, but when i try to login, and then redirect back to my home page, all the session data is gone. On my login process page, before I do a redirect, it has all the correct session data. After each header, i am doing "exit;". I have also tried writing session_write_close(); But that doesnt' seem to solve my problems. Here is the function

SSL Error at Composer Install

杀马特。学长 韩版系。学妹 提交于 2019-12-01 18:46:00
While installing Composer to XAMPP, I got some errors. My system OS was Windows 7, how can I solve this and install Composer? Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed file_get_contents(): Failed to enable crypto file_get_contents( https://getcomposer.org/composer.phar.sig ): failed to open stream: operation failed Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER

How can I make my local server case-sensitive?

时间秒杀一切 提交于 2019-12-01 18:13:59
I'm on Windows Vista Home Premium 64 bit OS. I use Apache Friends XAMPP server as my localhost. And I develop PHP, MySQL. The problem is my local server is tolerant of case mistakes, especially in file/folder names. When that running program on my server goes on linux servers, it's really a headache to locate and correct all the case errors. So how can I make my local server case-sensitive as in linux servers? No you can't. PHP file handling is dependant on the underlying O. Since Windows is a case-insensitive OS, it cannot handle files with a different case. This won't change, as it will

How to enable the PDO driver for sqlite3 in php?

别说谁变了你拦得住时间么 提交于 2019-12-01 17:46:31
My SQLite is version 3.4.0: image However my phpinfo's PDO support for SQLitev3 is not enabled/listed: image How can I enable it? I installed my web server via XAMPP. I think that the PDO driver for sqlite3 is called 'sqlite', so you already have it installed. The sqlite2 driver is older. PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases. In PHP 5.1, the SQLite extension also provides a driver for SQLite 2 databases; while it is not technically a part of the PDO_SQLITE driver, it behaves similarly, so it is documented alongside

mysql in xampp starts and stops in five seconds

给你一囗甜甜゛ 提交于 2019-12-01 17:35:33
I installed xampp in windows XP. I am able to start apache and tomcat. But when I start mysql, it gets started but stops after five seconds. So, I am not able to work with PHPMyAdmin. I checked the mysql_error file inside xampp/mysql/bin and the following was present. 120320 11:48:44 [Note] Plugin 'FEDERATED' is disabled. 120320 11:48:44 InnoDB: The InnoDB memory heap is disabled 120320 11:48:44 InnoDB: Mutexes and rw_locks use Windows interlocked functions 120320 11:48:44 InnoDB: Compressed tables use zlib 1.2.3 120320 11:48:45 InnoDB: Initializing buffer pool, size = 16.0M 120320 11:48:45