I already did that. 2 times I totally deleted and installed all apache2, php5 and mysql packages.
After installing apache2, it contained empty http.d file. I overwrote httpd.conf from
/usr/local/apache2/conf/original/httpd.conf.
which caused next error:
[Wed May 16 09:33:31 2007] [warn] module php5_module is already loaded, skipping
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
fixed with this link:
http://www.linuxquestions.org/questi...d.php?t=405377
After all that, apache2 still not recognize php extension.
httpd.conf includes :
AddType application/x-httpd-php .php .php5
and my test.php file is located in /var/www, with permission 0755.
any suggestions?
In bash, testing my.php file with command
$ php my.php
(my.php just includes phpinfo() function)
all environment variables are written.
Problem narrows with Firefox using. Isn't it?