Masalah index.php, header/client library version dan mysql driver pada Code Igniter

Sebuah catatan untuk mengingatkan ketika instalasi aplikasi SMEP :

  1. baris $config[‘index_page’] = ‘index.php’ pada file application/config/config.php bila dihilangkan bisa menyebabkan error 404.
  2. error “mysqli::real_connect(): Headers and client library minor version mismatch. Headers:50560 Library:100038” dikarenakan beda versi library php dan mariadb, kurang instalasi driver php mysql dan diatasi dengan “yum install php56w-mysqlnd”.
  3. problem .htaccess, perbaiki /etc/httpd/conf/httpd.conf pada baris :
<Directory /var/www/html>
...
 AllowOverride All
. . .
</Directory>

ubah dari None menjadi All

sumber :

(https://stackoverflow.com/questions/10759334/headers-and-client-library-minor-version-mismatch)

(https://staff.blog.ui.ac.id/jefri.p/2014/04/error-mysql-mysql_connect-headers-and-client-library-minor-version-mismatch/)

(https://mariadb.com/kb/en/library/installation-issues-with-php5/)

(https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-centos-7)

Comments

Leave a Reply