Women in Technology

Hear us Roar



Article:
  PHP 4.3 and Mac OS X
Subject:   Installation ?
Date:   2003-01-22 19:22:21
From:   anonymous2
Okay, I followed the instructions in the article and everything worked as expected. But why does my old 4.2.3 build keep showing up in my info window? How do I activate the new version? I restarted apache. No change.
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Installation ?
    2003-02-28 19:12:19  tychay [View]

    Perhaps you have a 3rd party Apache installed as your webserver, or you had a 3rd party Apache installed somewhere in your path that apxs is finding.

    If you have a 3rd party apache installed, try changing the configure to
    --with-apxs=<path to apxs>
    or if it is an Apache 2 compile
    --with-apxs2=<path to apxs2>
    where <path to apxs(2)> is the path to the 3rd party apache.

    When you make install, php should replace the apxs module that used to be there.

    If you had some apxs that it is using (the wrong one), you can force it to use the Mac OS X bundled one with
    --with-apxs=/usr/sbin/apxs

    Take care,

    terry chay
    tychay at php dot net
  • Adam Trachtenberg photo Installation ?
    2003-01-23 08:04:20  Adam Trachtenberg | O'Reilly Author [View]

    Hum... Restarting Apache should cause it to load 4.3 and dump 4.2.3. By "info window," I'm guessing you mean the output from phpinfo()?

    Can you run "php -v" and make sure it reports 4.3 as the version number? If not, maybe something didn't work correctly for the install. This checks the CLI and not the Apache module, but if the CLI didn't get installed, then this would be an indication of a bigger (non-Apache specific) issue.

    Also, try checking the Apache error_log to see if it reported an error message.