Professional Web Applications Themes

Installation problem: apxs not found - PHP Development

Hi I'm new to PHP. I have a RHLinux 9 box running Apache httpd 2.0.40 and MySQL Ver 12.18 Distrib 4.0.12. I downloaded PHP 4.3.4 (tar.gz) [4,522Kb] - 03 November 200 and tried $ ./configure --with-mysql --with-apxs mod_so.c is present and "compiled-in". This is what I get: [rootlinux php-4.3.4]# ./configure --with-mysql --with-apxs loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether ...

  1. #1

    Default Installation problem: apxs not found

    Hi

    I'm new to PHP. I have a RHLinux 9 box running Apache httpd 2.0.40 and MySQL
    Ver 12.18 Distrib 4.0.12.

    I downloaded PHP 4.3.4 (tar.gz) [4,522Kb] - 03 November 200 and tried

    $ ./configure --with-mysql --with-apxs

    mod_so.c is present and "compiled-in".

    This is what I get:

    [rootlinux php-4.3.4]# ./configure --with-mysql --with-apxs
    loading cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking for re2c... exit 0;
    checking for ranlib... ranlib
    checking whether ln -s works... yes
    checking for gawk... gawk
    checking for bison... bison -y
    checking bison version... 1.35 (ok)
    checking for flex... flex
    checking for yywrap in -lfl... yes
    checking lex output file root... lex.yy
    checking whether yytext is a pointer... yes
    checking for working const... yes
    checking flex version... 2.5.4 (ok)
    checking for pthreads_cflags... -pthread
    checking for pthreads_lib...

    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS...

    Sorry, I was not able to successfully run APXS. Possible reasons:

    1. Perl is not installed;
    2. Apache was not compiled with DSO support (--enable-module=so);
    3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
    The output of apxs follows
    ../configure: line 3169: apxs: command not found
    configure: error: Aborting


    Perl is installed. Neither 'whereis' or 'Find files' reveals any path to
    apxs, so I guess I don't have it installed. What should I do to install
    PHP?

    Thanks for your patience,

    JR
    jon rogers Guest

  2. #2

    Default Re: Installation problem: apxs not found

    jon rogers <jon.rogerstv.tu> wrote:
    > Hi
    >
    > I'm new to PHP. I have a RHLinux 9 box running Apache httpd 2.0.40 and
    > MySQL Ver 12.18 Distrib 4.0.12.
    >
    > I downloaded PHP 4.3.4 (tar.gz) [4,522Kb] - 03 November 200 and tried
    >
    > $ ./configure --with-mysql --with-apxs
    ../configure --with-mysql --with-apxs2=/path/to/apxs2

    [url]http://uk.php.net/manual/en/install.apache2.php[/url]

    HTH;
    JOn
    Jon Kraft Guest

Similar Threads

  1. Page Not Found Error after Installation
    By SincityViper in forum Coldfusion Flash Integration
    Replies: 0
    Last Post: June 2nd, 04:58 PM
  2. 404 File Not Found - CFMX & DMX on Mac Problem
    By blewington in forum Coldfusion - Getting Started
    Replies: 0
    Last Post: September 22nd, 06:17 PM
  3. Replies: 1
    Last Post: February 26th, 12:46 PM
  4. exerb problem - dll not found
    By Berger, Daniel in forum Ruby
    Replies: 3
    Last Post: September 24th, 09:32 PM
  5. CDROM not found during installation of 9.1
    By Stefan Patric in forum Linux Setup, Configuration & Administration
    Replies: 3
    Last Post: July 26th, 12:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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