apache编译时有下面的选项吗?
--enable-module=so

解决方案 »

  1.   

    有啊,我现在重装apache为 2。0。47
    ./configure mysql时出了一堆东西,最后一行是 MYSQL ENDED,然后就MAKE不成了,原先装了个MYSQL3.23.49 ,我直接删了它的文件夹,然后就开是换版本了,这样是不是不对,怎么解决?命令不太懂,请高手一步一步写出来好不?另:查看服务的命令?还有停止服务的命令?
      

  2.   

    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS... configure: error: You have enabled Apache 1.3 support while your server is Apache 2.  Please use the appropiate switch --with-apxs2
      好象是说我允许 apache 1.3 support 可我的服务器却是 apache 2,我以前的apache是1。3的我不知道怎么卸载就停了服务然后删了apache的文件夹,然后编译apache 2 完成,这有什么不对?怎么补救?
      

  3.   

    1.  Perl is not installed;
    没有安装 perl
      

  4.   

    php的编译选项应修改:
    ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --enable-bcmath --enable-mbstring针对apache2安装php应该使用--with-apxs2参数
      

  5.   

    To: volca() ,我就是按你说的这个来的也不行啊!
    To:netvt(唯她) ,Perl怎么装呀,需要下载什么软件?怎么装呀?
      

  6.   

    To: volca() ,现在好象行了,但是没有发现/usr/local/MYSQL因为我以前有个mysql,我不知道怎么卸载就直接删除了/usr/local/mysql文件夹,然后编译mysql不过去就直接下载了rpm文件安装的,这样mysql的bin目录不是被安装在/usr/bin了吗?我想卸载掉它怎么办?
      

  7.   

    到:
    ftp://ftp.linuxforum.net/RPM/redhat/7.3/en/os/i386/RedHat/RPMS/下载 perl-5.6.1-34.99.6.i386.rpm 及其依赖的其他 RPM 包.然后 rpm -ivh perl-5.6.1-34.99.6.i386.rpm
      

  8.   

    我没有安装光盘,现在错误不在APACHE了,在我的MYSQL了,我都说不清楚了,原来有个MYSQL我不知道怎么卸载就直接删除了/usr/local/mysql
    再编译新版的就不行,我就下载了rpm包直接安装了,他把bin安装在了/usr/bin
    然后我编译php./configure --with-mysql=/usr/bin --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --enable-bcmath --enable-mbstring不提示apache错误了,提示说没发现mysql,我现在想重装mysql,就是卸载掉这个然后编译安装不用rpm,怎么办?
      

  9.   

    自己去下载个mysql装上,快的不得了
    http://www.mysql.com/downloads/download.php?file=Downloads%2FMySQL-4.0%2Fmysql-standard-4.0.15-pc-linux-i686.tar.gz&mirror=http%3A%2F%2Fmysql.ihostunit.com%2Fshell> groupadd mysql
    shell> useradd -g mysql mysql
    shell> cd /usr/local
    shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
    shell> ln -s full-path-to-mysql-VERSION-OS mysql
    shell> cd mysql
    shell> scripts/mysql_install_db
    shell> chown -R root .
    shell> chown -R mysql data
    shell> chgrp -R mysql .shell> bin/mysqld_safe --user=mysql &设置自动启动mysql
    在/etc/rc.local中加入一行:
    cd /usr/local/mysql;bin/safe_mysqld --user=mysql &
      

  10.   

    上面是binary版的mysql,不用编译,扔哪都可以用
      

  11.   

    binary版是什么意思?不是正式版吗?
      

  12.   

    编译好了,谢谢!不过有个问题很奇怪,就是按你说的做后那个mysql/usr/local/下面有一个mysql不知道是什么文件,cd 进不去,我只好把解开的文件夹叫mysq了,不敢删除那个,
    可是我找不着php.ini那个原始文件,怎么办?下面是编译命令,通过了
    ../configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php --with-mysql=/usr/local/mysq --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --enable-bcmath --enable-mbstring
      

  13.   

    还有就是我的apache我把http.conf写成这样了还有就是我的apache我把http.conf写成这样了#
    # Based upon the NCSA server configuration files originally by Rob McCool.
    #
    # This is the main Apache server configuration file.  It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about
    # the directives.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do.  They're here only as hints or reminders.  If you are unsure
    # consult the online docs. You have been warned.  
    #
    # The configuration directives are grouped into three basic sections:
    #  1. Directives that control the operation of the Apache server process as a
    #     whole (the 'global environment').
    #  2. Directives that define the parameters of the 'main' or 'default' server,
    #     which responds to requests that aren't handled by a virtual host.
    #     These directives also provide default values for the settings
    #     of all virtual hosts.
    #  3. Settings for virtual hosts, which allow Web requests to be sent to
    #     different IP addresses or hostnames and have them handled by the
    #     same Apache server process.
    #
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path.  If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "/usr/local/apache" will be interpreted by the
    # server as "/usr/local/apache/logs/foo.log".
    #### Section 1: Global Environment
    #
    # The directives in this section affect the overall operation of Apache,
    # such as the number of concurrent requests it can handle or where it
    # can find its configuration files.
    ##
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    #
    # NOTE!  If you intend to place this on an NFS (or otherwise network)
    # mounted filesystem then please read the LockFile documentation (available
    # at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
    # you will save yourself a lot of trouble.
    #
    # Do NOT add a slash at the end of the directory path.
      

  14.   

    1.binary版是已经编译好的版本
    2.你要把php源文件下的php.ini-dist复制到/usr/local/lib/php.ini
    3.apache的配置用google搜索
      

  15.   

    好,我已经配好了,谢谢!不过有个问题很奇怪,就是按你说的做后那个mysql/usr/local/下面有一个mysql不知道是什么文件,cd 进不去,我只好把解开的文件夹叫mysq了,不敢删除那个,
    可是我现在都弄好了,php却连不上mysql:欢迎使用 phpMyAdmin 2.5.3-rc1
    phpMyAdmin 试图连接到 MySQL 服务器,但服务器拒绝连接。您应该检查 config.inc.php 中的主机、用户名和密码,并且确定这些信息与 MySQL 服务器的管理员所给出的信息一致。错误MySQL 返回:
    #2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)Fatal error: Call to undefined function: pma_showmysqldocu() in /home/phpmyadmin/www/libraries/common.lib.php on line 468数据库已经启动,而且主机、用户名和密码都正确,这是怎么会事呢?