zEitEr
Super Moderator
I hope, 5.x does not limit only with 5.2.x and 5.3.x. As 5.4.x is coming soon. Of course this feature will be useful not for all. Otherwise it would be already implemented.
Perhaps because you may need it to keep one or more clients happy rather than lose them, when they require 5.2. I'm not saying this is a good idea, only that it may end up being a business decision.why does it matter when 5.2 is eol
# cat /usr/local/directadmin/data/users/<user>/httpd.conf
# cat /usr/local/directadmin/data/templates/custom/virtual_host2.conf
I hope, 5.x does not limit only with 5.2.x and 5.3.x. As 5.4.x is coming soon. Of course this feature will be useful not for all. Otherwise it would be already implemented.
Funny thing also:
php -i |grep open_basedir
open_basedir => no value => no value
Why is it funny? By default, open_basedir is not set in PHP configuration file (php.ini).
CGI/CGI: can 5.2 and 5.3 both work as CGI?
Can custombuild 1.2 handle this type of installation?
CGI/CLI: if I go this route, which has been documented pretty well in this thread, will 5.3 CLI be able to function safely without chown'ing users' files back to owner:apache?
CGI/FPM: is this possible to implement?
cd /usr/local/directadmin/custombuild
./build set custombuild 1.2
./build update
cp -pf configure/ap2/configure.php5 custom/ap2/configure.php6
perl -pi -e 's/php53/phprep/' versions.txt
perl -pi -e 's/php6/php53/' versions.txt
perl -pi -e 's/phprep/php6/' versions.txt
./build set php5_ver 5.2
./build set php6_cgi no
./build set php6_cli yes
./build set php5_cgi yes
./build set php5_cli no
./build php n
mv -f /usr/local/php6 /usr/local/php6_old
ln -s /usr/local/php5 /usr/local/php6
Starting httpd: httpd:
Syntax error on line 18 of /etc/httpd/conf/httpd.conf:
Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf:
Cannot load /usr/lib/apache/libphp6.so into server: /usr/lib/apache/libphp6.so:
cannot open shared object file: No such file or directory
Also is it possible to run 5.2 and 5.3 as cgi together?
cd /usr/local/directadmin/custombuild
./build set custombuild 1.2
./build update
mkdir -p custom/suphp
cp -pf configure/suphp/configure.php5 custom/suphp/configure.php6
perl -pi -e 's/\/usr\/local\/php5/\/usr\/local\/php6/' custom/suphp/configure.php6
perl -pi -e 's/php53/phprep/' versions.txt
perl -pi -e 's/php6/php53/' versions.txt
perl -pi -e 's/phprep/php6/' versions.txt
./build set php5_ver 5.4
./build set php5_cgi yes
./build set php6_cgi no
./build set php6_cli yes
./build php n
php1_release=5.3
php2_release=5.4
php1_mode=fastcgi
php2_mode=fastcgi
./build update
./build clean
./build apache d
./build php d
./build rewrite_confs
/usr/lib/apache/mod_fcgid.so: undefined symbol: unixd_config