Results 1 to 14 of 14

Thread: pear install

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    1

    Default pear install

    I have rebuilt apache twice with PEAR install selected - and still no "with pear" in a php-info request.

    Anyone know what this could be?

    thjis is from the install log..

    Configuring PEAR
    checking whether to install PEAR... yes
    Last edited by wcardinal; 07-27-2008 at 02:13 PM.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    I have the same issue on 2 servers.
    Running cPanel stable, and used EasyApache 3 to compile concurrent PHP4 (as DSO) and PHP5 (cgi) with SuExec on.

    Cutomers get following error
    Fatal error: require() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
    Still looking for a solution.

    Is this a cPanel bug, or due to my cincurrent setup that needs special attention?

    Many thanks,

    - Vince

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by mambovince View Post
    I have the same issue on 2 servers.
    Running cPanel stable, and used EasyApache 3 to compile concurrent PHP4 (as DSO) and PHP5 (cgi) with SuExec on.

    Cutomers get following error


    Still looking for a solution.

    Is this a cPanel bug, or due to my cincurrent setup that needs special attention?

    Many thanks,

    - Vince
    If this is running as PHP 5 which you have running as CGI with SuExec, you may want to check Mail.php for proper file permissions and ownership.

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Quote Originally Posted by cPanelDavidG View Post
    If this is running as PHP 5 which you have running as CGI with SuExec, you may want to check Mail.php for proper file permissions and ownership.
    Hi David,
    Just to make sure, what should the ownership and permissions be on Mail.php?

    Would I find it in /usr/lib/php or /usr/local/lib/php

    Still strange that the Pear module is not listed when running PHP info

    Many thanks,

    - Vince

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by mambovince View Post
    Hi David,
    Just to make sure, what should the ownership and permissions be on Mail.php?

    Would I find it in /usr/lib/php or /usr/local/lib/php

    Still strange that the Pear module is not listed when running PHP info

    Many thanks,

    - Vince
    1. You may consider using an absolute path to ensure the file is being found in the "right" place.

    2. File should be owned by the cPanel user and that user should have read/write/execute permissions on the file.

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by mambovince View Post
    Hi David,

    Gave the file 755 permissions and chown -R to the user

    I've also copied the Mail.php file from to the same directory as the application and now we get "No valid action!" in the browser instead of previous error message.

    Still strange that the Pear module is not listed when running PHP info on these servers, instead of seeing '--with-pear=/usr/lib/php'


    Many thanks,

    - Vince
    You may wish to let our technical analysts diagnose that for you.

  7. #7
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Hi David,

    Gave the file 755 permissions and chown -R to the user

    I've also copied the Mail.php file from to the same directory as the application and now we get "No valid action!" in the browser instead of previous error message.

    Still strange that the Pear module is not listed when running PHP info on these servers, instead of seeing
    '--with-pear=/usr/lib/php' as I do on another server


    Many thanks,

    - Vince
    Last edited by mambovince; 09-03-2008 at 02:28 PM.

  8. #8
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Quote Originally Posted by cPanelDavidG View Post
    You may wish to let our technical analysts diagnose that for you.
    Thank you very much for the offer.
    Before we do that, does the following help:

    In the Verbose logfile /cpanel/logs/easy/apache/build.12204xxxx
    I see the following entries realted to Pear:
    Installing PEAR environment: /usr/local/php4/lib/php/

    Wrote PEAR system config file at: /usr/local/php4/etc/pear.conf
    You may want to add: /usr/local/php4/lib/php to your php.ini include_path

    Wrote PEAR system config file at: /usr/php4/etc/pear.conf
    You may want to add: /usr/php4/lib/php to your php.ini include_path

    Installing PEAR environment: /usr/lib/php/
    -- End step 'make install for system PHP' --
    Does that last line indicate an issue during build?
    Hence Pear installed fine for PHP4 and not for PHP5 (default version using CGI).

    Thanks again for your guidance.

    - Vince

  9. #9
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    That message merely states that this particular portion of the build process has completed but neither implies success nor failure.

    I recommend having a technical analyst review this situation as they would be more aware of the technical processes of EA3 than I am.

  10. #10
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Hi David,
    I took up your offer last night and asked my server providers to raise a ticket with your teach team referencing this post.

    Hope we will hear back soon.

    - Vince

  11. #11
    Member
    Join Date
    Apr 2005
    Posts
    74

    Default

    anything new with your findings?

  12. #12
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Only that Pear was installed, but just not showing the the phpinfo page

    - Vince

  13. #13
    Member
    Join Date
    Oct 2003
    Posts
    147

    Default

    The same problem on 10 cpanel servers

  14. #14
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,307
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by hekri View Post
    The same problem on 10 cpanel servers
    I recommend you let our technical analysts take a look at your server then. You can do this by submitting a support ticket.

Similar Threads

  1. Not able to install Pear HTTP_Request
    By jteerman in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 12-23-2009, 06:26 AM
  2. How to install PHP pear/pecl ?
    By dber in forum cPanel & WHM Discussions
    Replies: 11
    Last Post: 04-13-2008, 07:25 AM
  3. bug install php pear soap
    By Caluso93 in forum New User Questions
    Replies: 0
    Last Post: 09-06-2007, 01:41 PM
  4. Pear and Pecl counldn't install
    By nazoreen in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 09-04-2007, 09:54 AM
  5. PHP PEAR install
    By wadearnold in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 05-16-2005, 10:47 AM