Jump to content

Megaboss

Approved members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Megaboss

  1. 5 hours ago, scott001 said:

    I am running a cpanel apache mysql configuration. Under the latest cpanel you can run PHP per site, so you could set this in your control panel and run PHP 7 on your site. In my case, I wanted it to run within a directory, so I added this to the root .htaccess file for my Revivie Adserver site:

    <IfModule mime_module>
    AddType application/x-httpd-ea-php70 .php .php7 .phtml
    </IfModule> 

     

    I then edited the main configuration file from:

    [database]
    type=mysql

     

    To:

    [database]
    type=mysqli

    Thank you, works perfect!

    //Niclas

×
×
  • Create New...