SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2003
    Location
    springfield,IL
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pear Newbie - Install Problems

    I am running PHP 4.3.11 on a Win XP and ran the pear.bat.

    I think I installed it correctly, but I am not sure. I believe the version is 1.3.5.

    The installation took place on c:\php\php4\PEAR\PEAR

    I set my path environmental variable to c:\php\php4\PEAR\PEAR

    In my PHP.ini INCLUDE section, I added c:\php\php4\PEAR\PEAR

    Stop and restart Apache.

    Now how do I know if this is installed correctly or is running? Also, at the command line prompt, I typed PEAR and I got this....

    HTML Code:
    Warning: array_shift(): The argument should be an array in pearcmd.php on line 54
    Console_Getopt: Could not read cmd args (register_argc_argv=Off?)
    Commands: (listing of them after this)
    According to what I have read, I changed the register-argc-argv=ON but still same error when I try to run any commands.

    I appreciate any assistance.

  2. #2
    SitePoint Zealot
    Join Date
    Dec 2003
    Location
    springfield,IL
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone can point me the right direction? I'm at a lost.

    Thanks.

  3. #3
    SitePoint Addict ruba's Avatar
    Join Date
    Apr 2005
    Location
    Amman -Jordan
    Posts
    339
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do u read this
    http://pear.php.net/manual/en/installation.shared.php

    which pakage you want to use ?
    Open Blocked website
    Open Blocked Website
    Knowledge Is Knowing That A Tomato Is A Fruit,
    Wisdom Is Not Putting It In A Fruit Salad.

  4. #4
    SitePoint Zealot
    Join Date
    Dec 2003
    Location
    springfield,IL
    Posts
    102
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ruba,
    Thanks for the response. I was basically going from the SITEPOINTS book - THE PHP ANTHOLOGY VOL. 1 and I kept stumbling.

    After going over your suggested link, I went from scratch again and was able to make progress. I guess being the newbie on this, I just didnt understand the language quite clearly but after some experimentation, I was successful in making progress.

    Cheers!


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
  •