PHP version selector problem

BestBoard

Verified User
Joined
Sep 8, 2006
Messages
178
Hi,
I'm using CB 2.0 with PHP 5.5 (mod_ruid2) and PHP 5.3 (suphp).

options.conf settings:
Code:
#PHP Settings
php1_release=5.5
php1_mode=mod_php
php2_release=5.3
php2_mode=suphp

In domain setup, under PHP version selector i selected php 5.3 as first, and 5.5 as second.

when i running .php extension files they running under PHP 5.5, and .php53 under PHP 5.3.
How can i change that .php extension will run under PHP 5.3?

Thank you.
 
Hello,

Please make sure that Apache restarted and you don't have outdated custom templates for virtual hosts in /usr/local/directadmin/data/templates/custom
 
I've restarted Apache and /usr/local/directadmin/data/templates/custom is empty.
 
Just a guess. Please make sure you've got Directadmin updated to the latest release. And then update your virtual hosts with:

Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue

It might take a while to complete the task.
 
Hi,
I'm running DA 1.45.2, It's a fresh install from a week ago.

Maybe you can post here a sample user httpd.conf, so I'll be able to check if there is any difference.
Thank you.
 
That's useless to post here files built on default templates. You probably need to ask smtalk to check your server. If you want me to check it for you, then if will definitely cost you some money.
 
I'm experiencing similar quirks - but my directories aren't empty. custom is empty too.
I can't add a 2nd version either, it always sticks to the primary version.

Also a fresh install from about two weeks ago. Never had this before on any of my machines.
Maybe there is a command to update it all?
 
Last edited:
That is a nice workaround, but not a solution ;)
You cannot expect the end-user to do that by themselves.
 
Back
Top