To administer your WestHost account, please enter your
Domain Name or Server Manager Username.

WestHost: Professional Website Hosting Company








Results 1 to 3 of 3
  1. #1

    Default Question about my local php.ini and custom changes

    I know I have seen this answered somewhere but have not been able to find this again.

    According to phpinfo() my php.ini file that is used is located in /ftp/usr/lib/php.ini. Okay fine. So, I want to edit this file and make changes like turning on full messaging or something. This file is owned by root and I do not have permission to change it.

    Somewhere I read that I can create my own local copy and present (I think in my cgi-bin) it will be used instead of the global php.ini located in /ftp/usr/lib.

    Can anyone advise on this proceedure?
    Paul
    :?:

  2. #2

    Default

    Also, I did find this in PArt 6 of the WH manual. It states nothing about an alternate php.ini file only a warning about making changes to php.ini

    PHP

    PHP is a very popular web scripting language allowing you to make your site dynamic, use databases, etc. With your installation of PHP, you will have direct control of the php.ini file which sets various options for PHP. You can find the php.ini here:

    /ftp/usr/lib/php.ini
    Note: Modifying the php.ini is only recommended for advanced users as you can break your scripts if not done properly.

  3. #3
    Senior Member jalal's Avatar
    Join Date
    May 2003
    Location
    Germany
    Posts
    1,377

    Default

    In my site, php.ini is owned by root but is part of the vuser group, so you should be able to edit it.

    -rw-rw-r-- 1 root vuser 29366 Oct 3 04:27 php.ini

Similar Threads

  1. custom application installation
    By Alexandr Nosov in forum General Discussion
    Replies: 17
    Last Post: 06-06-2007, 06:43 PM
  2. When you have custom MX and Web Forms
    By WestHost - CRussell in forum Solutions
    Replies: 8
    Last Post: 03-08-2006, 04:22 AM
  3. procmailrc file question
    By tajuho01 in forum E-mail / FTP Management
    Replies: 6
    Last Post: 12-04-2005, 11:17 AM
  4. Question on reseller program
    By Adarkts in forum General Info
    Replies: 2
    Last Post: 03-26-2004, 05:49 PM
  5. Custom Name Servers
    By adpwl1 in forum Domain names & DNS
    Replies: 0
    Last Post: 12-07-2003, 12:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •