|If you want to add any extra modules to php, they'll most likely need to be compiled in. Any module that needs to be compiled in will have a --with-module type flag which will need to be used. To add this flag, run the following:|
./build php nchange configure.php5 to configure.php4 if you're using php4.
If you're using suphp, the paths would be configure/suphp/configure.php5 and custom/suphp/configure.php5.
/sbin/service httpd restart
Please keep in mind that any changes to your stock DirectAdmin setup are beyond our techinal support, and you do so at your own risk.
To confirm that you're actually editing the correct configure file, type the following to see which configure files the custombuild script is using:
A common error people run into looks like this:
/usr/local/directadmin/custombuild/custom/ap2/configure.php5: line 32: --with-module: command not foundwhich simply means that the \ character was not correctly added on the line before --with-module.
|Adding custom modules to php with customapache|
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST