LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-10-2013, 06:07 PM   #31
ljb643
Member
 
Registered: Nov 2003
Posts: 282

Rep: Reputation: Disabled

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

Then try this: (2)
Quote:
$ 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, 05:28 PM   #32
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

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

Code:
pear config-show | grep 'PEAR directory'
outputs

Code:
PEAR directory                 php_dir          /usr/lib64/php
And

Code:
php -r 'echo get_include_path() . PHP_EOL;'
outputs

Code:
.:/usr/lib64/php:/usr/include/php:/usr/lib64/php/PEAR
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, 10:44 PM   #33
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Original Poster
Rep: Reputation: 44
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!

 
  


Reply


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 09:02 PM
PHP Warning after upgrading from PHP 5.2.1 to 5.3.1 on CentOS rossie Linux - Newbie 4 12-20-2009 03:18 PM
Upgrading php? rickycen Linux - Newbie 4 09-02-2005 09:24 PM
Upgrading PHP?!? gldfngr Linux - Software 1 08-25-2005 10:32 AM


All times are GMT -5. The time now is 05:08 PM.

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