Discussion about CustomBuild

You need to run both :) "./build update" to update the script (then it will know that the latest release is 4.4.8) and "./build php n" to update PHP.
 
smtalk, first thanks for your help, but I ran ./build update and then ./build php n but the script start to download php 5 why ?

Latest version of PHP (CLI): 4.4.8
Installed version of PHP (CLI): 4.4.7

PHP4 (CLI) update is available.

[root@host custombuild]# ./build php n
File already exists: php-5.2.5.tar.gz
Found /usr/local/directadmin/custombuild/php-5.2.5.tar.gz
Extracting ...
 
Are there any plans to integrate these FAQ/problems of custombuild on help.directadmin.com ?

I've got 2 new servers set up by my provider but things like shtml, webmail subdomain etc... doesn't seem to work the way it used to be implemented.
 
[root@host custombuild]# more options.conf
#PHP settings. default_php possible values - 4 or 5
default_php=5
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
zend=no

#Possible values - 5.0 or 5.1 (4.1 is possible too, but it's EOL)
mysql=5.0
mysql_inst=yes

#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2

#Web applications
phpmyadmin=yes
squirrelmail=yes
roundcube=yes

#Mail options
mail-header-patch=yes
dovecot=no
eximconf=no

#FTP options
proftpd=yes

#Custombuild options
clean=yes



Should I change default_php=5 to 4 and php4_cli=no to yes? is that correct ?
 
Now my options conf is


#PHP settings. default_php possible values - 4 or 5
default_php=4
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=no
zend=no

#Possible values - 5.0 or 5.1 (4.1 is possible too, but it's EOL)
mysql=4.1
mysql_inst=yes

#Possible values - 1.3, 2.0 or 2.2
apache_ver=1.3

#Web applications
phpmyadmin=yes
squirrelmail=yes
roundcube=yes

#Mail options
mail-header-patch=yes
dovecot=no
eximconf=no

#FTP options
proftpd=yes

#Custombuild options
clean=yes


but I have the following error after run
./build php d


no - FreeType 2.x is to be used instead
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... no
checking for hwapi support... no
checking for Hyperwave support... no
checking for iconv support... yes
configure: error: Please reinstall the iconv library.

*** There was an error while trying to configure php. Check the configure/ap1/configure.php4 file
 
Hi !

I've build php 6.0.0-dev on debian 3.1 in cgi witch php 5 in cli.

Now the fonction $_POST donc work on php5 I've rebuild it, modifiy the phpinfo etc... $_POST don't work.

Please help me :s !!

Thanks :)
 
mod_suphp overwrite .ini settings

For those of you who want to install mod_suphp, please remember that php_value and php_flag for .htaccess files won't work anymore.

If you want to find a way to overwrite php.ini settings (other than installing htscanner extension which is in alpha state), take a look at the first user note here:

http://php.net/manual/en/configuration.changes.php

... which will ultimately lead you to the blog post in here:

http://www.askapache.com/php/custom-phpini-tips-and-tricks.html

Rob
 
Hi,

I have custombuild running, with php4 and php5.

Everything is working just fine, but i want to compile "domxml_xmltree" for PHP4.

How do i do this? i have added the param in the custom build config but it does not seem to work.

Anyone has any idea's?
 
Hello,

I tried to add the apache server status to the httpd.conf but it dont work.

Where can I add the following code to chec the server status?

ExtendedStatus On
<Location /server-status>
SetHandler server-status
</Location>

(in apache 1.3 i will add this above port 80, but i dont know where to add this in pache 2.2.6)
 
Last edited:
Hello,

I tried to add the apache server status to the httpd.conf but it dont work.

Where can I add the following code to chec the server status?

ExtendedStatus On
<Location /server-status>
SetHandler server-status
</Location>

(in apache 1.3 i will add this above port 80, but i dont know where to add this in pache 2.2.6)

The file is:

/etc/httpd/conf/extra/httpd-info.conf
 
Hello All:

This took me two nights already ... CentOS 3.8, with Apache 1.3.4, PHP 4.42, trying to upgrade to apache 2.2.8 (worked) and PHP 5.2.5 and MySQL 5.0x.

P r o b l e m is libxslt. The autoinstaller as well as issuing
./build libxslt d
manually give me this error below. Anyone has any idea how to solve this?

Thanks,
John


types.c: In function `libxml_xmlXPathObjectPtrConvert':
types.c:432: syntax error before "PyBool_Check"
types.c:432: warning: implicit declaration of function `PyBool_Check'
types.c:432: syntax error before '{' token
types.c: At top level:
types.c:445: warning: type defaults to `int' in declaration of `str'
types.c:445: `obj' undeclared here (not in a function)
types.c:446: `obj' undeclared here (not in a function)
types.c:446: warning: initialization makes integer from pointer without a cast
types.c:446: initializer element is not constant
types.c:446: warning: data definition has no type or storage class
types.c:447: warning: type defaults to `int' in declaration of `ret'
types.c:447: warning: passing arg 1 of `xmlXPathWrapString' makes pointer from integer without a cast
types.c:447: warning: initialization makes integer from pointer without a cast
types.c:447: initializer element is not constant
types.c:447: warning: data definition has no type or storage class
types.c:448: syntax error before '}' token
types.c:455: warning: type defaults to `int' in declaration of `set'
types.c:455: conflicting types for `set'
types.c:453: previous declaration of `set'
types.c:455: warning: data definition has no type or storage class
types.c:457: syntax error before "for"
types.c:462: warning: type defaults to `int' in declaration of `cur'
types.c:462: conflicting types for `cur'
types.c:452: previous declaration of `cur'
types.c:462: warning: data definition has no type or storage class
types.c:463: syntax error before "if"
types.c:470: `inst' undeclared here (not in a function)
types.c:472: syntax error before "if"
types.c:477: syntax error before "if"
types.c:477: syntax error before '&&' token
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously declared here
types.c:477: warning: `__result' was declared `extern' and later `static'
types.c:477: `type' undeclared here (not in a function)
types.c:477: `__s2' undeclared here (not in a function)
types.c:477: syntax error before "if"
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously defined here
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously declared here
types.c:477: warning: `__result' was declared `extern' and later `static'
types.c:477: `__s1' undeclared here (not in a function)
types.c:477: syntax error before "if"
types.c:477: warning: type defaults to `int' in declaration of `__result'
types.c:477: conflicting declarations of `__result'
types.c:477: `__result' previously defined here
types.c:477: warning: data definition has no type or storage class
types.c:477: syntax error before '}' token
types.c:494: warning: type defaults to `int' in declaration of `ret'
types.c:494: redefinition of `ret'
types.c:447: `ret' previously defined here
types.c:494: warning: passing arg 1 of `xmlXPathWrapNodeSet' makes pointer from integer without a cast
types.c:494: warning: initialization makes integer from pointer without a cast
types.c:494: initializer element is not constant
types.c:494: warning: data definition has no type or storage class
types.c:495: syntax error before '}' token
types.c:477: register name not specified for `__result'
types.c:477: register name not specified for `__result'
make[3]: *** [types.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.22/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.22/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.22'
make: *** [all] Error 2
[root@secure custombuild]#
 
Back
Top