Category : centos

Local Environment: PHP: v8.0.2 Framework: Laravel v8.* mPDF Version: v8.0.10 Deploying With: Laravel Deployer / PHP deployer (deployer) Operating System and Version: macOs Cataline 10.15.5 & Laravel Valet Production Environment: PHP: v8.0.2 Framework: Laravel v8.* mPDF Version: v8.0.10 Product version: Plesk Obsidian 18.0.32. OS version: CentOS 7.9.2009 x86_64 Description It works very well in the ..

Read more

I’m having some problems with installing my app on vps server with ssh2_connection. I have created library to configure and automatically install laravel project on any vps (apache, mariadb, mysql, php, phpmyadmin..), but now I have one last problem, running php artisan like cd /var/www && php arisan key:generate, and every time it says like: ..

Read more

I am trying to dispatch a job by laravel queue:work using supervisor in the live server (CentOS 7). Supervisor is running but the job is not processing. I am getting following error: My worker file is : [program:queue-worker] process_name=%(program_name)s_%(process_num)02d command=php /home/maomin/public_html/bvend.xyz/artisan queue:work sqs –sleep=3 –tries=3 –max-time=3600 –daemon autostart=true autorestart=true stopasgroup=true killasgroup=true user=apache numprocs=8 redirect_stderr=true stdout_logfile=/home/maomin/public_html/bvend.xyz/w.log ..

Read more

On my staging server, centos-release-7-8.2003.0.el7.centos.x86_64 + PHP 7.4.11, I’m running php artisan queue:work –stop-when-empty –tries=3 every minute, but it leads quickly to thrashing and crash within 24 hours. I know there are better alternatives such as using supervisor etc, but my question is aimed at why it crashes, I was doing the same previously on ..

Read more

I’m using AWS Elastic Beanstalk to deploy my Laravel project and deployed the codes this early year. The weird thing is, when I check some of the files were automatically generated as a backup file using the codes from January 2020 even though we’ve updated the codes recently. Below is the picture of the files ..

Read more

I’m trying to configure the site to work with Nginx and Apache. When I try to reach the site, I get a 403 error. In the file /etc/httpd/conf/httpd.conf I set the default port 8089 (since 8080 is already busy): Listen 127.0.0.1:8089 Next, I create a config for Apache (/etc/httpd/conf.d/site.conf): <VirtualHost 127.0.0.1:8089> ServerName site.com ServerAlias www.site.com ..

Read more

I am getting below error and it stops the application. Manually needs to restart server. [error] FastCGI sent in stderr: "PHP message: PHP Fatal error: date_default_timezone_get(): Timezone database is corrupt – this should *never happen! in /path/vendor/nesbot/carbon/src/Carbon/Carbon.php on line 461 PHP message: PHP Fatal error: date_default_timezone_get(): Timezone database is corrupt – this should never happen! ..

Read more