Displaying 20 results from an estimated 33 matches for "mysqli".
Did you mean:
mysql
2017 Feb 21
1
Centos 7 with Postfixadmin, what provides php5-mysql
...eplace my Centos6 server.
This means moving to Apache 2.4 and MariaDB, so I am finding a number of
changes from my notes.
I now have MariaDB running with the databases created and Apache
running. I try accessing postfixadmin and get:
DEBUG INFORMATION:
MySQL 4.1 functions not available! (php5-mysqli installed?)
database_type = 'mysqli' in config.inc.php, are you using a different
database?
Please check the documentation and website for more information.
=================
mysqli is what the config.inc.php says to use for
// mysqli = MySQL 4.1+ or MariaDB
I installed httpd mod_ssl p...
2010 Aug 27
2
phpMyAdmin can't connect to remote server
Hi All,
I have had a thread about this going on the phpMyAdmin list for a little while. Nobody there has been able to shed any light on my problem. It seems that with phpMyAdmin I can not connect to remote servers. Though it also seems that apache, php and mysqli all work fine outside of phpMyAdmin. Below I have detailed my trouble shooting. This only seems to be an issue for me with CentOS 5 so I'm hoping someone out there has run into this before. I'm certain there is some setting or dependency I am missing so if you have any insight into this I...
2017 Feb 21
4
Problems with my simple write conf files method
...<<EOF>>/etc/aliases || exit 1
root: youremail
EOF
See: http://medon.htt-consult.com/Centos7-armv7.html
But with postfixadmin I stumbled onto a problem. The following:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php
$CONF['database_type'] = 'mysqli';
$CONF['database_user'] = 'postfix';
$CONF['database_password'] = 'xyz';
$CONF['database_name'] = 'postfix';
$CONF['configured'] = true;
?>
EOF
produces:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php...
2013 Mar 24
0
[Fwd: Re: PHP Questions on move from CentOS 5.x to CentOS 6.x]
...;> Diffing php -m results:
>
> a diff does not interest
> i requested explcitly the output of "php -m" on the new machine
On CentOS 5 it is:
php -m
[PHP Modules]
bz2
calendar
ctype
curl
date
dbase
exif
ftp
gd
gettext
gmp
hash
iconv
ldap
libxml
mbstring
mcrypt
mime_magic
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
posix
pspell
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
zlib
[Zend Modules]
On CentOS 6
php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
enchant
ereg
exif
fileinfo
filter...
2017 Feb 21
1
Problems with my simple write conf files method
...root: youremail
> EOF
>
> See: http://medon.htt-consult.com/Centos7-armv7.html
>
> But with postfixadmin I stumbled onto a problem. The following:
>
> cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
> <?php
> $CONF['database_type'] = 'mysqli';
> $CONF['database_user'] = 'postfix';
> $CONF['database_password'] = 'xyz';
> $CONF['database_name'] = 'postfix';
>
> $CONF['configured'] = true;
> ?>
> EOF
>
> produces:
>
> cat <<EOF>/usr/sh...
2015 Oct 30
4
disable ZTS in php
...lrpc'
'--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl'
'--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath'
'--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql'
'--with-mysqli=/usr/bin/mysql_config' '--enable-zip' '--enable-dba=shared'
'--with-gettext=shared' '--with-gmp' '--enable-ftp' '--with-pspell'
'--with-config-file-scan-dir=/etc/php.d'* '--disable-maintainer-zts'*
And for some reason the AppD in...
2006 Oct 17
2
Inaccurate CDRs
Hello,
i have call time irregularites in my asterisk CDR. I a currently using a
mysqly backent to save CDR records and use this to generate bills at the end
of each month. However, my users are complaining that they gety charged for
even uncompleted calls (i.e. calls they make whaich have already be setup
but canclled). i have noticed that only 'AWNSERED' and 'Busy' show up in my
2017 Feb 21
0
Problems with my simple write conf files method
...<<EOF>>/etc/aliases || exit 1
root: youremail
EOF
See: http://medon.htt-consult.com/Centos7-armv7.html
But with postfixadmin I stumbled onto a problem.? The following:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php
$CONF['database_type'] = 'mysqli';
$CONF['database_user'] = 'postfix';
$CONF['database_password'] = 'xyz';
$CONF['database_name'] = 'postfix';
$CONF['configured'] = true;
?>
EOF
produces:
cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
<?php...
2009 Mar 15
4
php 5.2
Hi,
Is there any news about CentOS 5.2 updating to php 5.2?
Best Regards,
Melinda Odom
Design Hosting, Inc.
Web Design, Web Hosting, & Ecommerce Solutions
479-471-0891 CST
info at designhosting.biz
http://www.designhosting.biz
2015 Oct 30
2
disable ZTS in php
...--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl'
> '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath'
> '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql'
> '--with-mysqli=/usr/bin/mysql_config' '--enable-zip' '--enable-dba=shared'
> '--with-gettext=shared' '--with-gmp' '--enable-ftp' '--with-pspell'
> '--with-config-file-scan-dir=/etc/php.d'* '--disable-maintainer-zts'*
>
>
> And for...
2010 Dec 18
2
Best way to set up for PHP websites
...ind a good guide on setting it up.
I installed Zend Server, but seems like they are only supporting FastCGI
for Apache on Windows, and only mod_php on Linux.
Their admin control panel is using lighttpd and mod_fcgi on Linux. I
getting it to work with Apache, but am having issues with the missing
mysqli libraries.
Is it recommended to use mod_fcgi on CentOS? Is there a way to get it
to work with Zend Server?
If not, should I try to get things working with lighttpd? I'm not sure
how easy it would be to set up a config to work with Drupal.
Russ
-----BEGIN PGP SIGNATURE-----
Version: GnuP...
2015 Mar 24
2
error building php spec file
...-libdir=lib64 --with-enchant \
--enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \
--enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip
--with-zlib \
--with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-gettext \
--with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd \
--with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear
--disable-debug
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_initrddir}
install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
%{buildroot}%{_initrddir}/php-fpm
%{__make} install...
2011 Feb 15
3
apache 2 and php 5.2
...les parsed: /etc/php.d/Fileinfo.ini,
/etc/php.d/curl.ini,
/etc/php.d/dba.ini,
/etc/php.d/dbase.ini,
/etc/php.d/dom.ini,
/etc/php.d/gd.ini,
/etc/php.d/imap.ini,
/etc/php.d/json.ini,
/etc/php.d/ldap.ini,
/etc/php.d/mbstring.ini,
/etc/php.d/mcrypt.ini,
/etc/php.d/mysql.ini,
/etc/php.d/mysqli.ini,
/etc/php.d/odbc.ini,
/etc/php.d/pdo.ini,
/etc/php.d/pdo_mysql.ini,
/etc/php.d/pdo_odbc.ini,
/etc/php.d/pdo_pgsql.ini,
/etc/php.d/pdo_sqlite.ini,
/etc/php.d/pgsql.ini,
/etc/php.d/soap.ini,
/etc/php.d/wddx.ini,
/etc/php.d/xmlreader.ini,
/etc/php.d/xmlrpc.ini,
/etc/php.d/xmlwriter.ini...
2015 Oct 30
0
disable ZTS in php
...--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl'
> '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath'
> '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql'
> '--with-mysqli=/usr/bin/mysql_config' '--enable-zip' '--enable-dba=shared'
> '--with-gettext=shared' '--with-gmp' '--enable-ftp' '--with-pspell'
> '--with-config-file-scan-dir=/etc/php.d'* '--disable-maintainer-zts'*
>
>
> And fo...
2015 Oct 30
0
disable ZTS in php
...lrpc'
'--enable-soap' '--disable-pdo' '--with-openssl' '--with-xsl'
'--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath'
'--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql'
'--with-mysqli=/usr/bin/mysql_config' '--enable-zip' '--enable-dba=shared'
'--with-gettext=shared' '--with-gmp' '--enable-ftp' '--with-pspell'
'--with-config-file-scan-dir=/etc/php.d'* '--disable-maintainer-zts'*
And for some reason the AppD in...
2016 Mar 24
2
C5 MySQL injection attack ("Union Select")
On Thu, 2016-03-24 at 14:27 +0300, ????????? ???????? wrote:
> This is obviously an application level problem. What is this php file?
> You should upgrade wordpress and remove or block access to the plugin or
> custom page which allows sql injections.
Yes, my mistake. I should have imposed strict controls on the length of
parameters passed to programmes via web pages $_GET[] such as:-
2016 Mar 24
0
C5 MySQL injection attack ("Union Select")
...ql_real_escape_string($_GET['....'],$link);
No. No. Nooooooooo.
You're missing the point that everyone is trying to communicate to you.
Do not use string concatenation. Do not use sprintf. Do not use
mysql_real_escape_string().
Use prepared statements.
http://php.net/manual/en/mysqli.quickstart.prepared-statements.php
2017 Feb 22
0
Problems with my simple write conf files method
On Tue, 2017-02-21 at 10:50 -0500, Robert Moskowitz wrote:
> cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1
> <?php
> $CONF['database_type'] = 'mysqli';
> $CONF['database_user'] = 'postfix';
> $CONF['database_password'] = 'xyz';
> $CONF['database_name'] = 'postfix';
>
> $CONF['configured'] = true;
> ?>
> EOF
KMs method of escaping every $ in the here document wo...
2012 Jul 20
0
CentOS 6.2 x86_64 + PHP 5.3.3 + Zend Guard Loader v3.3 == Segfault
....3.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend
Technologies
Segmentation fault
$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend Guard Loader
zip
zlib
[Zend Modules]
Zend Guard Loader
Segmentation fault
-- SNIP --
--
Solvention Ltd. & Co. KG
St.-Seb...
2015 Oct 30
0
disable ZTS in php
...39; '--disable-pdo' '--with-openssl' '--with-xsl'
> > '--enable-dbx' '--enable-mbstring' '--with-mcrypt=/usr' '--enable-bcmath'
> > '--enable-pdo' '--with-pdo-mysql=/usr' '--with-mysql'
> > '--with-mysqli=/usr/bin/mysql_config' '--enable-zip'
> '--enable-dba=shared'
> > '--with-gettext=shared' '--with-gmp' '--enable-ftp' '--with-pspell'
> > '--with-config-file-scan-dir=/etc/php.d'* '--disable-maintainer-zts'*
> >...