ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    PHP 7.2 FPM global config issue

    IT Discussion
    php php-fpm fpm
    1
    2
    525
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Emad RE
      Emad R
      last edited by Emad R

      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 RE 1 Reply Last reply Reply Quote 1
      • Emad RE
        Emad R @Emad R
        last edited by

        @emad-r

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

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post