[campsite-users] Other issue
  • _______________________________________________
    campsite-users mailing list
    campsite-users@lists.campware.org
    http://lists.campware.org/mailman/listinfo/campsite-users
  • 3 Comments sorted by
  • _______________________________________________
    campsite-users mailing list
    campsite-users@lists.campware.org
    http://lists.campware.org/mailman/listinfo/campsite-users
  • hi Mark!!

    well, those PHP warnings usually come up when dynamic extensions are
    being loaded via .ini files, even though they are already compiled
    into the PHP binary.

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

    php -m

    to fix this problem, you must edit your php.ini (or extensions.ini)
    file and comment out the extensions that are generating warnings. for
    example, after editing, your ini file may look like this:

    ;extension=gd.so
    ;extension=mysql.so

    then, restart your apache web server and try:

    php -v

    warnings should disappear.

    watch out, dynamic extensions are usually located in a special
    "extensions" folder, which changes by operating system environment (i
    do not know where it is on RH). anyway, your php.ini usually has a
    line that describes where the folder is located. usually it looks
    like:

    extension_dir = "/some/path/"

    hope this helps to eliminate warnings.



    On 10/26/07, Mark Corsi wrote:
    >
    >
    >
    >
    > My root user is receiving mail every minute from
    > /usr/local/campsite/sbin/campsite_autopublish
    >
    >
    >
    > The mail reads:
    >
    >
    >
    > Message 11086:
    >
    > From root@localhost.localdomain Fri Oct 26 06:06:02 2007
    >
    > Date: Fri, 26 Oct 2007 06:06:01 -0400
    >
    > From: root@localhost.localdomain (Cron Daemon)
    >
    > To: root@localhost.localdomain
    >
    > Subject: Cron
    > /usr/local/campsite/sbin/campsite_autopublish
    >
    > Content-Type: text/plain; charset=UTF-8
    >
    > Auto-Submitted: auto-generated
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    >
    >
    > PHP Warning: Module 'gd' already loaded in Unknown on line 0
    >
    > PHP Warning: Module 'mysql' already loaded in Unknown on line 0
    >
    > PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
    >
    >
    >
    >
    > _______________________________________________
    > campsite-users mailing list
    > campsite-users@lists.campware.org
    > http://lists.campware.org/mailman/listinfo/campsite-users
    >


    --
    /holman
    _______________________________________________
    campsite-users mailing list
    campsite-users@lists.campware.org
    http://lists.campware.org/mailman/listinfo/campsite-users
  • Looks like that worked like a charm.



    -----Original Message-----
    From: campsite-users-bounces@netfinity-4.mdlf.org
    [mailto:campsite-users-bounces@netfinity-4.mdlf.org] On Behalf Of Holman
    Romero
    Sent: Friday, October 26, 2007 10:39 AM
    To: Mailing-list for all campsite users.
    Subject: Re: [campsite-users] Other issue

    hi Mark!!

    well, those PHP warnings usually come up when dynamic extensions are
    being loaded via .ini files, even though they are already compiled
    into the PHP binary.

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

    php -m

    to fix this problem, you must edit your php.ini (or extensions.ini)
    file and comment out the extensions that are generating warnings. for
    example, after editing, your ini file may look like this:

    ;extension=gd.so
    ;extension=mysql.so

    then, restart your apache web server and try:

    php -v

    warnings should disappear.

    watch out, dynamic extensions are usually located in a special
    "extensions" folder, which changes by operating system environment (i
    do not know where it is on RH). anyway, your php.ini usually has a
    line that describes where the folder is located. usually it looks
    like:

    extension_dir = "/some/path/"

    hope this helps to eliminate warnings.



    On 10/26/07, Mark Corsi wrote:
    >
    >
    >
    >
    > My root user is receiving mail every minute from
    > /usr/local/campsite/sbin/campsite_autopublish
    >
    >
    >
    > The mail reads:
    >
    >
    >
    > Message 11086:
    >
    > From root@localhost.localdomain Fri Oct 26 06:06:02 2007
    >
    > Date: Fri, 26 Oct 2007 06:06:01 -0400
    >
    > From: root@localhost.localdomain (Cron Daemon)
    >
    > To: root@localhost.localdomain
    >
    > Subject: Cron
    > /usr/local/campsite/sbin/campsite_autopublish
    >
    > Content-Type: text/plain; charset=UTF-8
    >
    > Auto-Submitted: auto-generated
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    > X-Cron-Env:
    >
    >
    >
    > PHP Warning: Module 'gd' already loaded in Unknown on line 0
    >
    > PHP Warning: Module 'mysql' already loaded in Unknown on line 0
    >
    > PHP Warning: Module 'mysqli' already loaded in Unknown on line 0
    >
    >
    >
    >
    > _______________________________________________
    > campsite-users mailing list
    > campsite-users@lists.campware.org
    > http://lists.campware.org/mailman/listinfo/campsite-users
    >


    --
    /holman
    _______________________________________________
    campsite-users mailing list
    campsite-users@lists.campware.org
    http://lists.campware.org/mailman/listinfo/campsite-users

    _______________________________________________
    campsite-users mailing list
    campsite-users@lists.campware.org
    http://lists.campware.org/mailman/listinfo/campsite-users