php7* and mysqli

Questions regarding the API
Application Programming Interface
Xino
Posts: 3
Joined: Fri Feb 24, 2017 5:44 pm

php7* and mysqli

Postby Xino » Fri Feb 24, 2017 8:26 pm

Hi im trying to integrate my script into a plugin for vesta but im running into issues namely vesta itself (the panel), is there a way to make it run php7 with mysqli support on ubuntu and php7-fpm?

Thanks in advance

Xino
Posts: 3
Joined: Fri Feb 24, 2017 5:44 pm

Re: php7* and mysqli

Postby Xino » Fri Feb 24, 2017 9:59 pm

Managed to get the panel running on php7-fpm with all modules loaded, now the problem appears to be the body of the panel thats f'd up... some pages are blank, some appear to not be parsing php

and the log file only generates this error.. the admin can login but a user cant.. lol

PHP message: PHP Notice: Undefined variable: user_combined_ip in /usr/local/vesta/web/inc/main.php on line 21" while reading response header from upstream, client: 8x.2xx.x3x.x1, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "pluto.domain.com:8083", referrer: "https://pluto.domain.com:8083/list/dns/"

Whelp


Return to “Scripting / API”



Who is online

Users browsing this forum: No registered users and 2 guests