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 8455011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:10:35+00:00 2026-06-10T12:10:35+00:00

first I am new to macs, I just installed PHP 5.4.6 on my machine

  • 0

first I am new to macs, I just installed PHP 5.4.6 on my machine after downloading the PHP package from http://www.php.net, I unzipped it and navigated to the directory through the terminal, then I ran the following commands:

./configure --with-config-file-path=~/php-5.4.6/php.ini
make
make test
sudo make install

I restarted the Apache with sudo apachectl graceful but and when I gone to the info.php it still said PHP 5.3.13 the default version that macs shipped with, I tried to run echo $PATH I got this result /usr/local/php5:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/mysql/bin:/usr/local/mysql/bin when I searched the internet they said something about changing the path because the default PHP is installed on /usr/local/php5 and the new one is installed on /usr/local/bin/, when I run /usr/local/bin/php -v I get

PHP 5.4.6 (cli) (built: Aug 18 2012 22:52:55) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

So I wanted to know how to update that path.

Thanks in advance and sorry for being long.

  • 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-06-10T12:10:36+00:00Added an answer on June 10, 2026 at 12:10 pm

    You will need to point your httpd.conf configuration to use your new mod_php library… assuming that you passed the proper –with-apxs2 flag during the build.

    If using the built-in Apache server, see: /etc/apache2/httpd.conf

    LoadModule php5_module <MY_NEW_PATH>/libphp5.so
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First of all i'm new in here and new with csharp. just exhausted while
First see my Source Code: WebClient client = new WebClient(); String url = http://localhost;
I just started looking at the new FIRST Robotics Java SDK, which includes project
I need to prepend (newest first) new divisions to my .container but after .controls
<div> <a href=http://website/forum/f80/ThreadLink-new/ id=thread_gotonew_565407><img class=inlineimg src=http://website/forum/images/buttons/firstnew.gif alt=Go to first new post border=0 /></a> [MULTI]
I'm having two DateTime -objects: $start = new DateTime('first thursday of June 2012'); $end
Consider a string array shaped like this: string[] someName = new string[] { First,
First off I am very new to Objective C and iPhone programming. Now that
First off I am still new to objective-c and still trying to learn as
first of all I'm totally new to FAST but I already have a couple

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.