Questions tagged [cpanel-xmlapi]

A PHP Class for Interacting with cPanel's XML-API. This is the cPanel XMLAPI Client Class.

This is the cPanel XMLAPI Client Class. This class allows for easy interaction with cPanel's XML-API allow functions within the XML-API to be called by calling funcions within this class.

38 questions
0
votes
1 answer

How to give phpmyadmin access through the webmail in cpanel?

I added the user from user management but I don't know what to do further how to check? I am expecting to user don't access public html folder.
0
votes
1 answer

SQLSTATE[42000] [1044] Access denied for user 'bmsswsxf_shahed'@'localhost' to database

Hello i am facing Illuminate\Database\QueryException SQLSTATE[42000] [1044] Access denied for user 'bmsswsxf_shahed'@'localhost' to database 'bmsswsxf_contentbasedapp' (SQL: select * from sessions where id = QLzDGJ8MYo3oBKG4WfD0PfQPkBkXJ7f0cZeuBz33…
Abdullah Al Shahed
  • 89
  • 2
  • 4
  • 19
0
votes
1 answer

cPanel login / passwords

I try to understand. We have 1 cPanel, so domains. I have users and passwords at: /home/{USERNAME}/etc/{HOSTNAME}/passwd /home/{USERNAME}/etc/{HOSTNAME}/shadow What's login for cPanel ? {USERNAME}@{HOSTNAME} ? or what ?
Stack Kek
  • 3
  • 1
0
votes
0 answers

CPanel Email Configurations

How do I configure an email address using cpanel to bounce back incoming emails after a certain date? Our Organization wants to receive quotations from potential firms upto a certain defined date. After the date line, our organization wants the…
0
votes
0 answers

How To hide destination url from preview of posts of social networking site like facebook?

I'm using cpanel API for redirection from one domain to another, the facebook post shows the preview and url of the destination page(the redirected one), I want to hide the url of the redirected website from the facebook post but I couldn't find a…
0
votes
2 answers

WHM Getting Error - Sudomain Module (API)

This is the error I get when creating a subdomain via cpanel API https://i.stack.imgur.com/QYaLD.jpg Kindly help.
kirobo
  • 293
  • 3
  • 16
0
votes
1 answer

XML API to create cron tasks in cPanel

I am trying to create cron tasks using the xmlapi php. I am able to create the cron tasks using the php API but when I use "*" it does not work. Here is my code $xmlapi = new xmlapi("123.456.7.8"); $xmlapi->password_auth(user,…
Yunus Aslam
  • 2,447
  • 4
  • 25
  • 39
0
votes
1 answer

using cpanel XML API with PHP to create email

Im using XML API to cpanel to create email accounts from a PHP page. Im having problem with creating a code that will see if the email account was setup successfully or not. My PHP file looks like this:
Chris
  • 105
  • 3
  • 10
0
votes
1 answer

Is it possible to obtain a cpanel mysql database prefix?

$db_connection = $_SERVER['DOCUMENT_ROOT'] . '/includes/install/database_connection.php'; if (!file_exists($db_connection)) { require("install/xmlapi.php"); if (isset($_POST['cpname'])) { $opts['user'] = $_POST['cpname']; …
Bruce
  • 1,039
  • 1
  • 9
  • 31
0
votes
2 answers

how to host customers domain on my server using cpanel api

i am searching a lot here https://documentation.cpanel.net/display/SDK/Guide+to+cPanel+API+2 https://documentation.cpanel.net/display/SDK/Guide+to+cPanel+API+1 but didn't found any correct way. what my requirement is i need to host a domain on my…
monu21987
  • 48
  • 1
  • 7
0
votes
1 answer

Create database dynamically in cpanel using xmlapi

I am using xmlapi in php script to create dynamic database in cpanel i'm getting this error Fatal error: Uncaught exception 'Exception' with message 'curl_exec threw error "Failed to connect to mangalaisai.com port 2083: Connection timed…
0
votes
0 answers

Issuing LetsEncrypt SSL Certificates using XMLAPI for cPanel

I'm currently working with XMLAPI in PHP with cPanel to automatically create subdomains for my customers. I've managed to create the script that allows for subdomain creation but I'm having a hard time wrapping my head around using XMLAPI to issue…
Bradley
  • 132
  • 3
  • 15
0
votes
1 answer

whm API - listaccts api search User by domain in PHP

Please can someone help me? I'm using the WHM API to list the users, these users searching the area, but I can not make it work. I have tried, but not work. how to search the User by the domain??? example: $domain = 'mydomain.com'; $accounts =…
Renata
  • 55
  • 8
0
votes
1 answer

cpanel email account creation issue

I am trying to create an email account via script without logging into the cpanel. Here is the script I am using http://www.zubrag.com/scripts/cpanel-create-email-account.php Hosting provider is bluehost I am getting this error Cannot create email…
Muhammad Asif Raza
  • 647
  • 2
  • 5
  • 24
0
votes
0 answers

can't access public_html & wp_config.php in free ftp cpanel

I create a free host & domain and upload wordpress-4.2.4.tar and create a database I can't access some file in using ftp client < and when i want Log in to my panel i can't access create new user and ftp account
e.karimi
  • 1
  • 1