Opitah vsichki tezi varianti... nishto ne pomogna.
IvanST, pravih go tova, i to ne 1 pyt i ne s 1 script. Izprobvah edna dozina scriptove i taka i ne potrygna.
Sega mahnah default php-to i apache-to i svalih slednite paketi:
apache_1.3.29.tar.gz
php-4.3.6.tar.bz2
------------------------------------
pyrvo konfigurirah apache-to s
$ ./configure
sled tova php-to po sledniq nachin:
$ ./configure --with-mysql --with-apache=/path/to/apache/src
sled tova kompilirah i instalirah php-to.
Predi da kompiliram apache-to obache, vidqh v redme-to mu che za da raboti sys php, trqbva da se configurira po sledniq nachin.
./configure --activate-module=src/modules/php4/libmodphp4.a
(kato tozi src/modules/php4/libmodphp4.a si go dobavq php-to, sled kato e konfigurirano s --with-apche=/../.. )
I taka, konfigiguriram apache-to po tozi nachin, pri kofiguriraneto nqma greshki, i posle pri kompilaciq se razvalq cqlata kartina... eto kakvo stava:
mod_php4.c:785: syntax error before '*' token
mod_php4.c: In function `php_apache_flag_handler_ex':
mod_php4.c:789: `arg2' undeclared (first use in this function)
mod_php4.c:796: `cmd' undeclared (first use in this function)
mod_php4.c:802: syntax error before '*' token
mod_php4.c: In function `php_apache_flag_handler':
mod_php4.c:804: `cmd' undeclared (first use in this function)
mod_php4.c:804: `conf' undeclared (first use in this function)
mod_php4.c:810: syntax error before '*' token
mod_php4.c: In function `php_apache_admin_flag_handler':
mod_php4.c:812: `cmd' undeclared (first use in this function)
mod_php4.c:812: `conf' undeclared (first use in this function)
mod_php4.c:812: `arg1' undeclared (first use in this function)
mod_php4.c: In function `php_xbithack_handler':
mod_php4.c:820: `HashTable' undeclared (first use in this function)
mod_php4.c:823: `r' undeclared (first use in this function)
mod_php4.c:823: `S_IXUSR' undeclared (first use in this function)
mod_php4.c:824: `METHODS' undeclared (first use in this function)
.....
.....
teq redove sa hilqdi... tova e malka chast ot tqh samo, i nakraq zavyrshva taka:
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/mnt/windows/backup/packages/apache_1.3.29/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/mnt/windows/backup/packages/apache_1.3.29'
make: *** [build] Error 2
Kakvo da go pravq...

'> veche mi pisna ot nego !