Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to make the php support the mod_rewrite?

Discussion in 'General Discussion' started by eyanchao, Jun 27, 2018.

  1. eyanchao

    eyanchao Member

    Joined:
    Apr 22, 2018
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    China
    cPanel Access Level:
    Root Administrator
    Hi, how to make the php support the mode_rewrite? i can't find mod_rewrite on the phpinfo.php to test.

    How to do this?
     

    Attached Files:

  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,517
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. eyanchao

    eyanchao Member

    Joined:
    Apr 22, 2018
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    China
    cPanel Access Level:
    Root Administrator
    I had checked the apache configration as the module "mod_rewrite'', it has, but i can't find the mod_rewrite on the phpinfo.php.
     

    Attached Files:

  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,195
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @eyanchao,

    Mod_Rewrite is an Apache module. The PHPINFO file is showing you PHP configuration values, not your Apache modules.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice