Howdy

Create a atest phpinfo(); file  in ur webserver htdocs directory
And open the url to that file in ur browser
to show you what php configuration and modules are loaded
Check this page for details

http://php.net/manual/en/function.phpinfo.php
On a side note
This function is useful in testing  other oses also because  the os can
load phpconfig from anywhere.. and frequently with nonstandard packages you
can be editing the wrong php.ini config...


On Fri 5 Oct 2018, 22:35 Edgar Pettijohn, <ed...@pettijohn-web.com> wrote:

>
> On Oct 5, 2018 3:48 PM, flipchan <flipc...@riseup.net> wrote:
> >
> > Maybe I need to set some sys variable or something similar cuz
> > php-mysqli
> > php-pdo_mysql
> > php-mysql is installed
> >
>
> But are they enabled.  Read the package read me for PHP for instructions.
> > On October 5, 2018 6:16:07 PM UTC, Stuart Henderson <s...@spacehopper.org>
> wrote:
> > >On 2018/10/05 17:35, flipchan wrote:
> > >> It's weird because I have no error files that it describes the error
> > >in, I am promted with
> > >> "Configuration file errror DB type MYSQL is not supported by current
> > >setup"
> > >
> > >Oh, in that case (always include the actual error message!) I'm pretty
> > >sure
> > >you didn't enable the relevant PHP database module. I don't know which
> > >one
> > >zabbix-web needs but I'd try php-pdo_mysql first.
> > >
> > >> I have set all configs (/var/www/zabbix/conf/zabbix.conf.php and
> > >/etc/zabbix*) to use 127.0.0.1
> > >> 3306 , but nono :/
> > >>
> > >> On October 5, 2018 12:55:15 PM UTC, Stuart Henderson
> > ><s...@spacehopper.org> wrote:
> > >>
> > >>     On 2018-10-05, flipchan <flipc...@riseup.net> wrote:
> > >>          Hey how did everyone get zabbix running I tried the zabbix
> > >MySQL with the zabbix web on 6.2 but I get a database connection error
> > >in the php , I assume the php can't read the config
> > >>
> > >>     This is usually mysql/mariadb's annoying feature of automatically
> > >trying
> > >>     to use a unix socket when you try to make a TCP connection to
> > >localhost.
> > >>     See pkg-readmes/mariadb-server (the "chrooted daemons and MariaDB
> > >>     socket" for a workaround.
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Take Care Sincerely flipchan layerprox dev
> >
> > --
> > Take Care Sincerely flipchan layerprox dev
>
>

Reply via email to