suPHP installation in FreeBSD

psk

New member
Joined
Mar 7, 2004
Messages
3
I am installing suPHP in FreeBSD 4.9 with directadmin control panel. I
followed the following steps.

# cd /usr/ports/www/suphp
# vi distinfo
Change the first line with this:
MD5 (suphp-0.5.tar.gz) = a17b2f7bec0db326ee10d28460f34fe4
Save and exit.
# mv Makefile Makefile.backup
# wget http://www.12media.nl/directadmin/howto/Makefile
# make install

Now suPHP installation is downloading and installing a new apache with the
following details..

+--------------------------------------------------------+
| You now have successfully built and installed the |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files |
| |
| /usr/local/etc/apache/httpd.conf
| |
| and then you should be able to immediately fire up |
| Apache the first time by running: |
| |
| /usr/local/sbin/apachectl start
| |
| Thanks for using Apache. The Apache Group |
| http://www.apache.org/ |
+--------------------------------------------------------+

But for directadmin apache is already installed with the following details.
/etc/httpd/conf/httpd.conf
/usr/sbin/httpd

How can I install suPHP in the current apache configuration ?
 
The problem you might be having is ports was desigend to work with the default apache. DirectAdmin does it slightly differently. It is possible that if that port was looking for apache in the FreeBSD default area it installed a second version.

I would:

1) Edit the port to change the installed location

2) Download it from the suPHP website and install is manually.
 
Hi,

this is because the file:
/usr/local/sbin/apxs
is not found.
I just made a link to the exact file location:
ln -s /usr/sbin/apxs /usr/local/sbin/apxs
 
Back
Top