PHP installation woes

Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default PHP installation woes

    Hi there,

    Could someone please give the low down on installing and configuring
    php on freebsd? I am running the 4.10 release as our development
    server with apache 1.3, php 4 and mysql 4.

    Up until now, the only way i have got php to work is to extract the
    php tarball, configure (with the switches below), make and make
    install from source.

    ./configure '--with-apxs=/usr/local/sbin/apxs' '--enable-versioning'
    '--with-gd' '--with-mysql' '--with-jpeg-dir=/usr/local/bin'
    '--with-zlib' '--with-mysql=/usr/local' '--prefix=/usr/local'
    '--with-mime-magic=/usr/share/misc/magic.mime' '--enable-sockets'
    '--enable-memory-limit' '--disable-all'

    The problem with this method is that it doesn't seem to install module
    libaries, and i'm just not convinced that i am going about it
    correctly.

    I also at some stage tried installing from ports (/usr/ports/lang/php4) with:

    # make 'insert switches from above here' build
    # make 'insert switches from above here' install

    None of the switches were acknowledged, as phpinfo() showed no support
    for the switches i required.

    I would really appreciate it if someone could recommend a way to
    install php with control over modules that are supported.

    Thanking you in adv,

    Gareth
    Gareth Bailey Guest

  2. Similar Questions and Discussions

    1. CFMX7 Installation Woes (404 null)
      I'm trying to install ColdFusion MX7 to a brand new Windows 2003 server with IIS for one of my clients. I get one error when I install: ...
    2. Installation on Win2k3 SP1 Installation of ODBC serviceshangs forever
      Hi there, I installed CF 6.1 on a Win2k3 SP1 box, it went fine until It prompted me to login to the administrator to complete the setup, I did...
    3. FCS 1.5 Installation Woes
      Hi there, I?m having a few installation problems I?m hoping someone can help me with. I?m new to FCS and I?m a sysadmin. The developers need the...
    4. ColdFusion MX 7 - J2EE installation Woes on Linux
      I know that this has been one of the more troubling issues for the Windows platform, but I, too, cannot get Coldfusion MX 7 to install sucessfully...
    5. X Installation Woes
      I'm running a Ti4 500MHz with 768 MB RAM. Everytime that I try to install PE2, I go through both panes. Then it says 0 items are left to install,...
  3. #2

    Default Re: PHP installation woes

    Gareth Bailey wrote:
    > Hi there,
    >
    > Could someone please give the low down on installing and configuring
    > php on freebsd? I am running the 4.10 release as our development
    > server with apache 1.3, php 4 and mysql 4.
    >
    > Up until now, the only way i have got php to work is to extract the
    > php tarball, configure (with the switches below), make and make
    > install from source.
    >
    > ./configure '--with-apxs=/usr/local/sbin/apxs' '--enable-versioning'
    > '--with-gd' '--with-mysql' '--with-jpeg-dir=/usr/local/bin'
    > '--with-zlib' '--with-mysql=/usr/local' '--prefix=/usr/local'
    > '--with-mime-magic=/usr/share/misc/magic.mime' '--enable-sockets'
    > '--enable-memory-limit' '--disable-all'
    >
    > The problem with this method is that it doesn't seem to install module
    > libaries, and i'm just not convinced that i am going about it
    > correctly.
    >
    > I also at some stage tried installing from ports (/usr/ports/lang/php4) with:
    >
    > # make 'insert switches from above here' build
    > # make 'insert switches from above here' install
    >
    > None of the switches were acknowledged, as phpinfo() showed no support
    > for the switches i required.
    >
    > I would really appreciate it if someone could recommend a way to
    > install php with control over modules that are supported.
    # cd /usr/ports/lang/php4 && make rmconfig
    # make
    # make install

    This is the way I did it with no problems encountered.

    HTH

    Regards,

    Gary Hayers
    Gary Hayers Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139