Properly installing PHP4 extensions under Apache 1.3.x

From: Olaf Greve (o.greve_at_axis.nl)
Date: 01/04/05

  • Next message: Ramiro Aceves: "Re: Epson Stylus C84 printer setup"
    Date: Tue, 04 Jan 2005 10:38:58 +0100
    To: Toomas Aas <toomas.aas@raad.tartu.ee>
    
    

    Hi,

    A while ago the topic was raised about how to properly install PHP
    4.3.8+ versions with their required extensions, under Apache 1.3.x.

    I'm doing so just now, but I seem to be missing one step, as the
    extensions do not seem to get picked up.

    Here's what I did:
    1) Update the ports tree using CVSup
    2) Build the /usr/ports/lang/php4 port (= 4.3.10 -> make install)
    3) Build the /usr/ports/lang/php4-extensions port
    4) Build several extensions I need (GD, MySQL, session), again, I did do
    a make install
    5) Restart Apache

    Double checking the installation shows:
    pkg_info | grep php
    php4-4.3.10 PHP Scripting Language (Apache Module and CLI)
    php4-gd-4.3.10 The gd shared extension for php
    php4-mysql-4.3.10 The mysql shared extension for php
    php4-session-4.3.10 The session shared extension for php

    O.k., so that goes alright. Yet, I do not see any of these extensions
    getting picked up, and I wonder on the one hand what I am missing
    exactly, and on the other hand what the easiest (or best) way is to fix
    this.

    Can anyone tell me something more about the following:
    1) How do I get these extensions to be picked up (using the configure
    tool in the php4 ports? adding entries to Apache's httpd.conf file?
    something else?)
    2) Is this really the easiest way to go? It seems to be somewhat
    cumbersome to have to install all extensions this way. When building the
    php4-extensions port I was prompted for which extensions I wanted to
    install. I was hoping some form of "master Makefile" would result from
    that, allowing me to install the previously selected extensions all in
    one go, rather than having to install each one of them manually.

    Thanks a lot in advance, and cheers!
    Olafo
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Ramiro Aceves: "Re: Epson Stylus C84 printer setup"

    Relevant Pages

    • Re: How to get php4 extensions to "show up"?
      ... Aside from MySQL support I choose ... >>The install and registration seemed to work without any errors. ... >>reports that php DOES NOT have MySQL, zlib, or xml support. ... >>php4 that did not have the extensions installation seperate. ...
      (freebsd-questions)
    • Re: Installing php4
      ... >>While this move to specifying all of the PHP modules as loadable ... >>that use PHP can now explicitly list all of the extensions they ... not all of the PHP consuming ports have yet been updated ... >>to depend on the appropriate PHP extensions, so installing those ...
      (freebsd-questions)
    • Re: How do I enable the FP SE?
      ... When you first install IIS under Windows XP Pro, and then install the FP extensions on the root web ... Thomas A. Rowe (Microsoft MVP - FrontPage) ... >, but no path to the home directory of the Default Web site. ...
      (microsoft.public.frontpage.extensions.windowsnt)
    • How to get php4 extensions to "show up"?
      ... read the UPDATING file and noticed that the php4 extensions are now ... The install and registration seemed to work without any errors. ... possible php extensions are listed in /usr/local/etc/php/extensions.ini ...
      (freebsd-questions)
    • Re: Firefox extension and themes install
      ... | | extensions as a regular user. ... | | start Firefox from the bash shell or if I run Firefox as root, ... | | something has changed in the Firefox is using file permissions since ...
      (Debian-User)