All Questions
Tagged with production-environment php
108
questions
1
vote
1
answer
222
views
How solve "Illuminate\Console\Command" not found?
I have a web application in a production environment. The path to the command is correctly set on the server, but it still throws error "Illuminate\Console\Command" not found. Solutions ...
0
votes
1
answer
143
views
Laravel Cannot Find Images Stored in Storage Folder
I am currently trying to upload some images and have them displayed with Laravel. All images the that are stored in the public/images work fine. The image cannot be found, however on the linux server ...
0
votes
0
answers
94
views
laravel application not sending emails when in production
hi guys i'm having some trouble with my production application:: in a few words what it should do is sending an email using SendinBlue API everithing is fine when in local but the application begins ...
0
votes
1
answer
153
views
How to disable CakePHP4 DebugKit creating the huge tmp/debug_kit.sqlite file
I've developed an app with CakePHP 4.4.11. In production environment, I set debug to false in app_local.php.
'debug' => filter_var(env('DEBUG', false), FILTER_VALIDATE_BOOLEAN),
The app is ...
0
votes
0
answers
55
views
change the route from post to get if insert an image or use some text-align and
If I put an align-text or upload an image in the text editor, I simply get the error 405 Method Not Allowed, even though the route is post, the local project, everything is working, but already on the ...
0
votes
0
answers
65
views
Although my site enable me to click on the link in local environment, don't in production
situation
using
PHP 8
Laravel 9
Now I have just deployed in production environment. When I come my URL which is already simbolick, toppage(welcome.blade.php) appeared. I am putting link to contact....
0
votes
1
answer
1k
views
Unable to establish database connection on production for my Laravel project
I have deployed my Laravel project on production but it seems that I am unable to establish a connection with the database I created in CPanel. I need this in order to execute some migrations and make ...
1
vote
1
answer
203
views
Getting new files on public and storage folders on production
I have deployed a Laravel application with Nginx on Ubuntu (on Digital Ocean).
After the deployment to the server, for some unknown reasons, I noticed that some unknown files are generated under ...
-1
votes
2
answers
561
views
File image can't display in production server laravel
I have a form that contains an image upload
On my local, I can upload and photo files can be displayed
On my production server, I can upload, but photo file can`t be displayed (Page Not Found)
I have ...
0
votes
1
answer
181
views
Managing Two Different environments Laravel
Hello there i have two different environments one is production and one is dev and i am using laravel and git as version control the main issue between them is path of files so for example
at my dev ...
0
votes
0
answers
33
views
How to have different .htaccess for different domains/request urls?
I work as a web developer, creating custom websites for customers. My .htaccess files are generally very simple. I generally only do 2 things:
Create a custom ErrorDocument for 404 errors
Redirect ...
0
votes
1
answer
196
views
Is there a way to Log my errors on a LIVE hosting/production server?
I built a Web App using PHP and Laravel. I've tested the app relentlessly for a long time now and everything works great on my local computer. In my .env file, AppDebug is set to true and in the ...
0
votes
1
answer
2k
views
Laravel (ver 6) php artisan route:list return "Target class does not exist" error with production environment (worked fine in local environment)
I'm using laravel 6 for BE and vuejs for FE. Wtih my local environment ( built on xampp server ), everything was fine. But, when I deployed the app to the server(Lamp server with ubuntu 18.04), I got ...
0
votes
1
answer
187
views
Is there any additional requirements to proceed php mailer
I installed phpmailer in Ubuntu 18.04 like this
composer require phpmailer/phpmailer
added these functions like this to contactForm.php
<?php
// required headers
header("Access-Control-Allow-...
0
votes
1
answer
210
views
Database doesn't connected on production environment
Setup on production server digitalocean's Ubuntu 18.04
production build - dist
php fpm php7.2 , mysql-server 5.7 , nginx , root@prod
very first I installed mysql-server on Ubuntu droplet according ...