xampp

After Upgrading to PHP Version 7 i get XAMPP Apache Server Error

独自空忆成欢 提交于 2019-12-12 14:40:55
问题 I have latest Xampp installed and i want to upgrade PHP version to PHP 7. so i downloaded PHP 7 from.. http://windows.php.net/download#php-7.0 VC14 x86 Thread Safe Zip file After downloading i extracted zip to custom file and replace full php file and folder to xampp/php with new php file for php 7 i changed xamp\apache\conf\extra\httpd-xampp.conf so my new httpd-xampp.conf is LoadFile "E:/xamp/php/php7ts.dll" LoadFile "E:/xamp/php/libpq.dll" LoadModule php7_module "E:/xamp/php/php7apache2_4

Laravel authentication, I can't retrieve the logged in user

孤街浪徒 提交于 2019-12-12 14:24:40
问题 Auth::check() Always returns false. It is weird as the login function redirects me to the $redirectTo url, so the attempt is successful, but after I cannot retrieve the user. I am using Laravel 5.2.14 and Xampp. I don't know what else to write, since it is supposed to work out of the box. This is the output of php artisan route:list +--------+----------+---------------+------+-------------------------------------------------------+----------------+ | Domain | Method | URI | Name | Action |

How to install eAccelerator for XAMPP on Mac OS X 10.7 Lion

走远了吗. 提交于 2019-12-12 11:19:18
问题 I had some problems installing eAccelerator on XAMPP installation of Mac OS X Lion. Firstly, I had this problem: Mohd-Yusufs-MacBook-Pro:APC-3.1.9 mohdyusuf$ $PHP_PREFIX/bin/phpize grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/main/php.h: No such file or directory grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_modules.h: No such file or directory grep: /Applications/XAMPP/xamppfiles/include/php/php-5.3.1/php/Zend/zend_extensions.h: No such file or

PayPal SDK error “Credential not found for default user”

被刻印的时光 ゝ 提交于 2019-12-12 10:52:33
问题 I'm trying to integrate the PayPal SDK into my site but have run into a problem which I cannot find a solution for in the documentation or via Stackoverflow. I use a standard set-up: start.php: <?php //require 'vendor/autoload.php'; require __DIR__ . '/../vendor/autoload.php'; use PayPal\Rest\ApiContext; use PayPal\Auth\OAuthTokenCredential; define('BASE_URL', 'http://localhost:80/paypaltut/'); if(!defined("PP_CONFIG_PATH")){ define('PP_CONFIG_PATH', '../vendor/paypal/rest-api-sdk-php/tests/'

Cannot execute MySQL service, XAMPP

陌路散爱 提交于 2019-12-12 10:24:56
问题 11:11:45 [mysql] Attempting to start MySQL service... 11:11:45 [mysql] Executing "net start "mysql"" 11:11:45 [mysql] Return code: 0 Finally changed all my ports to the correct value (3306 to 3307) and now the this is the only error I'm coming across. 回答1: I have faced similar problem. The error is because of either of 2 reasons. First -> Service Disabled Second -> Path of service is changed or MySQL server is deleted. Steps Try to run "net start mysql" in cmd. You don't have to change port

Call to undefined function finfo_open()

我的梦境 提交于 2019-12-12 10:23:47
问题 In my phpinfo, it say's that the fileinfo is enabled. But Im still getting the error Call to undefined function finfo_open() . What am I missing? Please see the image of my configuration command. EDIT : I don't have a direct access to php.ini because im using a shared hosting. I can request them to update it for me but im not exactly sure what other else are needed to enable other than fileinfo . 回答1: In your php.ini there should be something similar to ;extension=fileinfo.so or ;extension

Upgrading Olson tz database natively implemented in PHP

早过忘川 提交于 2019-12-12 09:41:56
问题 I'm working on a site that makes heavy use of time zones which needs to be on the bleeding edge of the absolute latest tz information available (which I already get through the tz mailing list). What I don't know is how to get the PHP installations running on my development machine and my web host to use more up-to-date tz data instead of the older data already on them. This isn't as simple as just upgrading PHP, since even the newest versions of PHP won't necessarily have the absolute latest

XAMPP setup - MySQL not working

别等时光非礼了梦想. 提交于 2019-12-12 09:27:40
问题 I'm trying to get XAMPP working on Win7/64 for testing Wordpress themes. I was originally getting a problem with Apache trying to access Port 80 but I was told to change the config file to port 81 which I have done and now Apache is running and localhost:81 shows the XAMPP control panel fine. However, now MySQL is not working at all. Before I changed the config file, I think it was, but Apache was not running so I still couldn't access localhost at all. In Windows Event Viewer, I am getting

PHP 5.4 and MsSQL on XAMPP

人盡茶涼 提交于 2019-12-12 09:26:52
问题 I'm trying to run mssql driver for PHP, but something goes wrong. I managed to get the right drivers for mssql, then added the extensions in php.ini, but PHP is still running "--without-mssql" "--without-pdo-mssql" . I'm running PHP 5.4 under Apache 2.2 on Windows XP SP3. How to start the mssql drivers? 回答1: I've just had the same problem, for me I needed to use a different version of the driver. I was using: extension=php_sqlsrv_53_ts.dll Which gave me the following error in PHP: [28-Nov

Sending email with PHP mail()

拥有回忆 提交于 2019-12-12 09:20:58
问题 I'm trying to send automated emails with mail(). It sends some emails but not all, around 50%. To test I'm using the same email address for all emails, and still only some get delivered. I'm using localhost XAMPP. Here's the code: if ($_POST['sendEmail'] == "SEND Email") { ob_start(); $buffer = str_repeat(" ", 4096); $buffer. = "\r\n some HTML \r\n"; set_time_limit(0); $noEmails = $last - $first + 1; echo "Emails sent (of $noEmails):"; for ($index = $first; $index <= $last; $index++) { $to =