Article View: pl.comp.lang.php
Article #230419Re: kod źródłowy zamiast wyniku .php
From: xantiros
Date: Thu, 15 May 2014 10:33
Date: Thu, 15 May 2014 10:33
27 lines
1833 bytes
1833 bytes
W dniu 2014-05-15 11:48, jivanmukta@poczta.onet.pl pisze: >> Na pewno masz włączoną obsługę PHP? > > Plik /etc/apache2/httpd.conf zawiera: > > AddHandler php5-script php > DirectoryIndex index.html index.php > AddType test/html php > > Katalog /etc/apache2/mods-enabled zawiera linki symboliczne: > > php5.conf > php5.load > rewrite.load > userdir.conf > userdir.load > > Katalog /home/user/public_html zawiera pliki phpinfo.php i test.html. > Czy coś jeszcze trzeba zrobić? > spróbuj z konsoli wbić w katalogu /home/user/public_html php phpinfo.php sprawdź co ci wypluje, sprawdź logi apacha czy nie pluje błędami jak wywołujesz localhost/~user/phpinfo.php
Technical Details
Message-ID:
<ll256l$khe$1@node1.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<d3b8f3bc-fda6-493e-853a-599b97ecfab4@googlegroups.com> <ll1u7l$de8$1@node1.news.atman.pl> <6a01a3bc-ebed-4310-9ed0-34367cbbf00d@googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: xantiros <_wytnij_to_xantiros@ymail.com> Newsgroups: pl.comp.lang.php Subject: Re: kod źródłowy zamiast wyniku .php Date: Thu, 15 May 2014 12:33:54 +0200 Organization: ATMAN - ATM S.A. Lines: 30 Message-ID: <ll256l$khe$1@node1.news.atman.pl> References: <d3b8f3bc-fda6-493e-853a-599b97ecfab4@googlegroups.com> <ll1u7l$de8$1@node1.news.atman.pl> <6a01a3bc-ebed-4310-9ed0-34367cbbf00d@googlegroups.com> NNTP-Posting-Host: 89-70-28-167.dynamic.chello.pl Mime-Version: 1.0 X-Trace: node1.news.atman.pl 1400150037 21038 89.70.28.167 (15 May 2014 10:33:57 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Thu, 15 May 2014 10:33:57 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <6a01a3bc-ebed-4310-9ed0-34367cbbf00d@googlegroups.com> X-Antivirus: avast! (VPS 140515-0, 2014-05-15), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit