You are not logged in.
Pages: 1
PHP is configured, mysqld is runnig but mysql is not listed in phpinfo () and I can't use mysql functions. What's to do?
Offline
I'm stupid . I forgot to enable the mysql extension.
Offline
Whew, I was stuck for awhile with the same problem when I upgraded to PHP5 :cry:. Don't feel stupid.
Offline
I have mysql in my phpinfo() and the php.ini file says that I don't need an extension for mysql - its auto enabled....but my scripts are still unable to use mysql...why?
Offline
depends on the error your getting. Can you connect to mysql from the CLI client?
Offline
The error I'm getting while trying to set up PunBB is:
This PHP environment doesn't have MySQL support built in. MySQL support is required if you want to use a MySQL database to run this forum. Consult the PHP documentation for further assistance.
and the error I'm getting while trying to set up netjuke2 is:
Failure - PHP Extensions: Netjuke requires that several PHP Extensions be present in order to run in this environment. The following required extensions were not found and will have to be installed before continuing:
* mysql
As mentioned I can see mysql support in phpinfo(), but I do not know how to use the command line interface of mysql or php.
Offline
The mysql extension is not automatically enabled, no matter what your php.ini says (even though mine doesn't say anything like that). You'll have to enable it yourself.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
http://bbs.archlinux.org/viewtopic.php? … highlight=
I enabled it, but it still doesn't work,
Offline
I've also updated the bad link, but I still get the same error, even though the link has clearly been changed (check the URL in the previous post if you don't know what I'm talking about). This is driving me nuts because, before I upgraded this morning, my site worked perfectly.
Thanks,
Brian
Offline
Oh, and for those who are wondering what the error actually is, this is what I get on every page making a mysql query:
Fatal error: Call to undefined function mysql_pconnect()
Offline
By actually reading the damn directions, I managed to do the superhuman and link things correctly. "RTFMTYI (RTFM twice, you idiot)" -> Me
Offline
Pages: 1