best way to test is using two files:
test.php and test.php5, both with
Code:<?php phpinfo() ?>
@smtalk:
chmod has no effect, it still doesn't work.
If anyone wants to test RC4: http://servermonkeys.com/projects/els/custombuild.tar.gz
As I said it will be uploaded to DirectAdmin servers soon
Anyone tested new build on CentOS 4.4 64bit?
Name Value
Processor Name AMD Athlon(tm) 64 Processor 3000+
Vendor ID AuthenticAMD
Processor Speed (MHz) 1808.242
Total Memory 444864 kB
Free Memory 40040 kB
Total Swap Memory 884728 kB
Free Swap Memory 882484 kB
System Uptime 196 Days, 21 Hours and 41 Minutes
Apache 2.2.4 Running
DirectAdmin 1.29.4 Running
Exim 4.60 Running
MySQL 5.0.19 Running
Named 9.2.4 Running
ProFTPd 1.3.0rc2 Running
sshd Running
vm-Pop3d 1.1.7f-DA-2 Running
PHP Version 5.2.1
System Linux all.ur.base.are.belong.2.us 2.6.9-42.0.2.EL #1 Wed Aug 23 13:03:03 BST 2006 x86_64
What error do you get? It's tested and working on Debian, maybe you don't have dovecot=yes into options.conf file, if it's dovecot=no, change it to dovecot=yes and run ./build update. After it try ./build dovecot.
if [ ! -d /etc/httpd/conf/ssl.key ] || [ ! -d /etc/httpd/conf/ssl.crt ]; then
mkdir -p /etc/httpd/conf/ssl.key
mkdir -p /etc/httpd/conf/ssl.crt
#install the cert/key
/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /etc/httpd/conf/ssl.key/server.key -out /etc/httpd/conf/ssl.crt/server.crt -days 9999 -nodes -config ./configure/ap2/cert_config
fi
rm -rf /etc/httpd/conf
./build rewrite_confs
What error do you get? It's tested and working on Debian, maybe you don't have dovecot=yes into options.conf file, if it's dovecot=no, change it to dovecot=yes and run ./build update. After it try ./build dovecot.
Hello,
After suphp is installed ./build rewrite_confs still produces the following problem:
da7 (87.204.147.157) /usr/local/directadmin/data/templates % /etc/init.d/httpd restart
Stopping httpd:
Starting httpd: Syntax error on line 29 of /usr/local/directadmin/data/users/da7/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
Now that is easy to correct, simply comment out all the php_flags in vhost for particular user.
Still, they are inserted in vhost for every new user, so the templates are not corrected. What's weird is that after commenting out the php flags in /usr/local/directadmin/data/templates/virtual_host2.conf and issuing:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
the flags still are there in httpd.conf of a user (/usr/local/directadmin/data/users/someuser/httpd.conf)
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue