Skip to main content

php.ini configuration

Comments

4 comments

  • Mahesh
    I have file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 error. How to fixed this error . And how to enable xml php.
    0
  • Mahesh
    How to enable xml ....
    0
  • flashweb
    file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 how to enable this...

    Edit your php.ini file (/usr/local/lib/php.ini) change value of
    allow_url_fopen = On
    For xml, you need to run easyapache through WHM as root.
    0
  • cPanelMichael
    Hello :) You can change the value for "allow_url_fopen" in /usr/local/lib/php.ini and restart Apache to enact the changes. You can verify that XML is already loaded as a PHP module with a command such as:
    php -m|grep xml
    Thank you.
    0

Please sign in to leave a comment.