I'm trying to clone a production site to a local dev with MAMP Pro. At first it seemed successful but after I cleared the cache my site breaks and I get the following error after adding verbose error logging to settings.php:
The website encountered an unexpected error. Please try again later.
Hi. I am trying to set up Drupal for a development environment on my local machine. I have installed SQL, NGINX, PHP, etc, and have followed the NGINX recipe for Drupal. I have tried loading drupal under /var/www and /var/www/drupal, but when I browse to 127.0.0.1 or 127.0.0.1/drupal, All I get is 403 errors.
My hosting provider doesn't provide access the php command on the shell. PHP 7.3 is there for Apache, but not for me to run on the commandline.
All the guide refer to either Composer, which is not available and can't be installed, or the php commandline such as php core/scripts/drupal quick-start standard
Can I still install Drupal? or am I stuck? I've tried copying the files and running the interactive installer, but that just gets me code 500 errors.
I have made other sites Drupal 9 with .htaccess at the root of the files folder. And it works fine.
Yesterday, Installing a new site from my local server to production server, I'd all images of the new site not showing. I have changed as usual chown and chmod, and it didn't work. After hours I have delete the .htaccess file at the root of the files folder and it worked fine. But I not sure it's a good solution for security. Can somebody explain me why the same .htaccess file is no problem on other sites and on this one it prevents images from showing s..
I installed Dupal 9 on my own computer to develop my site. I must now migrate the site to the production server I can only access with FTP. I thus try to do it manually. I followed this procedure: