Please help to fix directadmin don't create php-fpm.conf on user

hack3rb43

Verified User
Joined
Oct 4, 2007
Messages
28
Location
Thailand
i try to convert php5.3 mod_php to 2 versions php ( php-fpm53 + php-fpm56 )

When i config php defult to fpm56 php can't run

i try to check /etc/ini.d/php-fpm56 restart i have error

Gracefully shutting down php-fpm56: done
Starting php-fpm56: [08-Sep-2015 22:52:46] WARNING: Nothing matches the include pattern '/usr/local/directadmin/data/users/*/php/php-fpm56.conf' from /usr/local/php56/etc/php-fpm.conf at line 68.
done
[root@ns113 php]#

i try to check in /usr/local/directadmin/data/user/usrname/php/

i have only one php-fpm53.conf

i try to fix with build php d and build rewrite_conf

directadmin don't create php-fpm56 for me

but anator server to mod_php convert to php-fpm don't have issue

Thank for help to fix

i use centos 6.7 64bit with da 1.483
 
Last edited:
Can you paste us the top section of your options.conf? I just want to confirm exactly what's there, regarding php versions and their modes.

John
 
Can you paste us the top section of your options.conf? I just want to confirm exactly what's there, regarding php versions and their modes.

John

#PHP Settings
php1_release=5.3
php1_mode=php-fpm
php2_release=5.6
php2_mode=php-fpm
opcache=yes
htscanner=yes
php_ini=yes
php_timezone=Asia/Bangkok
php_ini_type=production
ioncube=yes
zend=no
suhosin=no
x_mail_header=yes

#MySQL Settings
mysql=5.1
mysql_inst=mysql
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
mysql_force_compile=no

#WEB Server Settings
webserver=apache
litespeed_serialno=trial
modsecurity=no
modsecurity_ruleset=owasp
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
harden_symlinks_patch=yes
use_hostname_for_alias=no
redirect_host_https=no

#WEB Applications Settings
phpmyadmin=yes
phpmyadmin_ver=4
squirrelmail=no
roundcube=yes
webapps_inbox_prefix=no

#ClamAV-related Settings
clamav=yes
clamav_exim=yes
modsecurity_uploadscan=no
proftpd_uploadscan=yes
pureftpd_uploadscan=no
suhosin_php_uploadscan=no

#Mail Settings
exim=yes
eximconf=yes
eximconf_release=4.3
blockcracking=yes
easy_spam_fighter=no
spamassassin=yes
dovecot=yes
dovecot_conf=yes
pigeonhole=no

#FTP Settings
ftpd=proftpd

#Statistics Settings
awstats=no
webalizer=yes

#CustomBuild Settings
custombuild=2.0
autover=no
bold=yes
clean=yes
cleanapache=yes
clean_old_tarballs=yes
clean_old_webapps=yes
downloadserver=files10.directadmin.com

#Cronjob Settings
cron=no
cron_frequency=weekly
[email protected]
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#CloudLinux Settings
cloudlinux=no
cagefs=no

#Advanced Settings
autoconf=yes
automake=yes
libtool=yes
curl=yes
new_pcre=yes

sa_update=no
mariadb=10.0

my option.conf
 
Hmm.. I've tested with:
Code:
php1_release=5.3
php2_release=5.6
php1_mode=php-fpm
php2_mode=php-fpm
and ran:
Code:
./build rewrite_confs
but it did write both conf files:
Code:
drwx--x--x 6 diradmin diradmin 4096 Sep  8 23:23 ..
-rw-r--r-- 1 root     root      589 Sep  8 23:23 php-fpm53.conf
-rw-r--r-- 1 root     root      589 Sep  8 23:23 php-fpm56.conf

Can you confirm you've got the latest build version?
Code:
root@debian7-64:/usr/local/directadmin/custombuild# ./build version
2.0.0 (rev: 1427)
also confirm the DA version:
Code:
/usr/local/directadmin/directadmin v
Version: DirectAdmin v.1.48.3
John
 
Also make sure that the User in question exists in their creator's users.list file:
Code:
/usr/local/directadmin/data/users/[B]creator[/B]/users.list
as these files are used to figure out which Users to process.
 
Back
Top