Search


Wednesday, December 28, 2011

Locate PHP configration file in Directadmin

Compile and enable soap on php with DirectAdmin Control Panel Custombuild
 
Locate PHP configration file  in Directadmin. When you recompile php, make sure you are editing the correct php configuration files. You have to make sure CustomApache or CustomBuild 
 
 cd /usr/local/directadmin/custombuild

./build used_configs
 
 Results:

Apache configuration file: /usr/local/directadmin/custombuild/custom/ap2/configure.apache

PHP4 configuration file: /usr/local/directadmin/custombuild/custom/ap2/configure.php4

suPHP configuration file: /usr/local/directadmin/custombuild/custom/suphp/configure.suphp

PHP5 configuration file: /usr/local/directadmin/custombuild/custom/suphp/configure.php5
 
Edit your php5 config file: (example)

nano /usr/local/directadmin/custombuild/custom/suphp/configure.php5

Add: (Note that only the last rule has no slash!)

--enable-soap
 
Save the file and rebuild PHP:

./build php all
 
 
For more information, please verify the url:  http://help.directadmin.com/item.php?id=252
    
 

No comments:

Post a Comment