Error when trying to use PhpMyAdmin

jim.thornton

Verified User
Joined
Jan 1, 2008
Messages
334
I have just gotten everything on my VPS setup. Zend Optimizer is installed, XCache too.

I'm trying to migrate my site to my new VPS and I created a mysql database in DA. Then I clicked on phpMyAdmin to try and upload a backup that I have but I got an 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.

How can I fix this?
 
What does it say in your apache error log?

/var/log/http/error_log
/var/log/http/domains/yourdomain.com.error.log
 
What does it say in your apache error log?

/var/log/http/error_log
/var/log/http/domains/yourdomain.com.error.log

/var/log/httpd/domains/mydomain.com.error.log is empty.

/var/log/httpd/domains/error_log:

Code:
[Sat Jan 19 00:10:02 2008] [notice] SIGHUP received.  Attempting to restart
[Sat Jan 19 00:10:03 2008] [warn] RSA server certificate CommonName (CN) `local$
[Sat Jan 19 00:10:04 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0$
[Sat Jan 19 00:11:01 2008] [notice] caught SIGTERM, shutting down
[Sat Jan 19 00:11:03 2008] [warn] RSA server certificate CommonName (CN) `local$
[Sat Jan 19 00:11:03 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbi$
[Sat Jan 19 00:11:03 2008] [notice] ModSecurity for Apache 2.1.4 configured - A$
[Sat Jan 19 00:11:04 2008] [warn] RSA server certificate CommonName (CN) `local$
[Sat Jan 19 00:11:04 2008] [notice] Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0$
 
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Run this command to make sure that Php works:
php -v

and this command to see a list of compiled modules:
php -m

If these are good and error(s) free, re-install PhpMyAdmin. If none of this worked, re-compile Php and make sure you do not get errors throughout the process.
 
Run this command to make sure that Php works:
php -v

and this command to see a list of compiled modules:
php -m

If these are good and error(s) free, re-install PhpMyAdmin. If none of this worked, re-compile Php and make sure you do not get errors throughout the process.

I know that PHP is working because I can display PHP files on my accounts via http. That being said, I ran the commands you said and they worked fine. PHP is compiled with mysql support.

I didn't install phpmyadmin in the first place, I assumed it was done by DA. So, how do I re-install it?
 
Thanks for the help. I just ran /usr/local/directadmin/custombuild/build phpmyadmin

Everything works fine now!
 
Back
Top