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!

Attempt to invoke directory as script error

Discussion in 'General Discussion' started by Ali Saatsaz Yazdi, Apr 14, 2019.

  1. Ali Saatsaz Yazdi

    Ali Saatsaz Yazdi Registered

    Joined:
    Jan 22, 2019
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iran, Yazd
    cPanel Access Level:
    Root Administrator
    hi,
    I had change my primary domain in whm but it caused 500 internal server error.

    the cms of the site is wordpress and changing memory_limit in php.ini file, changing .htaccess file or rewriting the wp_admin & wp_includes didn't work for me. it supposed to be server misconfiguration.

    error log:
    [Sun Apr 14 15:47:46.433999 2019] [cgid:error] [pid 21914:tid 47678495684352] [client 104.222.32.90:11682] AH01265: attempt to invoke directory as script: /home/smartlearn/public_html/cgi-bin/

    how can I fix this error?
     
  2. RadWebHosting

    RadWebHosting Active Member

    Joined:
    May 6, 2016
    Messages:
    40
    Likes Received:
    7
    Trophy Points:
    8
    Location:
    Dallas, Texas
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Do you mean the server's hostname? This would be handled with your dns and web servers and should not bear any effect on a cPanel user account.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Ali Saatsaz Yazdi likes this.
  3. Ali Saatsaz Yazdi

    Ali Saatsaz Yazdi Registered

    Joined:
    Jan 22, 2019
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iran, Yazd
    cPanel Access Level:
    Root Administrator
    not the host name, I mean the main domain name.
    it was because of configuration of php version of host. changing php version from 7.0 to 7.2 solved the problem.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,809
    Likes Received:
    443
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Ali Saatsaz Yazdi likes this.
  5. Ali Saatsaz Yazdi

    Ali Saatsaz Yazdi Registered

    Joined:
    Jan 22, 2019
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iran, Yazd
    cPanel Access Level:
    Root Administrator
    YES.
     
    cPanelLauren likes this.
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    5,809
    Likes Received:
    443
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Glad to hear it! Thanks for letting us know.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Ali Saatsaz Yazdi likes this.
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