> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Add xsl PHP Extension (DirectAdmin)

1. SSH into the server and navigate to DirectAdmin’s custombuild folder and edit the file shown below:


**cd /usr/local/directadmin/custombuild**
**vi configure/ap2/configure.php5**
****

2. Add below line into configure.php5

**--with-xsl**


3. Save the file and recompile PHP through custombuild:

**./build clean**
**./build php n**