Re: php and mysqli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 28 Sep 2012, Buday Gergely wrote:

> PHP Fatal error:  Call to undefined function mysqli_init() in 
> /home/gbuday/public_html/init.php on line 3

# grep mysqli_init /usr/lib64/php/modules/mysqli.so
Binary file /usr/lib64/php/modules/mysqli.so matches
# cat /etc/php.d/mysqli.ini 
; Enable mysqli extension module
extension=mysqli.so

So,

- - check if file /usr/lib/php/modules/mysqli.so exist (you use a 32-bit 
  Fedora so /lib64/ is /lib/ in your case).
- - check if file /etc/php.d/mysqli.ini exist and has the content listed 
  above.
- - check if files from php-mysql rpm package are not corrupted (rpm -vV 
  php-mysql)

Or, you may try to re-install php-mysql (yum reinstall php-mysql). 
Then, restart the web-server. It should work.


Sincerely,
Gabriel

- -- 

// Gabriel VLASIU
//
// OpenGPG-KeyID      : 44952F15
// OpenGPG-Fingerprint: 4AC5 7C26 2FE9 02DA 4906  24B2 D32B 7ED7 4495 2F15
// OpenGPG-URL        : http://www.vlasiu.net/public.key


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQZd0rAAoJENMrftdElS8VDZ0P/RmzlsQYCWF5V3Ip8BOtPWOb
uFp+lP6LZVLlJflHm48rvXmujmeq40L5eGj0yDGBt3bTHfQr5dK/PEarkvdzvLG5
OaG4xQDiLwOxmUnu52XBfLSDEwTAFVRwYYpT1s0+bXA0uoYxESNfb7VJASYk7dZ4
LfiynM1W5i4kF+Agp8Kqj1thB+L8K+p/boBIOLTnFpqws2bvp3djROHLCX064u4+
PdRbiwwe7ftEmwld328Y3cQEpZeMN44dejD64YM+MpO101QfizKt0pkO1dhaHMzp
TbkBnrQhlucpVpnEzQ8LAzlw9h2IrRYpyrai+fOdXAQj+Q8HeqezTX9LdyTpkjPB
uYSwkF2ye+/E+VT33kckoUB0M3VTCAjVhOIVov/GGY5eRlYNWgwedRF6onzYif+e
Ew7iNSn5GGJ9evKecNAn1YTrlbnkjevKLU05yA8oskfAQEiPi3BN1uT8luQVrRa1
bJtCiDhVlXqGTKtpkXGToVZsJgi7GNK1DExFTqvDq2nMmP5Oa/6OM/ObvTjchqH3
F5XgdFFUCO8yAVskxQpbZk+EuzyMQUuJB4PL9UVZJc7DVcehVaNLn+O4Mg2tPDQb
IobguqjMz2uiRZR9ku05zWJqO96cyaJRA86+kA9T37EvSkRmLhhJjvQysinI+CCF
9MLULA7G1TVRuAzv3x6l
=gBAh
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux