|
Re: lug-bg: apache-1.3.26 + PHP4
- Subject: Re: lug-bg: apache-1.3.26 + PHP4
- From: rosen@xxxxxxxx (rosen)
- Date: Wed, 26 Jun 2002 15:22:09 +0300
Malko sromen opit
Iztegia se apache-1.3.26 i php 4.2
posle se sledvat instrukciite ot
http://www.php.net/manual/en/install.apache.php
"
gunzip apache_xxx.tar.gz
2. tar -xvf apache_xxx.tar
3. gunzip php-xxx.tar.gz
4. tar -xvf php-xxx.tar
5. cd apache_xxx
6. ./configure --prefix=/www --enable-module=so
7. make
8. make install
9. cd ../php-xxx
10. ./configure --with-mysql --with-apxs=/www/bin/apxs
11. make
12. make install
If you decide to change your configure options after installation
you only need to repeat the last three steps. You only need to
restart apache for the new module to take effect. A recompile of
Apache is not needed.
11. cp php.ini-dist /usr/local/lib/php.ini
You can edit your .ini file to set PHP options. If
you prefer this file in another location, use
--with-config-file-path=/path in step 8.
12. Edit your httpd.conf or srm.conf file and check that these lines are
present and not commented out:
AddType application/x-httpd-php .php
LoadModule php4_module libexec/libphp4.so
You can choose any extension you wish here. .php is simply the one
we suggest. You can even include .html, and .php3 can be added for
backwards compatibility.
The path on the right hand side of the LoadModule statement must point
to the path of the PHP module on your system. The above statement is
correct for the steps shown above.
13. Use your normal procedure for starting the Apache server. (You must
stop and restart the server, not just cause the server to reload by
use a HUP or USR1 signal.)
"
i tova e vsichko
nai mnogo da se naloji pipane v httpd.conf
AddType application/x-httpd-php .php
LoadModule php4_module libexec/libphp4.so
Rosen
----- Original Message -----
From: <valeri@xxxxxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Sent: Wednesday, June 26, 2002 2:01 PM
Subject: Re: lug-bg: apache-1.3.26 + PHP4
> DA nekoi ako go rune naistina da dade edin log ot console da
> go napravim i nie :-)
> MErsi predvaritelno
>
============================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
Zagora
> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
>
============================================================================
>
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|