I sorted out the problems and I am posting the solution to this forum.
Triggering the solution was:
Pick your item in chapters 10,11,12
WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
I copied Debian.cnf which was in /etc/mysql/ to /etc/mysql/my.cnf
/etc/init.d/mysql: line 123: /etc/mysql/debian-start: No such file or directory
I found _etc_mysql_debian-start in /usr/share/mysql-common/internal-use-only
and copied this file to:
After that MySQL ran without any problem. No error messages at start up of the server anymore.
I guess it is something for the package manager to work improve.
Trigering the solution to these problems was:
Please verify if the files /etc/apache2/mods-enabled/php5.conf and /etc/apache2/mods-enabled/php5.load exist. If they do not exists, you can enable the module using a2enmod command.
in the Ubuntu server guide.
I opened the terminal and did: a2enmode php5 and php5-mysql ( If I remember well)
After that I could read the php.info file. So PHP was activated.
The only thing that still gave problems was configuring the Virtual host(s) in apache. I did a workaround and changed the default in /sites-available file like this:
DirectoryIndex index.php index.html
Options Indexes FollowSymLinks MultiViews
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from all
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
Options Indexes MultiViews FollowSymLinks
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
I still do not feel comfortable with that, but at least it works.
Jos B. Rikhof
Originator of http://www.peru4u.com