Friday 2 December 2011

Phpmyadmin error

Phpmyadmin error

Code:

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
I have extracted php tar.gz to

/var/www/html/phpmyadmin

and added the following in httpd.conf
I have enabled suphp.

Alias /phpmyadmin "/var/www/html/phpmyadmin/"

Code:

<Directory /var/www/html/phpmyadmin>
Options FollowSymLinks
DirectoryIndex index.php

<IfModule mod_php5.c>
AddType application/x-httpd-php .php

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
</IfModule>

</Directory>

In error log, I found this

Code:

SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
suEXEC is also enabled.

No comments:

Post a Comment