Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7555831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:42:48+00:00 2026-05-30T11:42:48+00:00

Got a LAMP setup (as per Remy Sharp’s set up) on OSX Snow Leopard,

  • 0

Got a LAMP setup (as per Remy Sharp’s set up) on OSX Snow Leopard, PHP 5.3

A site I am trying to run locally is built in CodeIgniter and utilises PEAR which until now I have not used locally.

I downloaded it but it seems that my local environment doe snot know where to look for PEAR.

  • which pear: /usr/bin/pear
  • which php: /usr/bin/php

my php.ini file has:
include_path=”.:/usr/bin/pear

But for some reason I am just getting an error:
Message: require_once(Date.php):

even though Date.php has been installed in Pear

Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:42:50+00:00Added an answer on May 30, 2026 at 11:42 am

    Ha! I’ve played this game across the years on Tiger, Panther, Leopard…

    It’s a lesson in frustration if you choose to go down this path–whatever you fix could be trashed the next time Apple wants to rename the /etc/httpd direcotry /etc/apache2. Then I just gave up. My advice is to not use the built in Mac Lamp stack, but to turn off Web sharing in the System Preferences and download and install MAMP or Zend server.

    MAMP is configured with everything inside the MAMP.app package, mysql, php (with most pear/pecl libs you need), and apache. It also comes with a util to start/stop your servers.

    Now….

    If you must go down the route of not using something like MAMP/Zend Server, I’m assuming somewhere your include path is being overwritten.

    Somewhere before the error, but after the framework is loaded, try this:

    echo get_include_path();
    

    See if you’re path still is what you set in the INI file. If not, mischief is going on. Usual places to check:

    • .htaccess file in docroot of site
    • config files for your framework–they love to overwrite logging and path ini settings!
    • Somewhere in your code someone is calling set_include_path(‘/some/path’) or ini_set(‘include_path’, ‘/some/path’)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a setup in which a LAMP server needs to retrieve an output
I've got a standard LAMP setup on my machine. This morning, it started executing
Got a problem with Apache and PHP-files of Wordpress. When I go to any
Got this error message while trying to load view: The model item passed into
got a simple web site, in html. I do a simple function to move
I've recently set up a Ubuntu 9.10 server with a LAMP configuration and then
Got a Grails 2 app and executing run-app works fine, run-war fails: 2011-12-24 12:43:40,996
got a little problem im hoping someone can enlighten me on. Trying to serialise
I have setup a new EC2 instance on AWS and I'm trying to get
Got this errors keeps appeared repeatedly Here is my line 20 on functions.php $wp_query->max_num_pages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.