Find the answer to your Linux question:
Results 1 to 2 of 2
Hi guys, I have recently installed R.H. 9 and Apache2, MySQL and PHP4, I have a document that is from Compaq Active answers that has information in it pertaining to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2003
    Posts
    15

    Compiling PHP4 with Apache2


    Hi guys,

    I have recently installed R.H. 9 and Apache2, MySQL and PHP4, I have a document that is from Compaq Active answers that has information in it pertaining to creating such a web server.

    When I get to the area: reconfiguring Apache server (phase 2) it asks to compile PHP3 (not what I am using, the document is aged) and then edit some config files.

    My question is, do I need to compile PHP4 with apache? the command that the document requests is below.

    I can't seem to find the correct command:

    "Build the apache server with the php module as well as two modules named mod-status and mod-info that can provide web masters with configuration information and server status:

    #./configure --activate-module=src/modules/php3/libphp3.a \--enable-module=info --enable-module=status

    "Configure error, unrecognized option".

    I know that its not PHP3 so it shouldn't work, but I cant even seem to find anything remotely relivant to php4 and apache compilation on the system, any pointers???

    Thanks,

    Luke

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    firstly, i would recommend using Apache 1.3.28, as there are (still?) a few bugs with apache 2 and php4.

    Installation instructions for apache 1.3.x & php4:
    http://www.php.net/manual/en/install.apache.php

    Installation instructions for apache 2.x & php4:
    http://www.php.net/manual/en/install.apache2.php

    PHP4 source: http://www.php.net/downloads.php
    Apache source: http://httpd.apache.org/

    Jason

Posting Permissions

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