After building second PHP version primary script unknown

DionWales

Verified User
Joined
Mar 9, 2011
Messages
13
Hello,

Strange things are happening on one of our servers. We were currently running PHP 5.6 and decided a few days ago to install PHP 7.1 as second version.
After that the domainname.error.log lets see some messages for a few sites:

Code:
[Tue Sep 19 17:06:28.942405 2017] [proxy_fcgi:error] [pid 10510:tid 140468668942080] [client 94.x.x.x:25792] AH01071: Got error 'Primary script unknown\n'

I scrolled a few minutes on one of the sites showing this messages in the domainname.error.log file, but everything looks like working perfect. Clicked on more than 20 pages / products on that site. The site is running on PHP 5.6.

options.conf
Code:
#PHP Settings
php1_release=5.6
php1_mode=php-fpm
php2_release=7.1
php2_mode=php-fpm

/var/log/php-fpm56.log
Code:
[19-Sep-2017 16:04:02] NOTICE: using inherited socket fd=37, "/usr/local/php56/sockets/x.sock"
[19-Sep-2017 16:04:02] NOTICE: using inherited socket fd=38, "/usr/local/php56/sockets/xx.sock"
[19-Sep-2017 16:04:02] NOTICE: using inherited socket fd=38, "/usr/local/php56/sockets/xx.sock"
[19-Sep-2017 16:04:02] NOTICE: using inherited socket fd=39, "/usr/local/php56/sockets/xx.sock"
[19-Sep-2017 16:04:02] NOTICE: using inherited socket fd=39, "/usr/local/php56/sockets/x.sock"
[19-Sep-2017 16:04:02] NOTICE: fpm is running, pid 10507
[19-Sep-2017 16:04:02] NOTICE: ready to handle connections
[19-Sep-2017 16:19:04] NOTICE: Finishing ...
[19-Sep-2017 16:19:04] NOTICE: exiting, bye-bye!
[19-Sep-2017 16:19:05] NOTICE: fpm is running, pid 11952
[19-Sep-2017 16:19:05] NOTICE: ready to handle connections

/var/log/httpd/error_log
Code:
[Tue Sep 19 16:04:03.010151 2017] [ssl:warn] [pid 10475:tid 140469269374912] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 19 16:04:03.011031 2017] [ssl:warn] [pid 10475:tid 140469269374912] AH01909: shared.domain:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 19 16:04:03.011939 2017] [ssl:warn] [pid 10475:tid 140469269374912] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 19 16:04:03.012838 2017] [lbmethod_heartbeat:notice] [pid 10475:tid 140469269374912] AH02282: No slotmem from mod_heartmonitor
[Tue Sep 19 16:04:03.015436 2017] [mpm_event:notice] [pid 10475:tid 140469269374912] AH00489: Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Sep 19 16:04:03.016860 2017] [core:notice] [pid 10475:tid 140469269374912] AH00094: Command line: '/usr/sbin/httpd'


/var/log/directadmin/errortaskq.log shows nothing special (only BFD messages and some messages about long usernames which also doesn`t exist, so where that is comming from, no clue)

So, I don`t see any clue of where the "Primary script unknown" is comming from.

I hope someone on this forum is having a clue.
 
Hello,

Do you still see the error? Or it happened only at the moment when you ran custombuild script to compile PHP?

Isn't the error "Primary script unknown" logged when a PHP script is requested which does not exit in a document root?
 
Back
Top