Subject: Re: [LINUX:7372] mysql,php3 ve apache
From: bourne (bourne@holyfire.com)
Date: Thu 08 Jul 1999 - 11:07:32 EET DST
On Thu, 8 Jul 1999 Murats@turktraktor.com.tr wrote:
> Arkadaslar redhat 6.0 kullanıyorum. kurulumda web sunucusunuda secmistim ve
> calışıyordu.
> ama daha sonradan mysql uygulaması için php3 yüklemeye ve bu nedenlede
> linux.org.tr deki
> mysql belgesindeki komutları uygulamaya çalıştım.
> yaptıklarım şunlar
> eski web dosyalarının tamamını sildim yani /etc nin altındaki httpd
> ve /home un altındaki httpd
> bundan sonra apache_1.3.6 web sunucusunu indirdim ve
> ./configure --prefix=/www olarak kurdum.
> bundan sonra php3.0.11 versiyonunu açtım.
> /usr/local/php-3.0.11 dizini altında
> ./configure --with-mysql --with-apache= ../apache_1.3.6 --enable-track-vars
> dedim
> ve hatalar geldi
> 1. hata configure: warning: ../apache_1.3.6: invalid host type
> 2. hata ise configure: error: Invalid Apache directory - unable to find
> httpd.h under
> aldığım hatalar bunlar sizce nerede hata yapıyorum yazarsanız sevinirim.
php3'u /usr/local/php-3.0.11'e actiniz ve --with-apache=../apache_1.3.6
ile configure etmek istediniz, yani /usr/local'in altinda apache_1.3.6
gibi bir dizin aradi configure scripti, bulamayinca size o hata
mesajlarini yazdi.
Apache'yi de /usr/local'in icine acin yani /usr/local/apache_1.3.6 gibi
bir dizin olussun ya da apache'yi actiginiz dizini, php3'un configure
scriptine --with-apache=/apache-install_dizini turu yazin
php3 ile gelen INSTALL dosyasini okumakta yarar var:
gunzip apache_1.3.x.tar.gz
tar xvf apache_1.3.x.tar
gunzip php-3.0.x.tar.gz
tar xvf php-3.0.x.tar
cd apache_1.3.x
./configure --prefix=/www
cd ../php-3.0.x
./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars
make
make install
cd ../apache_1.3.x
./configure --prefix=/www --activate-module=src/modules/php3/libphp3.a
(The above line is correct! Yes, we know libphp3.a does not exist at
this stage. It isn't supposed to. It will be created.)
make
(you should now have an httpd binary which you can copy to your Apache
bin dir)
cd ../php-3.0.x
cp php3.ini-dist /usr/local/lib/php3.ini
Iyi calismalar,
-Can
Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr'a gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/