Help with Setting Sever Services PHP.ini

Discussion in 'Site & Server Administration' started by Marx, Oct 22, 2006.

  1. #1
    Hi

    Could anyone give me a hand creating a php.ini file I am gettin errors with my MSRS site as I beleive certain function are disabled by my host, I mailed them to ask if they can enable these and was told I need to create cutomer php.ini files to enable these, as they cannot be done server wide.

    The error I get are these:
    file_get_contents(): URL file-access is disabled in the server configuration in
    file_get_contents(http://www.myspace.com/12434): failed to open stream: no suitable wrapper could be found in

    In case you need to see them the url is here: http://www.qx7.org/layout-stealer/
    just type something in and generate

    Any help would be greatly appreciated,

    Thanks Marx
     
    Marx, Oct 22, 2006 IP
  2. eXe

    eXe Notable Member

    Messages:
    4,643
    Likes Received:
    248
    Best Answers:
    0
    Trophy Points:
    285
    #2
    The server's php.ini file will not be accessible via ftp/your hosting account. And the php.ini file doesn't need to be created, it automatically exists when you initially install php.

    The default location of the php.ini file in most *nix/apache environments is

    /usr/local/php4/lib/php.ini

    and in windows:

    C:\Windows\php.ini
     
    eXe, Oct 22, 2006 IP