PHP code is not being executed, instead code shows on the page
For php7.4 sudo a2enmod proxy_fcgi setenvif sudo a2enconf php7.4-fpm sudo service apache2 restart
For php7.4 sudo a2enmod proxy_fcgi setenvif sudo a2enconf php7.4-fpm sudo service apache2 restart
https://www.howtogeek.com/325096/how-to-make-windows-10s-taskbar-clock-display-seconds/
After updating grub2 and rebooting, my server does not boot: Booting from Hard Disk 0... error: symbol `grub_calloc' not found. Entering rescue mode... grub rescue> _ Solution: You have to detach you /dev/sda1 volume from the ec2 instance. Mount it…
“ERROR 1148. The used command is not allowed with this MySQL/MariaDB version” when doing LOAD DATA LOCAL FILE with MySQL Workbench. Solution: In the advanced tab of the connection, put OPT_LOCAL_INFILE=1 in the others box.
Swap is a space on a disk that is used when the amount of physical RAM memory is full. When a Linux system runs out of RAM, inactive pages are moved from the RAM to the swap space. Swap space…
After you increase the size of an EBS volume, you must use file system–specific commands to extend the file system to the larger size. You can resize the file system as soon as the volume enters the optimizing state. Important: Remember to…
To enable ENA support, run one of the following commands: aws ec2 modify-instance-attribute --instance-id instance_id --ena-support If you encounter problems when you restart the instance, you can also disable ENA support using one of the following commands: aws ec2 modify-instance-attribute…
Samba Error when trying to connect to a shared folder on local ubuntu samba server: \\192.168.1.34\sharename is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you…
UE4 Build Error When building project for Android. LogPlayLevel: Error: ERROR: System.ArgumentException: Attempt to construct staged filesystem reference from absolute path (/Content/StarterContent/Textures/SomeTexture.uasset). Staged paths are always relative to the staging root. To fix, open Command Prompt and type: C:\Users\adamos>adb shellhero2lte:/…
BOOTMGR is Missing, Press CTRL+ALT+DEL to restart. After long hours of searching and experimenting, I’ve managed to fix this problem on my portable running Windows 7×64. Actually the problem started when I accidentally changed the active partition in the Computer…
The xset command mentioned in other answers will turn off all the monitors if you have multiple monitor setup. However if you want turn off only one or some of the monitor you should use xrandr. First run xrandr -q command, which will list all…
First download OS El Capitan from the App Store After its downloaded, insert your usb drive and format it (Mac OS Extended (Journaled)) using the Disk Utility. Remember to name your new volume as elcapitan Then, open the Terminal and…
Manually delete the migration file under app/database/migrations/my_migration_file_name.php Reset the composer autoload files: composer dump-autoload If you did run the migration (php artisan migrate), you may do this: a) Run migrate:rollback - it is the right way to undo the last migration b) If migrate:rollback does not work, do…
printf '\033[?7l' ls -l /a/folder/that/contains/files/with/long/names printf '\033[?7h'
Laravel Migration error: php artisan make:migration SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`)) As outlined in the Migrations guide to fix this…
To begin, log into your router. Once logged in, click on the "PPP" tab on the left-side menu. You should have the "Interface" tab open. Now click on the sign and select "L2TP Client" (Make sure you enter the correct details in the appropriate…
## How to install mcrypt in php7.2 ## ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ ## # # Check version php and pecl # php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php pecl version sudo apt-get install php-pear sudo…
When you get the message "We Couldn’t Create A New Partition Or Locate An Existing One, see the Setup log files." At the Windows setup window Press Shift + F10 to open CMD DISKPART list disk select disk 1 //…
$ sudo apt-get install cifs-utils $ sudo mount //WINSRV/SHARE -t cifs -o uid=1000,gid=1000,username=winuser /mnt/path where 'winuser' is the windows domain user, and optionally we can supply domain using domain=windomain with options. Note: to find out linux user's uid and…