Thanks for the quick reply to my problem. I did what you said and I added
the lines below on apache.conf file
<Directory /var/www/emilda>
AddHandler cgi-script .cgi .pl
php_value include_path .:lib
AllowOverride All
Options ExecCGI FollowSymLinks
Order allow,deny
Allow from all
<Files "*.inc">
Order allow,deny
Deny from all
</Files>
</Directory>
However I got the following warnings. I now have the config file under
/var/www/emilda directory and have chmod 777 and chown www-data and root
How can I get rid of the warning below. I can't wait to login to emilda.
Warning: parse_ini_file(): Cannot open '/config' for reading in
/var/www/emilda/lib/db.inc on line 44
Warning: mysql_pconnect(): Access denied for user 'www-data'@'localhost' (using
password: NO) in /var/www/emilda/lib/db.inc on line 46
Couldn't connect to database server.
Regards,
Michael Lai
African theological college
|