PHP 7.2 FPM global config issue



  • Hi,

    So previous php versions I was able to do this:

    nano /etc/httpd/conf.d/php.conf

    	<FilesMatch \.php$>
    	#    SetHandler application/x-httpd-php
    		SetHandler "proxy:fcgi://127.0.0.1:9000" 
    	</FilesMatch>
    

    Now the configs or 7.2 are different, looks more like this:

    # Cause the PHP interpreter to handle files with a .php extension.
    #
    AddHandler php7-script .php
    AddType text/html .php
    

    How do I go and set to use php-fpm globally in php7.2



  • @emad-r

    NVM the same thing still works, but cause the files changed I thought I need to put something else.


Log in to reply