---
title: How to Connect PHP Code with NetSuite using XAMPP
description: How to connect PHP code with NetSuite using the Xampp tool.
---

[Blog | ennVee](https://blog.ennvee.com/blog)

# [How to Connect PHP Code with NetSuite using XAMPP](https://blog.ennvee.com/blog/connect-php-code-with-netsuite)

 Written by [ennVee](https://blog.ennvee.com/blog/author/ennvee) | Jul 25, 2019, 1:57:00 PM

Learn how to connect PHP Code with NetSuite using the XAMPP tool. (10 steps with images).

## Steps to Connect PHP Code with NetSuite using XAMPP

This blog will walk through the steps to integrate NetSuite with PHP code using the XAMPP tool.

**What is XAMPP?**

XAMPP is an open-source, cross-platform, web server solution stack developed by Apache Friends. It is comprised of Apache HTTP Server, MariaDB database, and interpreters for scripts written in PHP and Perl. 

Fun fact: The word 'XAMPP' (unofficially) stands for:

X — Referring to cross-platform

A — Apache

M — MariaDB

P — PHP

P — PERL

### Don’t have time? Read it later:

### Step 1

First, you will need to download and install the latest version of the [XAMPP](https://www.apachefriends.org/download.html) tool for PHP.

You can download the tool for free here: [https://www.apachefriends.org/download.html](https://www.apachefriends.org/download.html) 

### Step 2

After installation, you need to configure the php.ini file

1. Open the XAMPP control panel
2. Open php.ini
3. Go to the Dynamic extensions section and remove the semicolon ";" for **extension=php\_soap.dll**
4. Save and Start the Apache Server

### Step 3

Download PHP Toolkit: [PHPToolkit\_2017\_1.zip](https://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml)

**NOTE**: Since this blog was originally written, PHPToolkit\_2019\_1 is now available to download: [http://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml](https://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml)

### Step 4

Next, you need to extract the .zip file

### Step 5

Place the extracted **PHPToolkit** folder in the following location:

C > XAMPP > htdocs > (create any folder) New.

### Step 6

Create an empty folder **(nslog)** and place it inside the PHPtoolkit folder

### Step 7

Edit **NSconfig.php** by giving the credentials.

### Step 8

Now, place the code file in the following location:

C > XAMPP > htdocs > New

**Below is a sample PHP code for adding a customer:**

### Step 9

Open the browser and enter the following path:

**localhost/New/add\_customer.php**

### Step 10

If you see any errors, navigate to the nslog folder, open the .xml file, check for errors and resolve it.

### Links mentioned in this blog post:

**XAMPP tool**  
[https://www.apachefriends.org/download.html](https://www.apachefriends.org/download.html)

**PHPToolkit\_2017\_1.zip / PHPToolkit\_2019\_1.zip**  
[https://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml](https://www.netsuite.com/portal/developers/resources/suitetalk-sample-applications.shtml)

### Click below to pick up a copy of the guide:

[View full post](https://blog.ennvee.com/blog/connect-php-code-with-netsuite)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "ennVee"
  },
  "dateModified" : "2023-05-03T06:40:36.275Z",
  "datePublished" : "2019-07-25T13:57:00Z",
  "headline" : "How to Connect PHP Code with NetSuite using XAMPP",
  "image" : {
    "@type" : "ImageObject",
    "height" : 768,
    "url" : "https://cdn2.hubspot.net/hubfs/5314978/blog-hero-php-code-netsuite.jpg",
    "width" : 1366
  },
  "mainEntityOfPage" : "https://blog.ennvee.com/blog/connect-php-code-with-netsuite",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://cdn2.hubspot.net/hubfs/5314978/ennvee-logo-hubspot2_1@2x-1.png",
      "width" : 267.88733
    },
    "name" : "In Case You Missed It"
  }
}
```