Author: Vadim
Email: [EMAIL PROTECTED]
Message:
Hello!

 I compile PHP from source always. Here is my small script:

=== cut ===
#!/bin/sh
#
cd /usr/local/src/apache_1.3.22
rm -f ./config.cache
./configure --prefix=/usr/local/w5

cd ../php-4.0.6
rm -f ./config.cache
./configure  --with-apache=../apache_1.3.22 --enable-track-vars \
 --with-mysql --with-pgsql --prefix=/usr/local/w5 \
 --with-gd \
 --enable-sockets \
 --with-mnogosearch
 
make
make install

cd ../apache_1.3.22
./configure --prefix=/usr/local/w5 \
 --activate-module=src/modules/php4/libphp4.a
make

cd ../php-4.0.6
cp php.ini-dist /usr/local/lib/php.ini
### You can edit /usr/local/lib/php.ini file to set PHP options.
### Edit your httpd.conf or srm.conf file and add:
###  AddType application/x-httpd-php .php

cd ../apache_1.3.22
make install

=== cut ===



Reply: <http://www.mnogosearch.org/board/message.php?id=3709>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to