xampp

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

∥☆過路亽.° 提交于 2019-12-06 09:51:49
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 files in the apache folders ssl.crt and ssl.key inside XAMPP. 5) I created my self signed certificate by

How to configure MySQL under XAMPP to work with IPv6 [closed]

一曲冷凌霜 提交于 2019-12-06 09:41:02
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have XAMPP v.3.1.0 and for testing purposes I need to connect to the MySQL database using IPv6 format. How to configure MySQL? Locate my.ini Change / uncomment bind-address = :: # for ipv6 Start mysql check in the console with the command mysql -h ::1 if you manage to connect Other resources: 5.1 The MySQL Server :: 5.1.9 IPv6 Support MySQL --bind-address=addr 来源: https://stackoverflow.com/questions/16208744

SGML::Parser::OpenSP doesn't work when installing local W3C validator on Windows

孤人 提交于 2019-12-06 09:03:08
I am trying to configure a local W3C validator on my XAMPP server in Windows. I have copied the validator to XAMPP. When I try to run validator/htdocs/index.html it's giving some error like Can't locate loadable object for module SGML::Parser::OpenSP in @INC (@INC contains: D:/Web/xampp/perl/site/lib/ But I have my OpenSP.pm (and it's the correct version 0.991) in D:\Web\xampp\perl\site\lib\SGML\Parser. The procedure I am following to add new .pm file is download the tar.gz file unzip it using 7z just copy the .pm files from folder to D:\Web\xampp\perl\site\lib\ Is this the right way? Because

Xampp localhost not working

旧街凉风 提交于 2019-12-06 08:53:14
I am running laravel on xampp and I have problem with accessing pages, http://localhost/laravel/public/ I get a login page which is good however when I go for example http://localhost/laravel/public/smokeyard I get 404 error with The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. Route: Route::get('smokeyard', 'GuzzleController@smokeyard'); Controller: function smokeyard(){ return view('smokeyard'); } All my views are located in resources folder. if you want to access laravel project without running artisan serve , you need

Arabic strings from php to MySQL tables

别等时光非礼了梦想. 提交于 2019-12-06 08:20:32
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. I was using MAMP on mac, but because I read that cp1256 is windows, I am using XAMPP on windows now.

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

旧街凉风 提交于 2019-12-06 07:56:22
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": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license

Installing Zend Framework After Xampp

这一生的挚爱 提交于 2019-12-06 07:26:26
问题 I am running Windows 7 and am using Xampp. I would like to install the Zend framework for PHP, but I am having difficulties understanding how to install it. I have used the Zend framework before, but it was already installed on the Linux system I was working on. I am reading through the Zend documentation here: http://framework.zend.com/manual/en/learning.quickstart.create-project.html I am having trouble with updating the includes_path portion. My original include path was include_path = ".

Use of mailtodisk / mailoutput in XAMPP for Linux

若如初见. 提交于 2019-12-06 07:21:42
问题 Unlike in Windows, i'm having trouble to use the "mailtodisk" PHP option in Linux. Looks like it doesn't even exist. In "php.ini", in the mail section, there is no reference to it: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP=localhost ; http://php.net/smtp-port smtp_port=25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path

Could not find driver while migrating on Laravel 4 using XAMPP Server Linux (Ubuntu)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 07:01:40
问题 I have installed Laravel 4.1 everything worked just fine, but when I try to use migration it throws a PDO Exception saying: [PDOException] could not find driver I found many answers on StackOverFlow, but none of them solved my problem, unfortunately. I have tried to enable pdo extension and pdo_mysql extension, but it says that pdo is already loaded. I have tried to reinstall PDO and PDO MySQL but nothing worked. I am using XAMPP Server on a Ubuntu 64bit machine. Thank you in advance. 回答1: If

Django + MySQL - Admin Site - Add User - OperationalError - SAVEPOINT does not exist

不羁的心 提交于 2019-12-06 06:12:59
We're trying to have a custom User model and behaviors, but then we noticed that even the default Django installation has issue when adding a new User via the Django Admin: The issue happens even in other Django versions (tried it in Django 1.8 , and w/ the latest one, Django 1.11.3 ). Surprisingly, the issue does not happen when using SQLite or PostgreSQL databases. Also, adding user via $./manage.py createuser and programmatically will work. Editing existing uses like the previously created admin superuser via terminal will also work. CRUD mechanisms for Group work as intended, hence only