This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Install php-mysqlnd
#1
Install php-mysqlnd
Hi there

I want to use MySQL Prepared Statements, so I tried to install php-mysqlnd but I have this error

Error: php-mysql conflicts with php-mysqlnd-5.4.16-42.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Please advise me a solution

Thanks
Thanks given by:
#2
RE: Install php-mysqlnd
how to use mysqlnd, please help me, many thanks
Thanks given by:
#3
RE: Install php-mysqlnd
Did you force php upgrade ?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Thanks given by: 7rdoq
#4
RE: Install php-mysqlnd
No, i just want to use mysqlnd for prepared statements

Now can I replace mysqli by mysqlnd? There's any issue?

Regards
Thanks given by:
#5
RE: Install php-mysqlnd
Just as an FYI: We will not be able to support you as this will be a custom install and may break future version or upgrades to Sentora and it's related web stack on your server.

If all you want to use it for is prepared statements, I suggest you use PDO (I now use this in all my projects) or native MySQLi (PDO is a bit better since it can be used on more databases, where as MySQLi is limited to MySQL servers only - depends on what you plan on using your script for - personal use on your own server or if you want to share it with the World.)

Just some 'food for thought' Big Grin
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Thanks given by: 7rdoq
#6
RE: Install php-mysqlnd
yes, thank you so much

I'm still using native MySQLi, but my localhost runs without any issue, but go live, it occurs a lot of errors

After 3 days with this, I can solve it now, seems mysql limits numbers of prepared statements & results? Now in code, I closed statement after each query then all solved Smile

Many thanks
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
apt-get install mod_ssl ERROR CMs222 9 25 ,913 11-11-2022, 09:14 PM
Last Post: zustudios
Install guide wget over http? edavidf 5 9 ,460 12-15-2020, 07:07 PM
Last Post: jibranahmed
SSL install breaks apache service EGOSKY123 1 3 ,938 10-28-2020, 12:12 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)