apache2_php4 a libphp4.so

Jaroslav Votruba jaroslav.votruba at keytec.cz
Fri Jul 21 13:16:55 CEST 2006


tohle je takova moje kucharka-doufam,že je tam vse-je to teda z poznamek 
web rozhrani ftp,ale plati to obecne






16.3.    instalace PHP

16.4.    cd /usr/ports/lang/php5 && make install clean
nutno zaskrtnout


[X] APACHE2 Use apache 2.x instead of apache 1.3.x

16.5.    zeditovat konfigurak apache

edit /usr/local/etc/apache2/httpd.conf

zde zapsat(povolit)

LoadModule php5_module        libexec/apache21/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

DirectoryIndex index.php index.html index.html.var

16.6.    nainstalovat PHP Extensions

cd /usr/ports/lang/php5-extensions && make config && make install clean
 
minimalni rozsireni nutny pro User managera jsou

[X] MYSQL MySQL database support
[X] PCRE Perl Compatible Regular Expression support
[X] POSIX POSIX-like functions
[X] SESSION session support
 
[X] je nutno vybrat *apache2*,pokud jej pouzivate

16.7.    resetnout apache
apachectl restart

16.8.    vytvorit index.php
cp /usr/local/etc/php.ini-recommended /usr/local/etc/php.ini

s pozdravem
Votruba Jaroslav
tel: 389002504
mailto:jaroslav.votruba at keytec.cz  


>   


More information about the Users-l mailing list