Re: php and mysqli

2012-10-03 Thread Gergely Buday
>> PHP Fatal error: Call to undefined function mysqli_init() in >> /home/gbuday/public_html/init.php on line 3 Thanks for all the explanations. It was something of shooting one's foot: mysqld_safe was running and it was quite likely to be the source of the error. Starting regular mysqld solved th

Re: php and mysqli

2012-09-28 Thread Gabriel VLASIU
-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

Re: php and mysqli

2012-09-28 Thread Jon Ingason
2012-09-28 14:28, Buday Gergely skrev: Hi there, the following code fails on my fedora 17 box: I think you should read the manual (if you have not done that already). Look at the following page, specially the example given there: http://php.net/manual/en/mysqli.real-connect.php PHP Fatal

php and mysqli

2012-09-28 Thread Buday Gergely
Hi there, the following code fails on my fedora 17 box: PHP Fatal error: Call to undefined function mysqli_init() in /home/gbuday/public_html/init.php on line 3 doing a grep around php -i, /etc/php.ini and /etc/php.d/ I get a seemingly ok configuration, see below. My versions of php and my