Re: issues upgradubg laravel/php apps.
bruce <[email protected]> Thu, 24 Apr 2025 17:15:00 -0400
| Newsgroups | gmane.comp.php.general |
|---|---|
| Message-ID | <CAP16ngoeZae1meHd8A+9LqhSjxkx6+dfRFtST1Z7dJ91-JbPcA@mail.gmail.com> |
Hmm..
I think what you're saying would be correct.
My steps..
Find test app -- githib
Cp/Download the app to the /var/www/html/foo dir
setup the foo.conf
setup the alias.conf
setup apache server
begin to mod/setup the github app
use the steps from the repos
-- which would start with whatever the ubuntu os 24.04 I think has
php 8,3
--also, the test is to have the app run as/from a subdir!!
so...
modify the .env
modify the public/.htaccess
try to setup the app
sudo -u www-data composer install
--gives errs...
haven't gotten past this
--and yerah, I would assume that if I can figure this out for this, as well
as the other apps. others would find it useful!!
thanks
-rest of steps
php artisan migrate --seed
php artisan key:generate
On Thu, Apr 24, 2025 at 5:02 PM Ashley Sheridan <[email protected]>
wrote:
> On 24/04/2025 21:48, bruce wrote:
>
> Hi Ashley!!
>
> An example app would be..
> https://github.com/Bottelet/DaybydayCRM
>
> I go through the steps, get to the composer install..
>
> and run into the errs!!
>
> So, I start at the top package, and find the package that uses php 8.3,
> update the composer.json, and repeat...
>
> sudo -u www-data composer update
>
> ---
> Updating dependencies
> Your requirements could not be resolved to an installable set of packages.
>
> Problem 1
> - Root composer.json requires spatie/laravel-html 3.11.1 ->
> satisfiable by spatie/laravel-html[3.11.1].
> - Conclusion: don't install laravel/framework v12.10.1 (conflict
> analysis result)
> - Conclusion: don't install laravel/framework v12.10.2 (conflict
> analysis result)
> - Conclusion: don't install laravel/framework v12.10.0 (conflict
> analysis result)
> - spatie/laravel-html 3.11.1 requires illuminate/support ^10.0|^11.0
> -> satisfiable by illuminate/support[v10.0.0, ..., 10.x-dev, v11.0.0, ...,
> 11.x-dev].
> - Only one of these can be installed: illuminate/support[v5.1.1, ...,
> 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ...,
> 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev, v11.0.0, ...,
> 11.x-dev, v12.0.0, ..., 12.x-dev], laravel/framework[v12.10.0, v12.10.1,
> v12.10.2, 12.x-dev]. laravel/framework replaces illuminate/support and thus
> cannot coexist with it.
> - Only one of these can be installed: illuminate/support[v11.0.0, ...,
> 11.x-dev, v12.0.0, ..., 12.x-dev], laravel/framework[v12.10.0, v12.10.1,
> v12.10.2, 12.x-dev]. They all replace spatie/once and thus cannot coexist.
> - Root composer.json requires laravel/framework ^12.10 -> satisfiable
> by laravel/framework[v12.10.0, v12.10.1, v12.10.2, 12.x-dev].
>
> --
>
> I've got a number of apps I'm trying to install/view/tes out,... learn from
>
> -bruce
>
> ps..
>
> i can easily provide access to the server
>
>
>
> On Thu, Apr 24, 2025 at 4:42 PM Ashley Sheridan <[email protected]>
> wrote:
>
>>
>> On 24/04/2025 21:34, bruce wrote:
>> > Hi,
>> >
>> > Looking to do a local install of different php/laravel apps, and find
>> > a number of the apps are old, and have issues with m teste server.
>> >
>> > Running ubuntu 22 with php 8.3.
>> >
>> > The issue seems to occur with incompatibilities beyeen the "old"
>> > packages in the app (composer.json) files.
>> >
>> > So, I'm looking to talk to anyone that might have insight ijnto steps
>> > to resolve this issue in the apps.
>> >
>> > I've left msgs to the issue forums, as well as emails to the authors
>> > were possible.
>> >
>> > the test server.. standard digital ocean, ubuntu, etc..
>> >
>> > thanks
>> >
>> It depends on what the packages are. If they're part of the base install
>> of the older version of Laravel, then you shouldn't have any problem
>> upgrading. I would advise upgrading one version number at a time, rather
>> than upgrade many versions at once.
>>
>> Are you following their own upgrade guide (specific to your version)?,
>> e.g.: https://laravel.com/docs/10.x/upgrade
>>
>> Ash
>>
>> Ashley Sheridan
>> Web developer and accessibility advocate
>> https://ashleysheridan.co.uk
>>
> Copying the list back in, as this should benefit everyone who is ever in a
> similar situation as you. Please reply back to the list to maintain the
> thread.
>
> You didn't say what steps you were going through, but I assume you were
> following the official Laravel guide?
>
> Looking at your project, it appears that you're currently on version 7,
> but from your error messages, it looks like you're jumping to version 12?
> Is that correct?
>
> Ashley Sheridan
> Web developer and accessibility advocatehttps://ashleysheridan.co.uk
>
>