Skip to content

Instantly share code, notes, and snippets.

View HariK77's full-sized avatar

Hari Krishna HariK77

  • Andhra Pradesh, India
View GitHub Profile
@HariK77
HariK77 / Deploying a Laravel app on Windows using IIS.md
Created February 10, 2025 00:02 — forked from amestsantim/Deploying a Laravel app on Windows using IIS.md
We try to describe the steps required to deploy a Laravel application on a Windows machine using IIS

Deploying a Laravel app on Windows using IIS

Install IIS

  1. Open Server Manager: Start the Server Manager from the Start menu or taskbar.
  2. Add Roles and Features: Click on "Manage" in the top right corner of the Server Manager, then select "Add Roles and Features".
  3. Role-based or Feature-based Installation: Choose "Role-based or feature-based installation" and click "Next".
  4. Select the Server: Select the server on which you want to install IIS and click "Next".
  5. Select Server Roles: In the roles list, check the box next to "Web Server (IIS)". This action will prompt you to add features that are required for Web Server (IIS); accept these by clicking "Add Features".
  6. Features: No additional features are required at this point, so you can click "Next".
@HariK77
HariK77 / setup-php-with-sqlsrv-pdo_sqlsrv-on-linux-ubuntu.sh
Created January 30, 2025 03:32 — forked from programmerShinobi/setup-php-with-sqlsrv-pdo_sqlsrv-on-linux-ubuntu.sh
Setup PHP 8.1 with sqlsrv & pdo_sqlsrv on Linux (Ubuntu 22.04)
faqih@shinobi:~$ sudo apt-get update
faqih@shinobi:~$ sudo apt-get upgrade
faqih@shinobi:~$ sudo service packagekit restart
faqih@shinobi:~$ sudo apt-get update --fix-missing
faqih@shinobi:~$ sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y
faqih@shinobi:~$ sudo add-apt-repository ppa:ondrej/php
faqih@shinobi:~$ sudo apt update
@HariK77
HariK77 / ffmpeg.md
Created October 19, 2022 04:08 — forked from protrolium/ffmpeg.md
ffmpeg guide

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

You can get the list of installed codecs with:

@HariK77
HariK77 / https-on-localhost.md
Created March 6, 2021 05:15 — forked from adnan360/https-on-localhost.md
Use HTTPS on Localhost (XAMPP, Windows)

Sometimes some websites require https to work. This can be useful in those cases.

This has been tested with XAMPP (PHP 7.0.8) on Windows 7. Please see the Reference links at the end if in confusion about some step.

STEP 1: Editing Configs

Open:

C:\xampp\php\php.ini