php and apache
Kostas Pipilas
pilotos at hellug.gr
Thu Mar 1 17:06:01 EET 2001
Katarxhn to problhma einai oti den mporo na do tis php selides poy kano
apo ena browser alla blepo ton kodika poy egrapsa.
Anafero ti akribos ekana:
Katebasa ta apache_1.3.17 kai php-4.0.4pl1.
ta ekana aposympiesh sto usr/local/
cd apache_1.3.17
./configure --prefix=usr/local/apache
cd ../php-4.0.4pl1
configure --with-mysql --with-apache=../apache_1.3.17
make
make install
cd ../apache_1.3.17
./configure --activate-module=src/modules/php4/libphp4.a
--prefix=/usr/local/apache
make
make install
Sto httpd.conf energopoio to AddType application/x-httpd php .php
Kano cp php.ini-dist /usr/local/lib/php.ini
Telos xekino ton Apache : /usr/local/apache/bin/apachectl start
Ola oraia kai kala alla php tipota.
Otan dino /usr/local/apache/bin/httpd -l moy bgazei to mod_php4.c
kanonika
sto telos omos leei to exeis:
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
--
Κώστας Πίπιλας <pilotos at hellug.gr>
More information about the Linux-greek-users
mailing list