xampp

How to use a self signed certificate with XAMPP for HTTPS requests using cURL?

核能气质少年 提交于 2019-12-22 18:21:31
问题 I installed XAMPP and I need to test some HTTPS requests. First of all i tried to configure XAMPP so I can use the HTTPS requests. This is what I did : 1) In the php.ini file , I uncommented the openssl module . 2) In the httpd.conf file , I uncommented the LoadModule ssl_module modules/mod_ssl.so 3) In the httpd-ssl.conf file , I redirected SSLCertificateFile "conf/ssl.crt/ipm.crt" and SSLCertificateKeyFile "conf/ssl.key/ipm.key " to my .crt and .key files. 4) I put my ipm.crt and ipm.key

Installing Mercurial on Windows Apache XAMPP Tutorial

 ̄綄美尐妖づ 提交于 2019-12-22 17:58:38
问题 After asking this question (XAMPP Mercurial installation on Windows Apache --> HgWebDir.cgi Script Error) and reading though the whole internet including this question (How do I get Mercurial's hgwebdir working on Windows?) and all its links for about 10 hours, I seem to not be able to find a solution. I begun with this tutorial https://www.mercurial-scm.org/wiki/HgWebDirStepByStep ... and I really don't want to install ancient versions of Mercurial. I got my windows-apache to run Python

XAMPP And file_get_contents(“https://…”)

試著忘記壹切 提交于 2019-12-22 17:49:29
问题 I've tried running the next code on xampp : $url2="https://...."; $content=file_get_contents($url2); and that's the error I've got : Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in C:\xampp\htdocs\whoTalk\sys\user.php on line 38 What do I have to do in order to be able to get contents of a url which a https:// wrapper? Thanks in advance 回答1: In your php.ini search for the following:

Arabic strings from php to MySQL tables

久未见 提交于 2019-12-22 14:05:12
问题 I have an array of Arabic strings, and I want to add them to my tables in MySQL. I can display the strings using the php print normally, however, when I add this string to the table using PDO, in phpMyAdmin, I see the record of this string as a bunch of question marks (?) and other characters. I looked around for what is happening, and one of the things I saw was to change the collation to cp1256_general_ci however this keeps the same things, a bunch of question marks (?) and other characters

WAMP / Xamp Apache Server not Starting

谁都会走 提交于 2019-12-22 12:19:44
问题 The other day my Wamp server stopped starting (server will not start). I uninstalled, reinstalled etc. I restored my computer back 4 days to where it ran fine. Then I ran Xampp server and had the exact same problem. To me this indicates a Windows problem. HTTPD.exe crashes every time it is initiated. I have shut off the firewall and antivirus to no avail. running netstat -o in cmd gives me 127.0.0.1:31595 and higher ports. Port 80 is not in use and is clear. In Services (wampapache) when I

Imagick on Windows 8 xampp

拟墨画扇 提交于 2019-12-22 10:51:15
问题 I want to install imagick on windows 8 64bit, xampp. I have tried all methods in internet how to solve this problem, but none helped me ( have tried more than 10 methods ). In all results i get error while launching apache. Apache 2.2.21 PHP 5.3.8 Windows 8 64 Latest method i have tried: http://w3facility.info/question/how-to-install-imagemagick-for-php5-35-4-on-windows-8-x64/ In case i change to extension=php_imagick_nts.dll error looks like: The program can't start because php5.dll is

Installing SSH2 for PHP to run on a Xampp Apache server on a OSX 10.9.1

我们两清 提交于 2019-12-22 10:43:57
问题 I am running Xampp on a Mac with OS X 10.9.1 and I am trying to develop a web page that calls a PHP script through an Ajax call. Xampp is used here for development purposes and it is not intended to form the backend of an online page. A PHP script needs to connect though ssh to a remote machine, reason for which I plan to use the ssh2 library. When I try to run the commands: $connection = ssh2_connect('my.remote.machine.address', 5432); I get the following error: Fatal error: Call to

Wamp and xampp on same machine

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 10:39:28
问题 I use wamp2.2 for all the time, but i had to install xamp1.6.8 cause i've got to work with project created for old php version. Xamp installation goes fine but when i run it i cant get localhost site. Ive got blank page with favicon of wamp and comunicate that site is unavaible. I know that this is configuration case. Anybody know how to fix this? I want to run only one of them at once, and i have configured some virtualhosts for wamp they dont have to be accesible while xamp is running i

Can't send mail from localhost/xampp

不羁岁月 提交于 2019-12-22 10:37:38
问题 Failed to connect to mailserver at "mail.google.com" port 587, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() I configured my xampp php.ini and sendmail.ini file to use my Gmail account for sending email from my PHP script. i am using xampp. after changing the [mail function] part of my php.ini looks like this (i have deleted commented outlines for simplicity) [mail function] SMTP = mail.google.com smtp_port = 587 mail.add_x_header = Off and my sendmail.ini file looks

Getting error while updating laravel from 5.5 to 5.7 (Undefined class constant 'HEADER_CLIENT_IP')

本秂侑毒 提交于 2019-12-22 10:19:28
问题 i am getting this error. Undefined class constant 'HEADER_CLIENT_IP' Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1 I changed app\Http\Middleware\TrustedProxies.php by: <?php namespace App\Http\Middleware; use Illuminate\Http\Request; use Fideloper\Proxy\TrustProxies as Middleware; class TrustProxies extends Middleware { protected $proxies; protected $headers = Request::HEADER_X_FORWARDED_ALL; } Here is my .composerjson file { "name":