• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue AH01071: Got error: 'Primary Script Unknown'

Oldiesmann

Basic Pleskian
Running into a weird issue with a test site of mine. I'm trying to upgrade the forum software, but when I try to run the upgrade script from my browser I just get a 404 error and the message "AH01071: Got error: 'Primary Script Unknown'" appears in the log.

I have tried two different PHP versions (7.2 and 7.3) and all three available PHP handlers (FPM/Apache, FPM/Nginx and FastCGI/Apache) to no avail. If I use FPM I just get a blank page saying "File not found.". If I choose the FastCGI option I get a standard Plesk 404 error page.

The file does indeed exist. Nothing has changed with the server configuration with the exception of me renewing the site's Let's Encrypt certificate earlier. Any idea what could cause this or how to fix it?

Note that other PHP scripts in the same directory work fine.
 
Back
Top