Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9294019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:16:25+00:00 2026-06-18T21:16:25+00:00

I am using the remote API of ispconfig to create an ispconfig user, a

  • 0

I am using the remote API of ispconfig to create an ispconfig user, a web site and a ftp user and everything is working okay, it creates the ispconfig user, the website and the ftp user, i can access them through ISPConfig and FTP and the web site works as well but it doesn’t enable PHP even if I have it activated on the params.

Here is the necessary code:

$domain = 'domain.example.com';
$params = array(
        'domain' => $domain,
        'ip_address' => '',
        'type' => 'vhost',
        'parent_domain_id' => 0,
        'vhost_type' => '',
        'hd_quota' => 100,
        'traffic_quota' => 4000,
        'cgi' => 'n',
        'ssi' => 'n',
        'suexec' => 'n',
        'errordocs' => 1,
        'is_subdomainwww' => 1,
        'subdomain' => '',
        'php' => 'y', /* This is activated but it does nothing*/
        'ruby' => 'y', /*This is also activated and works*/
        'redirect_type' => '',
        'redirect_path' => '',
        'ssl' => 'n',
        'ssl_state' => '',
        'ssl_locality' => '',
        'ssl_organisation' => '',
        'ssl_organisation_unit' => '',
        'ssl_country' => '',
        'ssl_domain' => '',
        'ssl_request' => '',
        'ssl_cert' => '',
        'ssl_bundle' => '',
        'ssl_action' => '',
        'stats_password' => '',
        'stats_type' => 'webalizer',
        'allow_override' => 'All',
        'apache_directives' => '',
        'php_open_basedir' => '/', 
        'custom_php_ini' => '', 
        'backup_interval' => '',
        'backup_copies' => 1,
        'active' => 'y',
        'traffic_quota_lock' => 'n'
);

I don’t think I need to write anything in ‘custom_php_ini’ , Am I correct?

I have a class to use ispconfig, and the method to create the website is:

public function addWebSite($clientid, $params) {
    $params['server_id'] = $this->server_id;
    utf8_encode_array($params,'utf8_decode_array');
    try {
        return $this->soapClient->sites_web_domain_add($this->session_id, $clientid, $params, $readonly = false);
    }  catch (SoapFault $e) {
        throw new IspcfgException($e->getMessage(), 500);
    }
}

In the creation of the ispconfig user I also put a param ”web_php_options’ => ‘mod’ but it doesn’t work…

Can anybody help me? Thank you very much for your help in advance!

I think that there is a parameter that I don’t know to indicate the PHP Engine but I don´t find the correct documentation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T21:16:26+00:00Added an answer on June 18, 2026 at 9:16 pm

    I solved it.

    I was looking at the documentation provided when you download the zip from the website and you can get it also here.

    IF you look at the documentation it says that the param ‘php’ is an enum with values ‘n’ and ‘y’ but that works for the ipconfig version 2. In ispconfig3 you can edit the php engine (mod-php, cgi…) not just enable it.

    So it works writing in $params:

     'php' => 'mod', 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can update the live datastore using the remote API but is there something
I'm using the native drag and drop API in javascript. How can I remove
I want to create a simple login functionality in WP7 app using remote MySQL
I am testing a web application using Java Remote Method Invocation (RMI). When I
Can Maven copy local file to a remote server using SSH? I want to
I'm using the Team Foundation Server API to try to connect to a remote
The Remote API is not supported by Google App Engine when using federated login.
I'm trying to connect to my local App Engine project using the remote API
I am working with PHP and XPath connecting to a remote XML based API.
I am triggering a parametrized Jenkins job remotely using the Remote Access API like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.