RE: [PHP] Errors running PHP from command line
| From: | Jonathan Duncan | Date: | Thu, 13 Nov 2003 21:00:25 +0000 |
| Subject: | RE: [PHP] Errors running PHP from command line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169570@lists.php.net to get a copy of this message | ||
Thanks. Turns out I just needed to comment some things out of my php.ini.
Jonathan
Jake McHenry <linux@nittanytravel.com> said:
> > -----Original Message-----
> > From: Jonathan Duncan [mailto:jonathan@nacnud.com]
> > Sent: Friday, November 07, 2003 7:04 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] 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
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> 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
>
>
>
>
>
--
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