Linked Questions

Popular Questions

PHP include no longer working with non standard file type

Asked by At

I'm setting up a new web server with CentOS 7.4. My old server uses CentOS 6. Several webpages use php include with arbitrary file extensions.

This still works:

include '../../includes/header.php';

This no longer works:

include 'nav.inc'; 

PHP version is -5.4.16-46.el7 There is nothing in the error_log.

Can someone help with what I need to configure in php.ini or the httpd.conf file?

Thanks

Related Questions