Category : deployment

The title sums up my issue. I’m deploying to shared hosting by uploading my files (except mylaravelproject/public/ to the root directory, and the contents of mylaravelproject/public/ to public_html/. I’ve already tried the following: Configuring index.php to point to the correct folder in root Running composer install and npm install in the relevant directory php artisan ..

Read more

I created new subdomain on GoDaddy and compressed my project file as zip and uploaded to public_html/subdomain_name and I modified sub-domain document-root to /public_html/subdomain_name/public and when I am trying to reach ‘www.my-project.com/subdomain_name’ I just see this Sourc..

Read more

I have this error in gitlab CI console. SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (SQL: select * from information_schema.tables where table_schema = <mydatabase> and table_name = migrations and table_type = ‘BASE TABLE’) after searching, I have already tried ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘mypassword’; someone can help me ..

Read more

I was able to deploy my laravel 8 application as and addon domain on inmotion shared hosting based on the following article https://medium.com/backenders-club/how-to-host-a-laravel-project-on-a-shared-hosting-via-cpanel-d955d32c528e However, there are security issues with this as I can type mysite.com/.env and the file contents is listed in the browser showing the passwords. I’ve tried many options to place the public ..

Read more

I’m scheduling Laravel jobs through kernel.php. I use the following syntax: $schedule->job((new ExampleJob()->onQueue(‘explicitQueue’))->everyFifteenMinutes(); However, a few jobs get dispatched to the default queue instead of the queue that I pass explicitly. Wondering why there is this inconsistency. There is no other place in the code where I dispatch any jobs. Any help is appreciated! Source: ..

Read more