Re: Debian php5 (Can't get download when doing apt-update)
On 8/6/2014 1:17 AM, Dom wrote:
> On 06/08/14 02:46, Jerry Stuckle wrote:
>>
>> If you see the code, then your Apache isn't set up properly to parse PHP
>> code. Installing libapache2-mod-php5 should fix that for you. You don't
>> need both libapache2-mod-php5 and php5-cgi; for now don't even fool with
>> php5-cgi. And php-auth-http is completely unrelated to your problem.
>>
>> Installing just libapcahce2-mod-php5 should set up the Apache
>> configuration for you. If after installing this, you get a 500 error,
>> you need to look at /var/lib/apache/error.log (or whatever your Apache
>> error log is called) to see what's happening.
>
> It should be /var/log/apache2/error.log
>
> As mentioned by someone else, it's possibly a permissions issue on the
> file (it needs Read permissions for the Apache User "www-data" at
> least), or something wrong in the code.
Sorry, you're correct - I shouldn't update when I'm tired! :)
Jerry
Reply to: