Hello Hanzerik,
I applied the settings as you wrote in your previous post.I am providing you the output of "ls /etc/apache2/mods-enabled"
Output:
______________________________________________________________
Code:
iit@iit-desktop:~$ openbabel
openbabel: command not found
iit@iit-desktop:~$ ls /etc/apache2/mods-enabled
actions.conf authz_user.load mime.conf rewrite.load
actions.load autoindex.conf mime.load scgi.load
alias.conf autoindex.load negotiation.conf setenvif.conf
alias.load cgi.load negotiation.load setenvif.load
auth_basic.load deflate.conf php4.conf ssl.conf
auth_kerb.load deflate.load php4.load ssl.load
authn_file.load dir.conf php5.conf status.conf
authz_default.load dir.load php5.load status.load
authz_groupfile.load env.load reqtimeout.conf suphp.conf
authz_host.load jk.load reqtimeout.load suphp.load
___________________________________________________________________
In my view,In above output things in bold are conflicting each other and hence apache is not able to start/run as it is not able to decide which PHP version it should run.
output of "ls /etc/apache2/mods-available"
output:
_____________________________________________________________________
Code:
-desktop:~$ apache2
apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/php4.load: No such file or directory
iit@iit-desktop:~$ ls /etc/apache2/mods-available
000_auth_pgsql.load axis2c.conf headers.load proxy_ftp.load
actions.conf axis2c.load ident.load proxy_http.load
actions.load cache.load imagemap.load proxy.load
alias.conf cern_meta.load include.load proxy_scgi.load
alias.load cgid.conf info.conf reqtimeout.conf
asis.load cgid.load info.load reqtimeout.load
auth_basic.load cgi.load jk.load rewrite.load
auth_digest.load charset_lite.load ldap.load scgi.load
auth_kerb.load dav_fs.conf log_forensic.load setenvif.conf
auth_mysql.load dav_fs.load macro.load setenvif.load
authn_alias.load dav.load mem_cache.conf speling.load
authn_anon.load dav_lock.load mem_cache.load ssl.conf
authn_dbd.load dbd.load mime.conf ssl.load
authn_dbm.load deflate.conf mime.load status.conf
authn_default.load deflate.load mime_magic.conf status.load
authn_file.load dir.conf mime_magic.load substitute.load
authnz_ldap.load dir.load modxslt.load suexec.load
authz_dbm.load disk_cache.conf negotiation.conf suphp.conf
authz_default.load disk_cache.load negotiation.load suphp.load
authz_groupfile.load dump_io.load php5.conf unique_id.load
authz_host.load env.load php5.load userdir.conf
authz_owner.load expires.load proxy_ajp.load userdir.load
authz_user.load ext_filter.load proxy_balancer.load usertrack.load
autoindex.conf file_cache.load proxy.conf version.load
autoindex.load filter.load proxy_connect.load vhost_alias.load
________________________________________________________
-------------------------------------------------------
Code:
iit@iit-desktop:~$sudo a2enmod php5
iit@iit-desktop:~$sudo /etc/init.d/apache2 reload
This will enable the php5 module and restart the Apache2 server. But it looks like something is looking for the php4 module, did you edit any files by hand to look for php4?
--------------------------------------------------------
No I did not edit ANY files by hand in any directory, neither for php4 or php5.
===============================================================
Just to add for your Information,as u suggested I removed "phppgadmin"{sudo apt-get remove phppgadmin}
----------------------------------------------------------------
sudo a2dismod php4-pgsql
[sudo] password for iit:
ERROR: Module php4-pgsql does not exist!
================================================================
apache2 still not starting

,it says:
Code:
iit@iit-desktop:~$ sudo /etc/init.d/apache2 reload
apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/php4.load: No such file or directory
...fail!
I am still fighting this situation & have no idea why It has been not solved yet. Very thankful to you for your kind help.
looking forward for your reply.
--
Regards
Arun