Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    4

    Default Modifying php and re-compiling

    I've done this on non-cPanel servers, modifying PHP and re-compiling.

    How do I do that on a cPanel server? Where do I find the php source on a cPanel server?

    Do I use shell commands or the admin web interface?
    === Al

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,114

    Default

    To modify the PHP settings you will have to login in WHM --> Easy Apache (Apache Update) from the Software Section.

    If you would like to modify the PHP configuration then you can configure it from the WHM --> PHP Configuration Editor from the Service Configuration Section.

  3. #3
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Lightbulb

    Quote Originally Posted by fxars View Post
    I've done this on non-cPanel servers, modifying PHP and re-compiling.

    How do I do that on a cPanel server? Where do I find the php source on a cPanel server?

    Do I use shell commands or the admin web interface?
    === Al
    Personally, I think manual compiling is far better if you have any experience in that as you say that you do

    However, Cpanel provides an interface to configure and setup both PHP and Apache called EasyApache and it is accessible on the web from the main WHM adminstrator panel or from the SSH shell.

    In WHM, it's pretty obvious and you can select it from the menu.

    In SSH, type /scripts/easyapache to get started.

    If you want to manual compile your PHP (as I prefer) ....
    Code:
    # cd /usr/local/src
    # wget http://us3.php.net/get/php-5.2.11.tar.bz2/from/this/mirror
    # tar jxvf ./php-5.2.11.tar.bz2
    # cd php-5.2.11
    # ./configure  !!! WHATEVER OPTIONS YOU WANT !!!
    # make
    # make check
    # make install

Similar Threads & Tags
Similar threads

  1. Compiling php
    By sumittyagi in forum New User Questions
    Replies: 3
    Last Post: 06-22-2009, 12:30 PM
  2. GD not compiling with php 4.x
    By manan in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-26-2008, 12:33 AM
  3. Compiling PHP
    By stormridermay in forum New User Questions
    Replies: 0
    Last Post: 07-11-2007, 07:54 AM
  4. php not compiling
    By tucman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-04-2007, 02:12 AM
  5. Replies: 24
    Last Post: 01-13-2005, 03:04 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube