Women in Technology

Hear us Roar

  PHP 4.3 and Mac OS X
Subject:   Great article...but my old build is still serving pages
Date:   2003-05-20 05:16:20
From:   anonymous2
I really appreciate this article, and I've used it several times in the past to get PHP builds running on my machine. I've just built it again, however, to get the PDFlib working, and I've found that phpinfo() shows my old build date with my old configure command.

I'm running OS 10.2.6 (maybe that's part of it?). My /usr/libexec/httpd/libphp4.so file *is* the new build--the date on the file is today. There aren't any errors that I can see in my Apache error log. (There is a line that reads "Accept mutex: flock (Default: flock)" but that doesn't seem like an error, does it?)

The httpd.conf file is normal; php is on. It's serving pages, all right...but as I say it's the old build, not the new one. I haven't tried rebooting yet, but I don't recall having to reboot in the past when I've built PHP.

As an extra data point, I don't have the command line version of PHP at /usr/bin/php, for whatever reason.

Any ideas, anyone?

Full Threads Oldest First

Showing messages 1 through 5 of 5.

  • Update--still the same after reboot
    2003-05-20 05:30:28  anonymous2 [View]

    OK, so I just rebooted, and...the old build's still the one Apache is using. This is really strange, as your instructions have worked just fine in the past.
    • Sigh. Never mind
      2003-05-20 08:12:04  anonymous2 [View]

      Downloading the source again fixed it. Duh. Now if I can only get the pdflib working...
      • Adam Trachtenberg photo Sigh. Never mind
        2003-05-20 11:38:18  Adam Trachtenberg | O'Reilly Author [View]

        Glad everything worked out okay.

        I have never tried building the PDFLib on Mac OS. Are you getting compile errors or what? Maybe I can help debug or try it on my machine and see what happens. (I'm up to 10.2.6 myself, so we should be in sync.)
        • Adam Trachtenberg photo Sigh. Never mind
          2003-05-29 20:32:23  Adam Trachtenberg | O'Reilly Author [View]

          I tried getting this working by hacking up some files to add some Mac OS X specific flags, but in removing certain problems I have introduced others. If you're still banging away on this, reply and I will try again; otherwise, I'm not going to play with this anymore right now.
          • PDFlib, pdflib.upr
            2003-05-30 10:37:59  anonymous2 [View]

            Thanks for looking into it. I actually *did* get PDFlib working--I needed to install the PDF, TIFF, JPG, and PDF shared libraries through Fink. Of course, I immediately ran into a brick wall with configuring the pdflib.upr file to find my fonts. There's actually very, very little info out there about getting pdflib.upr to function on OS X. Any suggestions you might have on that would be helpful, but I suspect that we're way, way off-topic now.