Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 16 of 16
  1. #16
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by cPanelDon View Post
    What method is being used to modify the EasyApache build profile?

    To help clarify, what is the precise indication that "everything" is being rewritten like the (default?) previous file?
    Please disregard my last reply as quoted above. When testing further I was able to reproduce the issue as described; to the best of my knowledge I believe this current behavior is intended by design.

    Quote Originally Posted by touma View Post
    Guys,

    I was trying to change on hand the line Cpanel::Easy::PHP5::SOAP: 0 to 1, but found on /scripts/makecpphp the system '/scripts/cpanel_easy_sanity_check', '--quiet'; command that overwrites the makecpphp.profile.yaml file on every run.

    It's safe to disable this line? If it is, a cpanel update won't bring back this line?

    Can i manually change the yaml file?

    Thanks!
    Quote Originally Posted by t00r View Post
    when i do /scripts/makecpphp the /scripts/cpanel_easy_sanity_check in makecpphp everything rewrite like was in previous file. please help me
    In regard to modifying the stock-default EasyApache3 (EA3) build profile for "makecpphp" we are considering and evaluating ways simplify the process; for reference, this feature enhancement is being tracked via the following internal case ID number: #30130

    In the meantime here are a set of steps as an alternative to the last revised set of commands.

    1.) Prepare and save the build profile using EasyApache, then copy the newly-saved build profile; in the following command replace "example.yaml" with the original file name of your custom build profile:
    Code:
    # cp -pv /var/cpanel/easy/apache/profile/custom/example.yaml /var/cpanel/easy/apache/profile/makecpphp_custom.profile.yaml
    2.) Save a fresh backup of the original script "makecpphp":
    Code:
    # cp -pv /scripts/makecpphp /scripts/makecpphp.backup
    3.) For reference purposes, check the existing build profile path before it's updated in the next step:
    Code:
    # grep "^my \$makecpphp_profile" /scripts/makecpphp
    4.) Update the variable defining the build profile path used by the script:
    Code:
    # perl -p -i -e 's/makecpphp\.profile\.yaml/makecpphp_custom\.profile\.yaml/g' /scripts/makecpphp
    5.) For confirmation, verify the build profile path was updated correctly:
    Code:
    # grep "^my \$makecpphp_profile" /scripts/makecpphp
    6.) If the path was updated successfully, proceed to run the script "makecpphp":
    Code:
    # /scripts/makecpphp

    The following command may be used if needing to restore the "makecphp" script from the backup that was saved earlier:
    Code:
    # cp -pv /scripts/makecpphp.backup /scripts/makecpphp
    Last edited by cPanelDon; 12-12-2009 at 02:41 AM. Reason: Clarification

Similar Threads & Tags
Similar threads

  1. bytesCode PHP Encoder next request for cPanel PHP extension build in
    By RodrigoGregorio in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 11-12-2010, 04:30 PM
  2. Installing SOAP on Cpanel php binary (not with easy apache)
    By touma in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-10-2009, 09:40 PM
  3. Replies: 0
    Last Post: 01-30-2006, 06:34 PM
  4. How do we enable SOAP extension in PHP?
    By gegervision in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-02-2005, 02:52 AM
  5. PHP 5 with SOAP (how to ./configure --enable-soap)
    By jfxberns in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-03-2004, 05:52 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube