Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-10-2013, 05:07 PM   #31
Registered: Nov 2003
Posts: 385

Rep: Reputation: Disabled

You might try this command: (1)
$ pear config-show | grep 'PEAR directory'
to see where PEAR thinks it lives.

Then try this: (2)
$ php -r 'echo get_include_path() . PHP_EOL;'
Which tells you where PHP looks for stuff.

You want the output from (2) to include (1). On my system, (1) is /usr/lib/php and that is where PEAR lives, but I don't know if it is different on your 64-bit system.
Old 07-11-2013, 04:28 PM   #32
Registered: Nov 2008
Posts: 985

Original Poster
Rep: Reputation: Disabled
OK I have tried what you suggested and everything make sense.

pear config-show | grep 'PEAR directory'

PEAR directory                 php_dir          /usr/lib64/php

php -r 'echo get_include_path() . PHP_EOL;'

The paths that I got from these commands reflects exactly what I have entered in my php.ini. No surprises there. Then the paths output by (2) include the output of (1) as you mentioned.

The guys on the Horde maillist are convinced that Slackware's pear setup is broken somehow. I am not sure what to think. I dont know enough about this stuff but I am thinking that either Slackware 14 has major php issues (and other issues I wont talk about here) or the horde devs are not taking my issue seriously enough.
Old 07-15-2013, 09:44 PM   #33
Registered: Nov 2008
Posts: 985

Original Poster
Rep: Reputation: Disabled
Not sure what happened exactly, but I uninstalled everything in pear (from the horde channel) unregistered the horde channel, cleared cache, and reinstalled everything.

Works fine now!

Strange though, I tried on a Slack 14 VM before I succeded on my local server and it failed too.

I wonder if there;s something Horde doesnt like about Slackware or vice-versa?

Until next time, thanks everybody for the great help!

As usual, slackware rocks!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP error after upgrading to latest version of PHP Skillz Programming 3 08-17-2012 08:02 PM
PHP Warning after upgrading from PHP 5.2.1 to 5.3.1 on CentOS rossie Linux - Newbie 4 12-20-2009 02:18 PM
Upgrading php? rickycen Linux - Newbie 4 09-02-2005 08:24 PM
Upgrading PHP?!? gldfngr Linux - Software 1 08-25-2005 09:32 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration