Jump to content

PHP Warning?


adamlacombe

Recommended Posts

only mean you trying to load Module (extension)  in php.ini  2 times?? or somewhere else.. loading it 2 times.

 

Cause

There are two ways to load most extensions in PHP. One is by compiling the extension directly into the PHP binary. The other is by loading a shared extension dynamically via an ini file. The errors indicate that dynamic extensions are being loaded via .ini files, even though they are already compiled into the PHP binary.

 

Fix

To fix this problem, you must edit your php.ini (or extensions.ini) file and comment-out the extensions that are already compiled-in. For example, after editing, your ini file may look like the lines below:

 

;extension=foo.so

;extension=bar.so

You may also erase those lines instead of commenting them out. Once you have disabled those lines, run php -v to see if the warnings go away.

 

Additional Info

 

To see which extensions are compiled-in to your PHP binary, run the following command:

 

php -m

Link to comment
Share on other sites

hmm...

It does not seem to be fixing it.

the index file looks like this:

<?
include "db.php";
session_start();
echo'<link rel="stylesheet" href="style.css">';
switch($_GET['action']){

case 'login':
include ('pages/login.php');
break;

case 'register':
include ('pages/register.php');
break;

case 'profile':
include ('pages/profile.php');
break;

case 'members':
include ('pages/members.php');
break;

case 'browse':
include ('pages/browse.php');
break;

case 'game':
include ('pages/game.php');
break;

default: 
include ('pages/main.php');
break;
}
?>

Link to comment
Share on other sites

  • 2 weeks later...

I removed everything on my site and re-built it, im still getting the error. ffmpeg has something to do with like getting video screenshots, right?

I have none of that kinda stuff in my script.

I dont get it!

I looked at all my PHP info and ffmpeg is loaded but I dont see why its loading twice.

I don't really get this error at all so help with it would be very much appreciated but please explain in lamest terms.

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.