php2 disabled, still option to select php version

netsolid

Verified User
Joined
Feb 8, 2010
Messages
35
I have enabled php2 version 5.3. After some testing i want to disable the php2 option. I changed the option file with php2_release=no and run the ./build list_removals and ./build remove_items.

That didnt help so i ran :
./build apache
./build php n
./build rewrite_confs

No changes, how can i disable the option of the second php version?
 
We can see how DA is reading the options.conf by typing
Code:
cd /usr/local/directadmin
echo "action=httpd&value=restart" > data/task.queue; ./dataskq d3000
and you should see something like
Code:
Apache::figure_out_setup:cb_ver=2
php1_ver=5.5
php2_ver=5.6
php1_fpm=1
php2_fpm=1
php1_fcgi=0
php2_fcgi=0
suphp=0
cli=0
safe_mode=0
mod_ruid2=0
suexec_per_dir=0
webapps_inbox_prefix=0
If the php1/2 versions and php types don't match your options.conf, can you paste us the full options.conf? (remove any identifying domain names, emails, etc..)

Also make sure there are no extra spaces after "php2_release=no " in the options.conf, else DA won't read it as "no", it would be "no ", and that may give unexpected results.

John
 
Back
Top