старый Apache Version 1.3.34
понадобился старый софт, из состава apache 1.3 и php 4 :)
запускаем
не забываем про
cd apache_1.3.34rusPL30.22
./configure
cd ../php-4.4.4
./configure --prefix=/usr/local \
--with-mysql \
--with-apache=../apache_1.3.34rusPL30.22
make
make install
cd ../apache_1.3.34rusPL30.22
./configure --prefix=/usr/local/apache \
--disable-module=charset \
--activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.34
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for FreeBSD 8.4 platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/php4
make
make install
запускаем
[Thu Mar 12 20:12:16 2015] [notice] Apache/1.3.34 (Unix) PHP/4.4.4 configured -- resuming normal operations
[Thu Mar 12 20:12:16 2015] [notice] Accept mutex: flock (Default: flock)
не забываем про
cp php.ini-dist /usr/local/lib/php.ini
0 комментариев