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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:33:59+00:00 2026-05-31T05:33:59+00:00

I have downloaded php 5.4.0 from php.net and i want to upgrade it on

  • 0

I have downloaded php 5.4.0 from php.net and i want to upgrade it on mac os X lion.

I also want to ask if anyone knows how to upgrade apache.

Thanks in advance.


hi i have installed it but i don’t know how to configure it with httpd.conf

 /usr/local/bin/php -v
PHP 5.4.0 (cli) (built: Mar  3 2012 02:41:24) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

i tried to add this to httpd.conf

as it said but the web server doesn’t want to start

LoadModule php5_module libexec/libphp5.so
  • 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-31T05:34:00+00:00Added an answer on May 31, 2026 at 5:34 am

    I’ve blogged about how to upgrade your local PHP installation to 5.4.

    Archiving content incase of external site failure:

    Now let’s upgrade PHP in a few steps:
    
    1. Download and unpack the PHP source archive
    2. Install following packages using brew: libjpeg and pcre
    3. Change directory to the source archive of PHP
    4. Use the configure command to prepare the compilation process:
    
    ./configure  \
    --prefix=/usr  \
    --mandir=/usr/share/man  \
    --infodir=/usr/share/info  \
    --sysconfdir=/private/etc  \
    --with-apxs2=/usr/sbin/apxs  \
    --enable-cli  \
    --with-config-file-path=/etc  \
    --with-libxml-dir=/usr  \
    --with-openssl=/usr  \
    --with-kerberos=/usr  \
    --with-zlib=/usr  \
    --enable-bcmath  \
    --with-bz2=/usr  \
    --enable-calendar  \
    --with-curl=/usr  \
    --enable-dba  \
    --enable-exif  \
    --enable-ftp  \
    --with-gd  \
    --enable-gd-native-ttf  \
    --with-icu-dir=/usr  \
    --with-iodbc=/usr  \
    --with-ldap=/usr  \
    --with-ldap-sasl=/usr  \
    --with-libedit=/usr  \
    --enable-mbstring  \
    --enable-mbregex  \
    --with-mysql=mysqlnd  \
    --with-mysqli=mysqlnd  \
    --without-pear  \
    --with-pdo-mysql=mysqlnd  \
    --with-mysql-sock=/var/mysql/mysql.sock  \
    --with-readline=/usr  \
    --enable-shmop  \
    --with-snmp=/usr  \
    --enable-soap  \
    --enable-sockets  \
    --enable-sysvmsg  \
    --enable-sysvsem  \
    --enable-sysvshm  \
    --with-tidy  \
    --enable-wddx  \
    --with-xmlrpc  \
    --with-iconv-dir=/usr  \
    --with-xsl=/usr  \
    --enable-zip  \
    --with-pcre-regex  \
    --with-pgsql=/usr  \
    --with-pdo-pgsql=/usr \
    --with-freetype-dir=/usr/X11 \
    --with-jpeg-dir=/usr  \
    --with-png-dir=/usr/X11     
    

    That’s it. After successful configuration use ‘make test’ to check your compilation and ‘sudo make install’ to actually install the new version.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have downloaded and installed Eclipse for PHP Developers from here: http://www.eclipse.org/downloads/ I also
I have downloaded a dynamic library from the location: http://downloads.php.net/pierre/ . The specific file
Hay all, this is really bugging me. I have downloaded phpimage from http://sourceforge.net/tracker/index.php?func=detail&aid=2844769&group_id=103281&atid=738747 I've
I have such code, with downloaded from i-net class for db. I'm interested, how
I want to install php in my system.For this I have downloaded the php-5.3.5.tar.bz2
I have the following downloaded on my machine apache2.2.21 zip from apachelounge php 5.3.8
I just downloaded this PHP Code Snippet Library scrpt from http://www.sourceforge.net/projects/php-csl/ , when I
I have downloaded an auto completion(jQuery script) form from net. I am using wamp
I just downloaded complete source code of PHP from php.net (PHP 5.4.0 [tar.bz2]). They
I am trying to make a Postgres PHP backup script. I have downloaded one

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.