Category : ubuntu-server

Hi i am trying to access a file on a server via link eg (https://domain.name/storage/images/Image_logo.png) but i get the laravel 404 error screen. I can access the file on my local machine via (127.0.0.1:8000/storage/images/Image_logo.png). Things i did Make sure i have the files on the server on the same laravel directory as the one on ..

Read more

I have php 8.0.3 running on my server. I’ve installed curl with the following command: $ sudo apt-get install php-curl Now I can see curl.so in my extensions directory. In the php.ini I uncommented the line: ";extension=curl" removing the semicolon. After I restart the apache server I still get this error in the error.log file: ..

Read more

I’m setting up a nginx webserver but whenever it selects a php file it downloads it instead of executing it. nginx.conf server { listen [::]:443 ssl ipv6only=on; # managed by Certbot listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/noahsnoeks.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/noahsnoeks.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by ..

Read more

I setup local server OS : Ubuntu Server 20, Apache If i send post request with custom header like (X-access-token) received error "has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: It does not have HTTP ok status." I added following code in php file header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Methods: POST"); ..

Read more