The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Copy settings from your cPanel to your Home developer server

Discussion in 'General Discussion' started by fcbinfo, Oct 7, 2013.

  1. fcbinfo

    fcbinfo Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    120
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I have a problem , which is not something directly related to the cPanel .

    I am a php developer, and often develop something that is working perfectly in my apache on windows with the same php version that is in my cPanel server, but sometimes this scripts not work on my cPanel server. I always leave the same extensions enabled , the same options of apache always try to use the same settings .

    A few days ago, I've been working on some modules for whmcs, and this working on my cPanel server, but didn't work on my home server. Here the problem starts, the module is working perfectly on my cPanel server but on my local server (Windows 7), I've tried to make it work with Wamp, Xampp, EasyPHP, have also manually installed apache php and this module does not work on my home server. The major problem of this, that appears no error message, just does not work. No errors on screen, no errors in the logs, there is no error message. But the module works perfectly on my server with cPanel installed.

    I've had these problems with several other things that was developing, so I thought I'd have a cPanel inside a virtual machine in my house. But pay for a cPanel license only for it, would be something expensive for me.

    So I came here to ask for help from someone who can help me set up a server with CentOS (or maybe another distro if you think it is better) that can do the most of all the options of cPanel.

    I've followed these instructions from this site (The Perfect Server - CentOS 6.4 x86_64 (Apache2, Dovecot, ISPConfig 3) | HowtoForge - Linux Howtos and Tutorials), which teaches us to set up a server with ISPConfig 3, but this does not appear to be or have all the options of cPanel.

    I'm not expert in Linux, and I believe that when we use the cPanel Easy Apache script, the server automatically mounts it perfect server of apache + php which can not make 100% the same without cPanel.

    Realized that cPanel offers licenses free for developers, however only for those who are developing plugins for cPanel, and this is not what I'm doing right now.

    Can anyone help me with something where I can do a server with copying all the options that cPanel use. If I can do this, no more problems with my scripts, because when I finish to develop something, I'll have sure that will works on my cPanel server and no problems due to different settings.

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,833
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can see a list of the Apache and PHP modules installed on your cPanel server with commands such as:
    Code:
    httpd -l
    php -m
    You can try ensuring that your standalone server uses the same modules that are configured on your cPanel server, and that the versions of Apache and PHP match what's used on your cPanel server.

    Thank you.
     
  3. fcbinfo

    fcbinfo Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    120
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    This will help.

    I'm thinking here. If I have 3 websites, that using 1 VPS for each.

    The only one person that do log in on whm or cpanel is me.

    Sometimes I do not log in on the control panel for more than 4 or 5 months. Can I have only 1 cPanel license for this 3 VPSs and change license IP when i need?

    If this is possible, I can use the license on my home develop server, and when I need to log in on the server, change de license IP to the server.

    Thank you Michael.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,833
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I don't believe that is permitted because a valid license is required for every cPanel installation. However, license questions should be directed to the cs@cpanel.net email address.

    Thank you.
     
Loading...

Share This Page