Adding custom modules to php with customapache

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:

cd /usr/local/directadmin/customapache
vi configure.php
#add your --with-module line to the end of the file,
# and make sure the \ character exists at the end of all lines except the last one.
./build clean
./build php

If you're using custombuild instead of customapache, see the link below for instructions.

Then restart apache: RedHat:

/sbin/service httpd restart

FreeBSD:

/usr/local/etc/rc.d/httpd restart
 
scripts/customapache.txt · Last modified: 2010/02/20 01:14 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Do you be in need quality seo service in usa visit that site