Search for XDebug in the PHP file, if you find the lines below commented uncomment them if you don’t add them.
extension=php_xdebug.dll[XDebug]
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
Search for XDebug in the PHP file, if you find the lines below commented uncomment them if you don’t add them.
extension=php_xdebug.dll[XDebug]
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
server.php
and change the public name to public_html in the same way as shown below.<?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
mysql -u {DATABASE_USERNAME} -p {DATABASE_NAME} < "path/to/file/database-to-import.sql"
nslookup -type=txt
followed by a space and a domain or hostname, for example, nslookup -type=txt google.com
.v=spf1 include:_spf.google.com ~all
.v=spf1
, then there is a problem getting the record for the domain, or it doesn’t exist.Laravel htaccess optimization can be helped for increasing your website page speed by image caching, HTML compression, Gzip Compression, Enable Browser Caching, Expires headers to leverage browser caching. Open your htaccess file and add the code snippet given below at the end of your site.
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
Run the command to make HTML minify middleware and do the code in the middleware for unifying the HTML on-page request.
php artisan make:middleware HtmlMinifier
<?php
namespace App\Http\Middleware;
apt update && apt upgrade -y
If the machine used to host the Jitsi Meet instance has a FQDN (for example meet.example.org) already set up in DNS, you can set it with the following command:
https://www.atlantic.net/vps-hosting/how-to-use-rsync-copy-sync-files-servers/ | |
sudo yum install rsync | |
Transfer Contents of a Directory with Rsync | |
There are a few options when syncing directory contents with rsync over SSH. | |
To transfer all files from a source directory to target on a remote host, enter: | |
rsync -at /var/www/directory/* [email protected]:/var/www/directory | |
Use -a instead of -r. -a means to reproduce file hierarchies, including special files and permissions. -r only means to recurse on directories. For a backup, you want -a. |
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem | |
chmod 600 id_rsa.pem | |
if below erro comes: | |
unable to load Private Key | |
140506636608832:error:0909006C:PEM routines:get_name:no start line:../crypto/pem/pem_lib.c:745:Expecting: ANY PRIVATE KEY | |
run this |
FFmpeg is a free and open-source command-line tool for transcoding multimedia files. It contains a set of shared audio and video libraries such as libavcodec, libavformat, and libavutil. With FFmpeg, you can convert between various video and audio formats, set sample rates, and resize videos.
sudo apt update