1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Multiple php versions with .htaccess files

Discussion in 'Apache' started by gldigital, Aug 22, 2017.

  1. #1
    My webhost is offering multiple php versions located inside /opt/alt/php5.X directory that can be used acting on cPanel Php selector.

    Actually they don't officially offer the possibility to run at the same time multiple versions of php (e.g. php 5.6 for one domain and php 7.1 for one of its subdir) either using .htaccess or other config file.

    There is any way that I can circumvent this limitation knowing the path to the desired php version and using .htaccess or php.ini files ?
     
    Last edited: Aug 22, 2017
    gldigital, Aug 22, 2017 IP