Re: Re: php5 not running

2012-10-25 Thread abdelkader belahcene
Thanks for help

The link enabled to available exists,  The second  is required just for
user directory ( I have same problem even if I put the file in /var/www )
, any way the lines are commented.

I installed  phpmyadmin   it works fine,  so the php runs correctly,  so I
need probably to modify  somewhere a config file.

I suspect that something is new, because I used ( 2 or 3  of years ago)
it exactly in the same way.

thanks a lot


Re: php5 not running

2012-10-24 Thread Joe Pfeiffer
abdelkader belahcene  writes:

> hi,
> I just install php5  and the list of software apache2, mysql ( the LAMP). (
> last version on wheezy )
>
> apache2 run nice , same for mysql,  but wwhen I try  a simple file  
> containning
> for example phpinfo(),  it is not executed.
>
> the module php for apache is enabled. I tryed the files I ve done before but
> failed !!
>
> Is there a special  new config ?? for apache2 or for php ??

The two places I would look first are to make sure there are symbolic
links:

new-snowball:210$ ls -l /etc/apache2/mods-enabled/php5.*
lrwxrwxrwx 1 root root 27 Oct 19 16:25 /etc/apache2/mods-enabled/php5.conf -> 
../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 Oct 19 16:25 /etc/apache2/mods-enabled/php5.load -> 
../mods-available/php5.load

and (assuming the script you're trying to run is in a user directory)
that .../mods-available/php5.conf has been edited:

# Running PHP scripts in user directories is disabled by default
# 
# To re-enable PHP in user directories comment the following lines
# (from  to .) Do NOT set it to On as it
# prevents .htaccess files from disabling it.
#
#
#php_admin_value engine Off
#
#


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1ba9vb369i@new-snowball.wb.pfeifferfamily.net



php5 not running

2012-10-24 Thread abdelkader belahcene
hi,
I just install php5  and the list of software apache2, mysql ( the LAMP). (
last version on wheezy )

apache2 run nice , same for mysql,  but wwhen I try  a simple file
containning for example phpinfo(),  it is not executed.

the module php for apache is enabled. I tryed the files I ve done before
but failed !!

Is there a special  new config ?? for apache2 or for php ??

thanks for help
regards