WebDataIntel
New Pleskian
I currently have a site using PHP 5.4.16 running as an FPM application.
In my htaccess file, I have the following
<Files brushes>
SetHandler php-script
</Files>
On the root directory of the site, brushes is a php file. This allows me to have URLs like www.test.com/brushes/artist-and-forensic-brushes and www.test.com/brushes/artist-and-forensic-brushes/feather-duster-forensic-brush
The brushes script parses the URL and loads a unique page without me having to use mod_rewrite or have a bunch of sub-directories on the server.
I would like to upgrade this site to use PHP 7. However, I cannot replicate this behavior. (I have tried everything I can think of) I am willing to use either PHP 7.0 or 7.1 and run it as a CGI application, FastCGI application, or FPM application.
In my htaccess file, I have the following
<Files brushes>
SetHandler php-script
</Files>
On the root directory of the site, brushes is a php file. This allows me to have URLs like www.test.com/brushes/artist-and-forensic-brushes and www.test.com/brushes/artist-and-forensic-brushes/feather-duster-forensic-brush
The brushes script parses the URL and loads a unique page without me having to use mod_rewrite or have a bunch of sub-directories on the server.
I would like to upgrade this site to use PHP 7. However, I cannot replicate this behavior. (I have tried everything I can think of) I am willing to use either PHP 7.0 or 7.1 and run it as a CGI application, FastCGI application, or FPM application.