mysqli extension not loading at runtime

From: Date: Wed, 20 Jul 2005 20:38:13 +0000
Subject: mysqli extension not loading at runtime
Groups: php.install 
Request: Send a blank email to php-install+get-16507@lists.php.net to get a copy of this message
Hi there, If someone can please explain as to why I can't get this module to load automatically, I would greatly appreciate it. As of right now, I have a test box setup with Fedora Core 4, Apache 1.3.33, MySQL 5.0.9, and PHP 5.0.4. I've been tweaking PHP all day to get mysql and mysqli working. I finally got that up and running except for one little thing that is bugging me. When I compiled PHP, I configured mysqli to be a shared object so it could be loaded dynamically. This was the only way I get both the mysql and mysqli extensions working together. The problem that I am getting is the mysqli extension is not being loaded when I call a php file through my browser. When I call phpinfo(), it doesn't even show. I have edited the php.ini file to point to the correct location where the module is located. If I execute the script in command line, the script works without the need to call dl(). Now, when I try to view the script through my browser it craps out unless I explicitly call dl() for the module. I did configure Apache to load PHP as a dynamic module through apxs which I'm not sure if that would have anything to do with it or not. I haven't been able to find info on this particular issue. Can somebody please explain to me why this is happening? Wes Huang SPAWAR Systems Center Charleston National Capital Region wesley.huang@navy.mil

« previous php.install (#16507) next »