Can i change php verison without re install xampp?

|
Manalalsubaei 2022-03-03 00:25:58
laravel_discuss-110134.jpg
Hi every one.
What’s the matter?
devpsoft 2022-03-03 00:35:47
Manalalsubaei 2022-03-03 00:25:58
Hi every one.
What’s the matter?

parameters in this route

devpsoft 2022-03-03 00:37:37
Manalalsubaei 2022-03-03 00:25:58
Hi every one.
What’s the matter?

like route(‘roles.update’,[‘role’=>$role->id])

Manalalsubaei 2022-03-03 00:41:35
devpsoft 2022-03-03 00:37:37
like route(‘roles.update’,[‘role’=>$role->id])

web.php
___________
Route::put(‘/{role}’, ‘RoleController@update’)->name(‘roles.update’);

edit.blade.php
_______________
<form action=”{{ route(‘roles.update’, $role->id) }}” method=”post”>

devpsoft 2022-03-03 00:41:58
Manalalsubaei 2022-03-03 00:41:35
web.php
___________
Route::put(‘/{role}’, ‘RoleController@update’)->name(‘roles.update’);

edit.blade.php
_______________
<form action=”{{ route(‘roles.update’, $role->id) }}” method=”post”>

route(‘roles.update’,[‘role’=>$role->id])

Manalalsubaei 2022-03-03 00:43:21
devpsoft 2022-03-03 00:41:58
route(‘roles.update’,[‘role’=>$role->id])

<form action=”{{ route(‘roles.update’, [‘role’ => $role->id]) }}” method=”post”>

devpsoft 2022-03-03 00:43:33
Manalalsubaei 2022-03-03 00:43:21
<form action=”{{ route(‘roles.update’, [‘role’ => $role->id]) }}” method=”post”>

yes

Manalalsubaei 2022-03-03 00:43:47
The problem doesn’t solved.
Noor1_alhuda 2022-03-03 00:44:00
When i try to install composer it give this
the composer installer script was not successful exit code 1
Any solution ?
devpsoft 2022-03-03 00:44:06
Manalalsubaei 2022-03-03 00:43:47
The problem doesn’t solved.

take screenshot on web.php

devpsoft 2022-03-03 00:44:56
Noor1_alhuda 2022-03-03 00:44:00
When i try to install composer it give this
the composer installer script was not successful exit code 1
Any solution ?

did you install php?

Noor1_alhuda 2022-03-03 00:45:18
devpsoft 2022-03-03 00:44:56
did you install php?

I install xampp

Manalalsubaei 2022-03-03 00:46:08
devpsoft 2022-03-03 00:44:06
take screenshot on web.php

laravel_discuss-110148.jpg

devpsoft 2022-03-03 00:46:10
i meant when you write this command php -v work
devpsoft 2022-03-03 00:46:55
Manalalsubaei 2022-03-03 00:46:08

web.php not blade to see how did u write route

devpsoft 2022-03-03 00:51:04
Manalalsubaei 2022-03-03 00:46:08

try to run this command php artisan config:clear

Manalalsubaei 2022-03-03 00:51:40
devpsoft 2022-03-03 00:51:04
try to run this command php artisan config:clear

ok.

devpsoft 2022-03-03 00:52:06
Manalalsubaei 2022-03-03 00:46:08

and php artisan route:clear then php artisan view:clear

Noor1_alhuda 2022-03-03 00:52:14
devpsoft 2022-03-03 00:46:10
i meant when you write this command php -v work

It gives Php is not reconized as an internal or external command

devpsoft 2022-03-03 00:52:53
Noor1_alhuda 2022-03-03 00:52:14
It gives Php is not reconized as an internal or external command

so you should add it in path to command know it

Manalalsubaei 2022-03-03 00:55:45
php artisan config:clear
php artisan route:clear
php artisan view:clear
php artisan config:clear
doesn’t work
devpsoft 2022-03-03 00:56:23
Manalalsubaei 2022-03-03 00:55:45
php artisan config:clear
php artisan route:clear
php artisan view:clear
php artisan config:clear
doesn’t work

on root of project

Manalalsubaei 2022-03-03 00:57:22
devpsoft 2022-03-03 00:56:23
on root of project

yes, doesn’t work.

devpsoft 2022-03-03 00:57:50
Manalalsubaei 2022-03-03 00:57:22
yes, doesn’t work.

try php -v , maybe php is not in path

Manalalsubaei 2022-03-03 00:58:35
devpsoft 2022-03-03 00:57:50
try php -v , maybe php is not in path

PHP 7.4.2

devpsoft 2022-03-03 00:59:16
open command on root of project where exits folder app in the same path
Noor1_alhuda 2022-03-03 01:03:03
devpsoft 2022-03-03 00:52:53
so you should add it in path to command know it

i add it successfuly but composer doesnt work even after add it

devpsoft 2022-03-03 01:03:35
Noor1_alhuda 2022-03-03 01:03:03
i add it successfuly but composer doesnt work even after add it

try to reinstall it

Noor1_alhuda 2022-03-03 01:05:12
devpsoft 2022-03-03 01:03:35
try to reinstall it

There is no ini.php in php folder may this cause the proplem ??and php verison is 8.3

cletuskingdom 2022-03-03 01:05:38
laravel_discuss-110168.jpg
Please has anyone used mongodb on laravel? i’m getting this error trying to migrate my db
devpsoft 2022-03-03 01:06:31
cletuskingdom 2022-03-03 01:05:38
Please has anyone used mongodb on laravel? i’m getting this error trying to migrate my db

it says bad auth : check password and user for database

devpsoft 2022-03-03 01:07:04
Noor1_alhuda 2022-03-03 01:05:12
There is no ini.php in php folder may this cause the proplem ??and php verison is 8.3

for v8 i don’t try it yet

Noor1_alhuda 2022-03-03 01:08:14
devpsoft 2022-03-03 01:07:04
for v8 i don’t try it yet

Can i change php verison without re install xampp?

cletuskingdom 2022-03-03 01:08:25
devpsoft 2022-03-03 01:06:31
it says bad auth : check password and user for database

laravel_discuss-110172.jpg
I double-checked it and found that I had entered it correctly.

devpsoft 2022-03-03 01:08:53
Noor1_alhuda 2022-03-03 01:08:14
Can i change php verison without re install xampp?

yes download php zip then unzip it , then add it in path

|