Discussion about CustomBuild

When i run the ./build update_all d command within a VPS.
The ssh session is terminated when php5 is compiled.

Any idea why?

There is no command "update_all", maybe you are using "./build all d". This issue is probably caused because of zlib recompile, because both PHP and SSHd are using it :)
 
There is no command "update_all", maybe you are using "./build all d". This issue is probably caused because of zlib recompile, because both PHP and SSHd are using it :)

Lol yeah sorry, i meant ./build all d.

How can i recompile zlib without being disconnected. i have no clue if the build finished as it should.. or temporarily telnet access or something? Isn't that affected?
 
Because there are no plans for it in CustomBuild 1 plans :) Maybe in 1.1 we will have it as default or addition.

Is there any way that this upgrade broke frontpage extensions? All my FP customers are complaining.

** edit **

Uncomment the AddModule mod_frontpage.c line

Adam
 
Last edited:
I'm now connected with telnet. The script runs well now.. except:

Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/mod_perl2/.p
acklist
Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perl
local.pod
+--------------------------------------------------------------+
| |
| For details on getting started with mod_perl 2, see: |
| |
| http://perl.apache.org/docs/2.0/user/intro/start_fast.html |
| |
| |
| Found a bug? File a bug report: |
| |
| http://perl.apache.org/bugs/ |
| |
+--------------------------------------------------------------+
Done mod_perl.
Another instance of custombild is running, please delete the .custombuild file i
f you want to use custombuild.
Quit at position: doDovecot

What do i have to do, to continue.. I started with: ./build all d
 
How do i get frontpage extensions working again? I can see that the dav module is loaded and configured with apache 2.2 thanks to the build script but when i try to enable extensions from inside DA i get this error;
Code:
Error executing your request

Details
Error setting up your web: Error: Cannot open "srm.conf": no such file or folder.
 
How do i get frontpage extensions working again? I can see that the dav module is loaded and configured with apache 2.2 thanks to the build script but when i try to enable extensions from inside DA i get this error;
Code:
Error executing your request

Details
Error setting up your web: Error: Cannot open "srm.conf": no such file or folder.

I should have searched the forum first! For those with this problem just create the file manually like this...

Code:
touch /etc/httpd/conf/srm.conf
 
Martynas can you tell me how to uninstall suPHP.? A lot of php sites are having big permission problems and I don't have the time to troubleshoot it until after the next few weeks. So I want to deinstall it and then when I have the time I'll try the install again and configure it. These are mostly sites running php based forums. So I just want to get rid of suPHP for now.

Thanks for all your efforts;
 
Just install PHP as CLI :) Set php4(php5)_cli to on and php4(php5)_cgi to off :) Then run:
Code:
./build clean
./build php n
 
Thanks for replying :)

This is my options.conf. I didnt have php-cgi ON. Perhaps this was the problem?

default_php=5
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
apache_ver=2.2
mail-header-patch=yes
dovecot=no


Anyway, I'll execute those commands you gave me.
Should I rewrite confs after that?
 
I am able to get custom build to work, however only if I install each part separately, for php I used:

./build clean
./build php n

I have to do the same for apache etc..., php fails if I use ./build all d

Is there a way to skip php and then do it manually?

Thanks
 
Yes, you can edit the script, find "doAll()" and add # to the beggining of command. E.g. "doPhp n;"
 
Tried again but it died here:

Trying to make libz...
gcc -fPIC -O3 -DUSE_MMAP -c -o example.o example.c
gcc -fPIC -O3 -DUSE_MMAP -c -o adler32.o adler32.c
gcc -fPIC -O3 -DUSE_MMAP -c -o compress.o compress.c
gcc -fPIC -O3 -DUSE_MMAP -c -o crc32.o crc32.c
gcc -fPIC -O3 -DUSE_MMAP -c -o gzio.o gzio.c
gcc -fPIC -O3 -DUSE_MMAP -c -o uncompr.o uncompr.c
gcc -fPIC -O3 -DUSE_MMAP -c -o deflate.o deflate.c
gcc -fPIC -O3 -DUSE_MMAP -c -o trees.o trees.c
gcc -fPIC -O3 -DUSE_MMAP -c -o zutil.o zutil.c
gcc -fPIC -O3 -DUSE_MMAP -c -o inflate.o inflate.c
gcc -fPIC -O3 -DUSE_MMAP -c -o infback.o infback.c
gcc -fPIC -O3 -DUSE_MMAP -c -o inftrees.o inftrees.c
gcc -fPIC -O3 -DUSE_MMAP -c -o inffast.o inffast.c
gcc -shared -Wl,-soname,libz.so.1 -o libz.so.1.2.3 adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
rm -f libz.so libz.so.1
ln -s libz.so.1.2.3 libz.so
ln -s libz.so.1.2.3 libz.so.1
gcc -fPIC -O3 -DUSE_MMAP -o example example.o -L. libz.so.1.2.3
gcc -fPIC -O3 -DUSE_MMAP -c -o minigzip.o minigzip.c
gcc -fPIC -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.so.1.2.3
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.so.1.2.3 /usr/local/lib

Any thoughts?
 
Now that ive fixed out mod_dav the frontpage extensions can be enabled inside DA without errors. However acording to one of my clients you still can't connect to the server using frontpage to upload your website like you used to be able to. I've tried altering the settings a bit but tbh i don't fully understand the config httpd-dav.conf;
Code:
Alias /uploads "/etc/httpd/uploads"

<Directory "/etc/httpd/uploads">
    Dav On

    Order Allow,Deny
    Allow from all

    AuthType Digest
    AuthName DAV-upload
    # You can use the htdigest program to create the password database:
    #   htdigest -c "/etc/httpd/user.passwd" DAV-upload admin
    AuthUserFile "/etc/httpd/user.passwd"

    # Allow universal read-access, but writes are restricted
    # to the admin user.
    <LimitExcept GET OPTIONS>
        require user admin
    </LimitExcept>
</Directory>

Does this mean that http://mydomain.com/uploads should be used to connect via frontpage? And can only certain accounts use the frontpage feature at the moment?

Any help with this is appreciated, thanks.
Chris
 
So, if I install DirectAdmin then use this script, will I not have IMAP support?
 
binjured, you will have IMAP, but if you're talking about PHP support for IMAP - you will need to add it manually.
 
Back
Top