Today my client was facing problem to setup a remote mysql connection. He wanted to connect a database which belongs to another server and domain. Its fairly simple. But most of the tasks remains on the remote server.
Archive for Posts Tagged cPanel:
Permission denied: .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Do you get the following error message when you try to visit a site/your site?
Forbidden
You don’t have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
cPanel Bug
I am a regular user of WHM & cPanel. Recently I found a bug in cPanel Release Build 20683 which is now running in three of our servers.
You login to WHM. Then Click List Accounts. Your hosted domains will be listed. You should noticed that there is an quick password and email changer from some recent builds. To change password and/or contact address of any domain, there is + following by the domain name. Now you click on the + icon for a domain. You will see the password of that domain is shown in the contact address box.
cPanel Email Management
Ahh! Thanks Allmighty. At last I have finished the 1st version of cPanel Email Management Script. From three days I am working on it. Though today, I mistakenly deleted two core files
. So I had to start over.
Using this scripts anyone can give free email service to his visitors. Users can auto signup and manage their accounts. Admin also have some controls. The features are:
- Users can registers themselves without intervention of site Admin
- Admin can specify the quota for accounts
- It can check whether the email address is already taken or not
WHM Book
Managing a remote web server is never an easy game. I know many people who are not familiar with non-windows operating systems hence don’t wanna buy dedicated server as it takes much time to learn and managing server is bogey job for many. But now I believe the book titled “Web Host Manager” by Aric Pedersen should be the greatest gift of 2007 (as I reviewed it this year).
Class :: cPanel Subdomain V2
Class :: cPanel Subdomain V2
This is the 2nd edition of my previous Class cPanel Subdomains Creator. Using this script you can create cPanel subdomain & FTP account for this subdomain without logging into cPanel. Let your user create their own subdomains and FTP accounts for that subdomain. Users will get access only to newly created subdomain not to the root directory. So your contents will be secure.
To use this script you must have access to cPanel.
Open exaple.php file and change the red marked values as your environment.
Class :: cPanel Email Accounts Creator
Create e-mail addresses for cPanel accounts
This is a simple class that can be used create e-mail addresses for domains hosted using a cPanel account.
It extends a script originally made available in the zubrag.com Web site.
The class accesses a cPanel Web server and sends a command to create an e-mail account with a given address, password and quota.
The class retrieves and process the cPanel server response to determine whether the account creation was successful or it could not be created when the account already exists.










