php-fpm56.conf not written

CheGuevara

Verified User
Joined
Nov 23, 2009
Messages
26
Hi,

Got a slight problem, decided to switch from PHP 5.4 to 5.6. Options:

#PHP settings.
#Default version of PHP is always php1_release. Possible values for php1/php2_release: 5.3, 5.4, 5.5, no. php1/php2_mode: mod_php, fastcgi, php-fpm or suphp)
php1_release=5.6
php2_release=no
php1_mode=php-fpm
php2_mode=php-fpm
php_ini=no
php_timezone=EEST
#Possible values - production or development
php_ini_type=production
ioncube=yes
zend=no


did build php and rewrite_configs. Result: all websites not working, upon investigation going into /usr/local/directadmin/data/users/<user>/php . There's php-fpm54.conf there, but no php-fpm56.conf . Tried echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue - nothing. So how the hell to make it write those files?

Thanks!
 
Hello,

Which version of DA is running on the box?
Make sure it's the latest version.

We can also get more info by doing a rewrite in debug mode, to make sure DA is actually reading the values from the options.conf correctly.
Change user to one sample User you're working with.
Code:
cd /usr/local/directadmin
echo "action=rewrite&value=httpd&user=[B]user[/B]" >> data/task.queue; ./dataskq d3000
and when you see the output, we're looking for a chunk out output that starts with:
Code:
Apache::figure_out_setup
If you are using 1.47.0 still the php-fpm56.conf is not being written, let us know.

If the Apache::figure_out_setup doesn't show the correct data, also make sure you have:
Code:
custombuild=2.0
set in your options.conf, as DA doesn't do many other checks if that's not set.

John
 
Got it sorted. Turns out I ran into that bug where there's a bunch of useless repeating lines added at the end of options.conf. one of them being php1_release, so that was overwriting the actual php1_release value I was setting at the top of the file.... Thanks for your help nonetheless!
 
Back
Top