Copy settings from your cPanel to your Home developer server
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 ([url=http://www.howtoforge.com/perfect-server-centos-6.4-x86_64-apache2-dovecot-ispconfig-3]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!
-
Hello :) You can see a list of the Apache and PHP modules installed on your cPanel server with commands such as: 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.0 -
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. 0 -
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. 0
Please sign in to leave a comment.
Comments
3 comments