@saeedsikandar try
php artisan route:clear
php artisan config:clear
Routing is not working in my project except '/' I change all permission to 777 and fix all htaccess file fix public/index.php file but nothing changes
@saeedsikandar try
php artisan route:clear
php artisan config:clear
ok lemme check
Artisan is not working it gives an error
php artisan route:clear X-Powered-By: PHP/4.4.9 Content-type: text/html
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /homepages/4/d855067338/htdocs/clickandbuilds/AkhuwatDonate/artisan on line 4what is that problem I check my php version from server a/c to server PHP version is 7,4 but here it's showing 4.4.9 is there prob is with my server ?
@saeedsikandar which server are u using and you are on which environment?
using Ionos and it's linux apache server
@saeedsikandar if its a new server try reinstalling it follow the below steps
``
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.4 php7.4-cli php7.4-common php7.4-fpm
sudo apt-get install -y php7.4-mysql php7.4-dom php7.4-simplexml php7.4-ssh2 php7.4-xml php7.4-xmlreader php7.4-curl php7.4-exif php7.4-ftp php7.4-gd php7.4-iconv php7.4-imagick php7.4-json php7.4-mbstring php7.4-posix php7.4-sockets php7.4-tokenizer
sudo apt-get install -y php7.4-mysqli php7.4-pdo php7.4-sqlite3 php7.4-ctype php7.4-fileinfo php7.4-zip php7.4-exif
sudo nano /etc/php/7.4/fpm/php.ini
Find: cgi.fix_pathinfo => Remove semi-colon and set 0
cgi.fix_pathinfo=0
``
@saeedsikandar if you check the php version from terminal is it showing php 7.4 if yes try to restart your server
Ok let me check all of these commands I should run on SSH Shell and one more thing how to do I restart shared server via SSH is there any command ?
Please or to participate in this conversation.