A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Waterfall_Cache has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 47

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 194

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Memcache_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 275

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Filesystem_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 440

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; APC_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 628

Getting Started with Apache 1.3 Page 5

Getting Started with Apache 1.3 Page 5

By Ken Coar (Send Email)
Posted Jun 1, 2000


  
    % cd ./apache-1.3
    % env CC=gcc CFLAGS="-O2 -Wall" \
    > ./configure --enable-shared=max --enable-module=most \
    > --with-layout=Apache --prefix=/usr/local/web/apache \
    > --with-port=80
    Configuring for Apache, Version 1.3.13-dev
     + using installation path layout: Apache (config.layout)
    Creating Makefile
    Creating Configuration.apaci in src
        [more configuration output]
    % make
        [lots of compilation output]
    % /usr/local/web/apache/bin/apachectl start
    % make install
        [lots of output describing file placement]
  
Note:
You don't want to execute that last command if you already have a version of Apache running! It may fail and cause problems when trying to move files into a running environment. If you're already running Apache, stop the existing server first, with something like this:
    % /usr/local/web/apache/bin/apachectl stop
       

See the section on shutting down Apache for more details.

If you didn't encounter any errors, you should now have a working Apache installation in the location that matches the assumptions described earlier. It's been built to work with dynamic modules rather than static ones for maximum flexibility. The next step is to start the server.

[Re]Building Apache on Windows

Unfortunately, this is a pretty esoteric area. Almost every flavour of Unix in the world comes with the tools necessary to turn source code into something you can run; but the same is not true of Windows. All development packages on the Windows platforms are add-ons, and there are a few possibilities. When the Apache developers began working on the Windows version of Apache, they decided to standardise on a single add-on development tool: Visual Studio C++ version 5.0 from Microsoft. So if you don't have a Windows development package, you can't rebuild the Apache software. If you have a different one than Visual Studio, how to get it to work with the Apache sources is a problem you'll have to solve yourself.

If, however, you have Visual C++ on your Windows box, then you can rebuild the Apache Web server from source either from a command line in a DOS window, such as:


  
    C:\>cd "\Program Files\Apache Group\Apache\src"
    C:\Program Files\Apache Group\APACHE\src>nmake -f Makefile.nt target
  

The target can be one of the following:

installr
Build a fully-functional Apache.exe executable.
installd
Same as installr, except that the executable is built for use with a debugger.
_cleanr
Clean up the directory tree in preparation for doing a installr build.
_cleand
Clean up the directory tree in preparation for doing a installd build.


Thanks for your registration, follow us on our social networks to keep up-to-date