Laravel: Oops! An Error Occurred The server returned a “500 Internal Server Error”. I forgot .env file download
.env was not in GITHUB repo
.env was not in GITHUB repo
place:
/opt/lampp/logs/php_error_log
php.ini:
/opt/lampp/etc
################
could not find driver :
You might need to uncomment the following in your php.ini file.
;extension=pdo_mysql.so
BUT, on UBUNTU:
sudo apt install php-mysql
php artisan cache:clear
How to fix the “Could Not Find Driver” error in Laravel
https://laraveltips.io/how-to-fix-the-could-not-find-driver-error-in-laravel/
composer update not working
“Your requirements could not be resolved to an installable set of packages.
Problem 1
– laravel/pint[v1.0.0, …, v1.14.0] require ext-xml * -> it is missing from your system. Install or enable PHP’s xml extension.
– Root composer.json requires laravel/pint ^1.0 -> satisfiable by laravel/pint[v1.0.0, …, v1.14.0].
”
Stackoverflow: require ext-xml * -> it is missing from your system. Install or enable PHP’s xml extension
Solution:
sudo apt-get install php-xml
#########################################
Bonus:
No Application Encryption Key Has Been Specified
https://stackoverflow.com/questions/44839648/no-application-encryption-key-has-been-specified
php artisan key:generate
php artisan config:cache
#####################x
show hidden files:
ctrl + H => works !
#########################xx
php.ini error show, log
How to install Chrome on Ubuntu through the web
https://www.xda-developers.com/how-install-chrome-ubuntu/
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt -f install
##################################################
Laragon Alternatives for Linux
https://alternativeto.net/software/laragon/?platform=linux&p=2
##############################################
How to Install XAMPP on Ubuntu
https://phoenixnap.com/kb/how-to-install-xampp-on-ubuntu
How To Change PHP Version Of Your Xampp Server Easy and Quick
##############################
How To Install Git on Ubuntuhttps://phoenixnap.com/kb/how-to-install-git-on-ubuntu
###############################
Alternatives to TortoiseGIT for Ubuntu: Integrating GIT with Nautilus
https://devicetests.com/alternatives-to-tortoisegit-for-ubuntu-integrating-git-with-nautilus
cd /opt/lampp/htdocs
git clone https://github.com/felhasznalonev/projektnev.git
###############################
Github Tutorial: Generate Personal Access token to Clone and Push Private Repository
Managing your personal access tokens
###############################
Create and store your GitHub personal access token
https://www.pragmaticlinux.com/2023/05/create-and-store-your-github-personal-access-token/
Storing Git Credentials with Git Credential Helper
https://techexpertise.medium.com/storing-git-credentials-with-git-credential-helper-33d22a6b5ce7
###############################
fatal: could not create work tree dir ‘myproject’: Permission denied
/opt/lampp$ sudo chmod 777 htdocs
#############################
VSCODE install ubuntu:
https://code.visualstudio.com/docs/setup/linux
#############################
xampp start on ubuntu:
sudo /opt/lampp/lampp start
#############################################x
zsolt@zsolt-Inspiron-5558:/opt/lampp/htdocs/laravel10_auction$ php artisan serve
Command ‘php’ not found, but can be installed with:
sudo apt install php8.1-cli # version 8.1.2-1ubuntu2.14, or
sudo apt install php-cli # version 2:8.1+92ubuntu1
################################
NOOOO,nem kell
How to Install PHP 8.2 on Ubuntu 22.04
https://techvblogs.com/blog/install-php-8-2-ubuntu-22-04
################################
How to Install and Use Composer on Ubuntu 22.04 | Step-by-Step
https://www.cherryservers.com/blog/how-to-install-composer-ubuntu
#####################################
delete php from ubuntu:
sudo apt-get purge php.*
#####################################
How to Install PHP Composer in Linux [Ubuntu,Debian,CentOS]
Create USB device protected by password, but readable/writable on multiple OS?
VeraCrypt is a free open source disk encryption software for Windows, Mac OSX and Linux.
https://www.veracrypt.fr/en/Home.html
How to install Xubuntu 22.04 LTS
Lubuntu vs Xubuntu: Which is the better Ubuntu-based platform?
https://blog.sudobits.com/2023/05/15/lubuntu-vs-xubuntu-which-is-the-better-ubuntu-based-platform/
Xubuntu: https://hu.wikipedia.org/wiki/Xubuntu
10 Best Linux Distros for Old Laptops in 2024
https://linuxsimply.com/best-linux-distros-for-old-laptops/
Best Linux Distributions for an Old Laptop in 2023
https://linuxhint.com/best-old-laptop-linux-distributions/
###############################
ISO to USB
ISO to USB is a free and small software that can burn the ISO image file directly to the USB drives, these USB drives include USB flash drives, memory sticks and other USB storage devices, it also supports to create a bootable USB disk with Windows operating systems. Freeware.
ISO fájlból bootolható pendrájv, pár kattintással
https://hvg.hu/tudomany/ISO_fajlbol_bootolhato_pendrajv_par_kattintassal_3
Dell Inspiron Xubuntu install from USB pendrive (start , boot)
useful (selecting boot): How to Boot From a USB Drive on Dell laptop to install Windows
e-mail: techsupport@ecpay.com.tw
Dear Tech Support!
I am creating a demo php Laravel Shop with ECPay integration.
My Project were testing on local computer.
Everything was OK, but I couldn’t test futher because ECPay banned out.
I used this test ECPAYdata from here:
Test Information: https://developers.ecpay.com.tw/?p=16447
MerchantTradeNO !:
https://developers.ecpay.com.tw/?p=16460
answer:
This is because you have been using the same MerchantTradeNO. Every time, when creating a new order, please use a new MerchantTradeNO, not a repeated one.
###################################
The Complete TALL Stack Tutorial – FROM NOTHING TO PROD (Tailwind, Alpine, Laravel, Livewire & More)
PHP is the future
Laravel First Impressions From A JavaScript Dev
Is PHP the Secret King of Code?
Building a Desktop Application with NativePHP on Laravel
https://emincimen.medium.com/building-a-desktop-application-with-nativephp-on-laravel-36e5a33d8d02
NativePHP – Desktop Apps with Laravel
NativePHP: Building Desktop Applications With PHP
NativePHP: Build Desktop Applications with PHP
https://semaphoreci.com/blog/nativephp
###################################
NativePHP: How to Start?
https://medium.com/bunhere/native-php-how-to-start-911b27b40791