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?

  2. #2


    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 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:

    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


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

Posting Permissions

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