vincent15000 wrote a reply+100 XP
1h ago
Oh sorry yes sure, I understood a git server locally.
vincent15000 liked a comment+100 XP
1h ago
@vincent15000 Every developer has repositories on their local computer. That .git directory in your project is a Git repository.
GitHub, GitLab, etc. are hosting platforms.
vincent15000 liked a comment+100 XP
1h ago
That has no sense to have a repository locally on the same computer because if you have a problem with your computer, you loose all your work.
vincent15000 liked a comment+100 XP
8h ago
Great, finally, you start asking questions instead of dishing out solutions.
/var/run/php/php-fpm.sockdoes not disappear in the past after reboots.. in fact, it doesn't have much to do with PHP, it is from Debian/Ubuntu'supdate-alternatives... did you know that?- Yes, php8.4-fpm is installed and
/var/run/php/php8.4-fpm.sockexists - They are all installed from Ondrej's PPA
- Command that installs PHP is
## PHP development
apt -y install \
php8.4-xdebug
## PHP common
apt -y install \
php8.4-fpm \
php8.4-common \
php8.4-cli \
php8.4-apcu \
php8.4-bcmath \
php8.4-bz2 \
php8.4-cli \
php8.4-common \
php8.4-curl \
php8.4-gd \
php8.4-gmp \
php8.4-imap \
php8.4-intl \
php8.4-mailparse \
php8.4-mbstring \
php8.4-mcrypt \
php8.4-memcached \
php8.4-mysql \
php8.4-opcache \
php8.4-redis \
php8.4-readline \
php8.4-smbclient \
php8.4-soap \
php8.4-sqlite3 \
php8.4-xml \
php8.4-zip \
php8.4
vincent15000 liked a comment+100 XP
8h ago
Do tell, what is it that I clearly don't know?
That php-fpm.sock disappearing means this is an issue related to php-fpm. That should be everything you need to start diagnosing what's wrong if you're familiar with Linux.
Answer these questions to start: do you have php8.4-fpm installed, or have you tried installing it?
So why did it disappear when my script has not changed a bit, why was it previously there
I'm not psychic; I don't know what your script does. What commands does it run? Does it use apt? Are you installing PHP from Ondrej's PPA or Ubuntu archives?
A date on its own is means nothing. Don't get fixated on it and find out what's actually wrong.
vincent15000 liked a comment+100 XP
8h ago
I'm explaining what you need since you clearly don't know it.
Do tell, what is it that I clearly don't know?
The only useful pieces of information you've given so far are: /var/run/php-fpm.sock no longer exists and your app doesn't work because of that.
So why did it disappear when my script has not changed a bit, why was it previously there.. as far as I can recall, there has never been a php-fpm.service, it was always php8.x-fpm.service
I also given a date that this problem started, after 17th Apr 2026, but you don't consider it to be useful.
vincent15000 liked a comment+100 XP
8h ago
You keep telling me how things should be, sure, but I already know that
There's no need to get snappy. I'm explaining what you need since you clearly don't know it.
I'm telling you how things are right now, so the big question is have you actually tried to install Nginx vs Apache on 22.04 after my OP?
I've installed both countless times on Ubuntu and other distros. But this has nothing to do with the installation of either. It has to do with php-fpm, or how it's used.
Here's what you need to do:
- If php-fpm (or php8.4-fpm) isn't installed, you need to install it.
- If it is installed, you need to start it.
- If the service is running but the socket file is in another location, e.g. /var/run/php/php8.4-fpm.sock, you need to fix the path in your Nginx config.
The only useful pieces of information you've given so far are:
- /var/run/php-fpm.sock no longer exists and your app doesn't work because of that.
- There's no php-fpm service.
I can't tell you exactly what is wrong just based on that.
vincent15000 liked a comment+100 XP
8h ago
Have you tried php8.4-fpm to match your php version?
If that service does not exist, you need to install it.
vincent15000 liked a comment+100 XP
8h ago
You keep telling me how things should be, sure, but I already know that
I'm telling you how things are right now, so the big question is have you actually tried to install Nginx vs Apache on 22.04 after my OP?
vincent15000 liked a comment+100 XP
8h ago
If you had this file before the reboot:
/var/run/php-fpm.sock
Then you definitely had php-fpm running earlier.
You need php-fpm to run a Laravel app – or any PHP app for that matter – through Nginx. There are alternatives, but php-fpm is by far the most popular choice.
As I mentioned, the service may have a different name, such as php8.4-fpm. You can look for it:
systemctl list-unit-files | grep php
If you updated PHP and accidentally uninstalled php-fpm, you need to reinstall it.
vincent15000 liked a comment+100 XP
8h ago
There is no such service as php-fpm, this problem started after 17th Apr 2026... probably in May 2026.
vincent15000 liked a comment+100 XP
8h ago
- I'm on ubuntu 22.04
- On A, I have scripted my server installation to install PHP (8.4.21), MySQL and Apache
- On B, I have scripted my server installation to install PHP (8.4.21), MySQL and Nginx
- For B, when re-running the script on a fresh machine recently,
/var/run/php-fpm.sockis now missing and causing the Laravel site not to load in the browser - The script of A remains problem free
- Has anyone faced the same issue and found a solution? I suspect it is in Nginx
vincent15000 liked a comment+100 XP
8h ago
Start the php-fpm service:
sudo systemctl start php-fpm
Then enable it so it starts automatically on boot:
sudo systemctl enable php-fpm
This is assuming the service is named php-fpm in your system, which it probably is if the socket file was named php-fpm.sock before you rebooted. Often the service is versioned instead, e.g. php8.4-fpm.
vincent15000 liked a comment+100 XP
1d ago
Will there be multi pick and multi drop?
vincent15000 wrote a reply+100 XP
1d ago
You can also install a fresh Laravel application without any starterkit and install VueJS separately, with ou without InertiaJS.
How long does it take ? About 30 minutes.
Sure with the starterkit you have the authentication implemented, so you need 1 hour more to add Fortify and create the different views.
vincent15000 liked a comment+100 XP
1d ago
I think OP wanted a starter kit for Laravel 12, but I don't know if you can do that with the Laravel installer. So adding Breeze separately could be a workaround.
vincent15000 wrote a reply+100 XP
2d ago
For Laravel 12, why installing Breeze instead of Fortify ?
And why not Laravel 13 ? As already mentioned, and also mentioned in all security articles, you should always use the latest version of your technologies.
vincent15000 liked a comment+100 XP
2d ago
Fwiw, if you install version 12 with composer, you can then install Breeze which, if you chose the correct option, will install vue, inertia and ziggy. Just follow the instructions in the earlier docs (maybe back to v.11).
If you just want to avoid the latest starter kit, I have one without the new starter kit features (shadcn and wayfinder). It uses fortify, laravel 13, inertia and vue with ziggy and daisyui instead of wayfinder and shadcn. But that won't help if you need Laravel 12.
For Laravel 12, try installing Breeze.
vincent15000 liked a comment+100 XP
2d ago
Thats one of optimistic person haha
vincent15000 wrote a reply+100 XP
2d ago
That has no sense to have a repository locally on the same computer because if you have a problem with your computer, you loose all your work.
vincent15000 liked a comment+100 XP
2d ago
...unless a repository is placed on the same computer locally :)
vincent15000 wrote a reply+100 XP
3d ago
You don't have any repository to put you code on ? Gitlab ? Github ?
In each project, no matter if it's a personal project, a project for a client or when I'm training, I always version my code and put it on a repository.
If I have any problem with my computer, all my code is on the repository.
vincent15000 liked a comment+100 XP
3d ago
Thanks! I should have made that clearer in my post, I wasn't looking to skip the work. My MacBook suffered an unexpected hardware failure and I lost everything, so I'm just trying to pick up where I left off. If the repository isn't publicly available, no worries, I'll figure something out!
vincent15000 wrote a reply+100 XP
3d ago
All Laravel versions are compatible with Ziggy.
The installation of Ziggy is simply not so detailed and is sometimes difficult to install and integrate into your application.
vincent15000 liked a comment+100 XP
3d ago
@martinbean Ok I tried to follow some info based on 12 to do something , I think it was ziggyvue only to find out that in 13, the installation instructions were not the same as some files changed . I get it , new versions of laravel are more secure etc but then it's frustrating trying to fish out what you need to change each time to make it work from one version to another , OK if I was in 8, but 12 to 13 ?
vincent15000 wrote a reply+100 XP
5d ago
I'm not using Laravel Herd.
I will try to uninstall and reinstall the installer tomorrow.
vincent15000 liked a comment+100 XP
5d ago
@vincent15000 if you are using Laravel Herd, then you need to update the Laravel installer from the PHP settings
vincent15000 liked a comment+100 XP
5d ago
Installer does some additional tuning for new app, such as disabling Pail on Windows installation. Since it's recommended and documented way to install Laravel it should work.
vincent15000 liked a comment+100 XP
5d ago
Why use the laravel/installer?
I just use composer:
composer create-project laravel/laravel ProjectName.
vincent15000 liked a comment+100 XP
5d ago
Did you try to uninstall / install laravel installer instead of updating?
vincent15000 liked a comment+100 XP
5d ago
If it offers an update but doesn't work then there has to be an issue with the updater code.
That's my guess. Are there any issues on this already on Github?
Edit:
Found this: https://github.com/laravel/installer/issues/510
vincent15000 wrote a reply+100 XP
6d ago
vincent15000 liked a comment+100 XP
6d ago
Is this in a docker container?
vincent15000 liked a comment+100 XP
1w ago
To implement audio and video group calls in a Laravel application, you can leverage third-party APIs that specialize in real-time communication (RTC). MirrorFly is a popular communication API provider that offers features like audio/video calls, chat, and group calls. It’s a great choice if you want to integrate real-time communication features into your Laravel application without writing a lot of custom code.
vincent15000 wrote a reply+100 XP
1w ago
I don't need that you copy / paste an AI response, I already asked some AIs for this problem ;).
vincent15000 liked a comment+100 XP
1w ago
This usually happens because the globally installed Laravel installer version is outdated.
You can upgrade it with:
composer global update laravel/installer
Or reinstall it completely:
composer global remove laravel/installer composer global require laravel/installer
After updating, verify the version:
laravel --version
Also make sure your Composer global bin directory is added to your system PATH.
For newer Laravel versions, you can alternatively create projects directly using Composer:
composer create-project laravel/laravel example-app
That method always pulls the latest Laravel release and avoids installer version mismatch issues.
vincent15000 liked a comment+100 XP
1w ago
Is this your old account by any chance: @june23
vincent15000 liked a comment+100 XP
1w ago
So if I decide to follow the aws well-architected best practices and I can use the EC2 server that the aws well-architected step told me to setup then I will be able to deploy my Laravel/Nextjs to the EC2 server through SSH or through Github Actions?
vincent15000 liked a comment+100 XP
1w ago
The aws well-architected framework is just things you do and check concerning your app. Sort of a check list. But yes you can use AWS to deploy to (host) the app.
vincent15000 liked a comment+100 XP
1w ago
Yeah I know that. But I was wondering if I wanted to deploy on AWS. Could I use the aws well-architected framework to deploy a web application using Laravel?
vincent15000 liked a comment+100 XP
1w ago
Follow what @tray2 mentioned and follow laravel conventions. Namely MVC.
cloud architecture and virtual infrastructure
Companies like throwing fancy names on things like "cloud".
It boils down to:
You have code on a server that runs. Cloud is a fancy name for a server.
vincent15000 liked a comment+100 XP
1w ago
And if I use this also correct? -> https://aws.amazon.com/architecture/well-architected/ This will be the cloud architecture and virtual infrastructure?
vincent15000 liked a comment+100 XP
1w ago
@gpapamichelakis Why? You should always be using the most recent version of software.
vincent15000 liked a comment+100 XP
1w ago
Yes, you can develop a blog with laravel, you can basically create any kind of web application with it.
Start here https://laracasts.com/series/laravel-from-scratch-2026
vincent15000 wrote a reply+100 XP
1w ago
And here is what I get when I upgrade manually the Laravel installer.
vincent@columbo:~/Documents/PRO/DEV$ composer global update laravel/installer
Changed current directory to /home/vincent/.config/composer
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package composer-unused/composer-unused-plugin is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
32 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found.
I specify that I have upgrade composer to the last version.
vincent15000 started a new conversation+100 XP
1w ago
Hello,
When I create a new Laravel application, I have this invite.
WARN A new version of the Laravel installer is available. You have version 5.25.3 installed, the latest version is 5.28.1.
┌ Would you like to update now? ───────────────────────────────┐
│ ● Yes / ○ No │
I choose Yes, but I get the same invite continuously.
So the upgrade is never done.
Why ?
Thanks for your help.
V
vincent15000 wrote a reply+100 XP
1w ago
I don't know if this repository is free access, but you should simply follow the series from the beginning and write the code.
vincent15000 liked a comment+100 XP
1w ago
I was working through Laravel From Scratch 2026 when my MacBook unexpectedly stopped working and I lost all my progress. I know I should have been committing regularly, lesson learned, but I didn't expect a 2025 MacBook Pro to just die out of nowhere.
Does anyone know where I can find the source code for the projects covered in the course? I've checked existing forum posts and comments but haven't been able to track it down.
Thanks in advance!
vincent15000 liked a comment+100 XP
1w ago
Solution:
The source code for the "Laravel From Scratch" series is typically provided by Laracasts on their official GitHub repository. For the most recent versions, including the 2026 edition (or whichever is the latest, e.g., 2021/2023), you can find the code here:
https://github.com/laracasts/laravel-from-scratch
If the 2026 branch or tag is not available yet, you can use the master branch or check the branches/tags list for the closest year-version. The repository often contains example code for each lesson as separate branches or folders.
How to use:
- Visit the GitHub link above.
- Click on the "Code" button to clone or download the repository.
- Check the "branches" or "tags" dropdown to find versions matching the course lesson or year you are following.
If you can't find the 2026 code specifically, it's possible it has not been pushed yet, or the course uses the most recent available code. You can also ask in the Laracasts forum or in the comments under the course for any updated links.
Quick command to clone:
git clone https://github.com/laracasts/laravel-from-scratch.git
Let me know if you need help running the code or finding a specific lesson!
vincent15000 liked a comment+100 XP
1w ago
This repository doesn't exist Lary