Professional Web Applications Themes

Errors running PHP from command line - PHP Development

I run a php script from my shell prompt and get these errors, although the script still seems to function properly. Any idea why? (PHP Version 4, FreeBSD) localhost # ./scriptfile.php PHP Warning: Function registration failed - duplicate name - textdomain in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - gettext in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - _ in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - dgettext in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - ...

  1. #1

    Default Errors running PHP from command line

    I run a php script from my shell prompt and get these errors, although the
    script still seems to function properly. Any idea why? (PHP Version 4,
    FreeBSD)

    localhost # ./scriptfile.php
    PHP Warning: Function registration failed - duplicate name - textdomain in
    Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - gettext in
    Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - _ in Unknown
    on line 0
    PHP Warning: Function registration failed - duplicate name - dgettext in
    Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - dcgettext in
    Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - bindtextdomain
    in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - ngettext in
    Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - dngettext in
    Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - dcngettext in
    Unknown on line 0
    PHP Warning: Function registration failed - duplicate name -
    bind_textdomain_codeset in Unknown on line 0
    PHP Warning: gettext: Unable to register functions, unable to load in
    Unknown on line 0
    PHP Warning: Unknown(): Unable to load dynamic library
    '/usr/local/lib/php/extensions/current/chasen.so' - Cannot open
    "/usr/local/lib/php/extensions/current/chasen.so" in Unknown on
    line 0
    PHP Warning: Unknown(): Unable to load dynamic library
    '/usr/local/lib/php/extensions/current/kakasi.so' - Cannot open
    "/usr/local/lib/php/extensions/current/kakasi.so" in Unknown on
    line 0
    PHP Warning: Unknown(): Unable to load dynamic library
    '/usr/local/lib/php/extensions/current/namazu.so' - Cannot open
    "/usr/local/lib/php/extensions/current/namazu.so" in Unknown on
    line 0
    localhost #

    Thanks,
    Jonathan Duncan
    Jonathan Guest

  2. #2

    Default RE: [PHP] Errors running PHP from command line

    > -----Original Message----- 

    I used to get this, I would have a page and a half (about 3 times what
    you posted here) of errors when I would try to run from the command
    line. I never did figure it out, but they disappeared when I upgraded
    php. Sorry, not much of a help.



    Thanks,

    Jake McHenry
    Nittany Travel MIS Coordinator
    http://www.nittanytravel.com
    Jake Guest

  3. #3

    Default RE: [PHP] Errors running PHP from command line

    Thanks. Turns out I just needed to comment some things out of my php.ini.

    Jonathan


    Jake McHenry <com> said:
     
    >
    > I used to get this, I would have a page and a half (about 3 times what
    > you posted here) of errors when I would try to run from the command
    > line. I never did figure it out, but they disappeared when I upgraded
    > php. Sorry, not much of a help.
    >
    >
    >
    > Thanks,
    >
    > Jake McHenry
    > Nittany Travel MIS Coordinator
    > http://www.nittanytravel.com
    >
    >
    >
    >
    >[/ref]



    --
    Jonathan Duncan
    Administrator
    801.376.7796
    JKD Web Magic
    http://www.jkdwebmagic.com
    Web Site Hosting and Design



    __________________________________________________ ______________

    Brought to you by nacnudMail using TWIG. http://www.nacnud.com
    Jonathan Guest

Similar Threads

  1. running php scripts from the command line in 4.2.3
    By Rob in forum PHP Development
    Replies: 3
    Last Post: January 6th, 10:31 PM
  2. Replies: 0
    Last Post: October 9th, 10:48 AM
  3. Replies: 0
    Last Post: October 9th, 10:47 AM
  4. #25797 [Opn]: Running the php cli more than once at the same command line causes it to hang.
    By brian at centurionservice dot com in forum PHP Development
    Replies: 0
    Last Post: October 8th, 04:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139