Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
PHP...:/ http://forum.freesco.pl/viewtopic.php?f=24&t=17061 |
Strona 1 z 1 |
Autor: | rafal1435 [ sobota, 19 lipca 2008, 10:18 ] |
Tytuł: | PHP...:/ |
Witam mam problem z php, nie potrafi sie zaisntalowac... odznaczylem # przed php4 module w php.conf ale wiem ze tez cos trzeba bylo zrobic w httpd.conf niestety w instrukcji nie ma nic o tym bo podejrzewam ze jest stara... Czy ktos moglby mi pomoc? |
Autor: | rikardo7 [ sobota, 19 lipca 2008, 10:20 ] |
Tytuł: | |
pacman -S php |
Autor: | rafal1435 [ sobota, 19 lipca 2008, 10:25 ] |
Tytuł: | |
rikardo7 pisze: pacman -S php
to to ja juz zrobilem... i odznaczylem przed php 4 module # ale dalej nie dziala |
Autor: | rikardo7 [ sobota, 19 lipca 2008, 10:26 ] |
Tytuł: | |
a restartowałeś apacha? |
Autor: | rafal1435 [ sobota, 19 lipca 2008, 10:28 ] |
Tytuł: | |
rikardo7 pisze: a restartowałeś apacha?
robilem reboota w httpd trzeba bylo odznaczyc # przed ostatnia linia terez smiga dzieki |
Autor: | rikardo7 [ sobota, 19 lipca 2008, 10:32 ] |
Tytuł: | |
w /etc/http/conf/httpd.conf jest taki wpis odnosnie php : # Jezeli chcesz używac php, odkomentuj poniższą linie a następnie zajrzyj # do pliku /etc/httpd/conf/php.conf Include /etc/httpd/conf/php.conf |
Autor: | rafal1435 [ sobota, 19 lipca 2008, 10:34 ] |
Tytuł: | |
dziala dziala ![]() 2. dopisujemy do apacha <VirtualHost 192.168.12.65:81> DocumentRoot /home/httpd/other/81_info/ ScriptAlias /cgi-bin/ /home/httpd/other/81_info/cgi-bin/ Alias /error/ /home/httpd/other/81_info/errors/ ErrorDocument 404 /index.php ErrorLog /home/httpd/other/81_info/log/error.log CustomLog /home/httpd/other/81_info/log/access.log common Options ExecCGI </VirtualHost> <VirtualHost 192.168.12.65:82> DocumentRoot /home/httpd/other/82_blok/ ScriptAlias /cgi-bin/ /home/httpd/other/82_blok/cgi-bin/ Alias /error/ /home/httpd/other/82_blok/errors/ ErrorDocument 404 /index.php ErrorLog /home/httpd/other/82_blok/error.log CustomLog /home/httpd/other/82_blok/access.log common Options ExecCGI </VirtualHost> <VirtualHost 192.168.12.65:83> DocumentRoot /home/httpd/other/83_hotspot/ ScriptAlias /cgi-bin/ /home/httpd/other/83_hotspot/cgi-bin/ Alias /error/ /home/httpd/other/83_hotspot/errors/ ErrorDocument 404 /index.php ErrorLog /home/httpd/other/83_hotspot/error.log CustomLog /home/httpd/other/83_hotspot/access.log common Options ExecCGI </VirtualHost> <VirtualHost 192.168.12.65:84> DocumentRoot /home/httpd/other/84_int/ ScriptAlias /cgi-bin/ /home/httpd/other/84_int/cgi-bin/ Alias /error/ /home/httpd/other/84_int/errors/ ErrorDocument 404 /error/err404.html ErrorLog /home/httpd/other/84_int/log/error.log CustomLog /home/httpd/other/84_int/log/access.log common Options ExecCGI </VirtualHost> GDZIE TO DOPISAC?? Dokladnie w ktory plik i ktore miejsce? Dzieki z gory |
Autor: | rikardo7 [ sobota, 19 lipca 2008, 10:41 ] |
Tytuł: | |
vhosts.conf, oczywiscie moze to byc dowolny inny plik powiazanie robiesz przez include /sciezka do pliku w pliku httpd.conf |
Autor: | rafal1435 [ sobota, 19 lipca 2008, 10:44 ] |
Tytuł: | |
rikardo7 pisze: vhosts.conf, oczywiscie moze to byc dowolny inny plik powiazanie robiesz przez include /sciezka do pliku w pliku httpd.conf
a jeszcze jedno pytanie tam jest jakies ip 12.65 koncowka jesli ja mam 192.168.3.1 serwer to mam wpisac 192.168.3.XX:81? te include wpisuje u gory czy na dole? |
Autor: | rikardo7 [ sobota, 19 lipca 2008, 10:50 ] |
Tytuł: | |
chodzi Ci o to : <VirtualHost 192.168.12.65:81> to tak maja tu byc twoje dane, czyli <VirtualHost 192.168.3.1:81> aha i musisz dodac w httpd.conf lub przed wirtualka listen np. tak: listen 85 <VirtualHost *:85> |
Autor: | rafal1435 [ sobota, 19 lipca 2008, 11:01 ] |
Tytuł: | |
rikardo7 pisze: chodzi Ci o to :
<VirtualHost 192.168.12.65:81> to tak maja tu byc twoje dane, czyli <VirtualHost 192.168.3.1:81> aha i musisz dodac w httpd.conf lub przed wirtualka listen np. tak: listen 85 <VirtualHost *:85> to gdzie wkoncu w httpd.conf czy vhosts.conf? bo dodalem do vhosts.conf listen81 <VirtualHost 192.168.3.1:81> DocumentRoot /home/httpd/other/81_info/ ScriptAlias /cgi-bin/ /home/httpd/other/81_info/cgi-bin/ Alias /error/ /home/httpd/other/81_info/errors/ ErrorDocument 404 /index.php ErrorLog /home/httpd/other/81_info/log/error.log CustomLog /home/httpd/other/81_info/log/access.log common Options ExecCGI </VirtualHost> listen 82 <VirtualHost 192.168.3.1:82> DocumentRoot /home/httpd/other/82_blok/ ScriptAlias /cgi-bin/ /home/httpd/other/82_blok/cgi-bin/ Alias /error/ /home/httpd/other/82_blok/errors/ ErrorDocument 404 /index.php ErrorLog /home/httpd/other/82_blok/error.log CustomLog /home/httpd/other/82_blok/access.log common Options ExecCGI </VirtualHost> listen 83 <VirtualHost 192.168.3.1:83> DocumentRoot /home/httpd/other/83_hotspot/ ScriptAlias /cgi-bin/ /home/httpd/other/83_hotspot/cgi-bin/ Alias /error/ /home/httpd/other/83_hotspot/errors/ ErrorDocument 404 /index.php ErrorLog /home/httpd/other/83_hotspot/error.log CustomLog /home/httpd/other/83_hotspot/access.log common Options ExecCGI </VirtualHost> listen 84 <VirtualHost 192.168.3.1:84> DocumentRoot /home/httpd/other/84_int/ ScriptAlias /cgi-bin/ /home/httpd/other/84_int/cgi-bin/ Alias /error/ /home/httpd/other/84_int/errors/ ErrorDocument 404 /error/err404.html ErrorLog /home/httpd/other/84_int/log/error.log CustomLog /home/httpd/other/84_int/log/access.log common Options ExecCGI </VirtualHost> include /etc/httpd/conf/httpd.conf tak to wyglada u mnie w vhosts.conf dobra dopisalem do httpd.conf te lsiten 81 82 83... ale teraz co z tym wyzej czy to jest dobrze? czy mam dopisac tez w httpd.conf |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |