I have a php project in var/www/html
. It runs when I start apache2
service is started. But I cannot access phpmyadmin where I have a database that is being used in my php project. (I had to stop lampp for starting apache2 service.) I get this error while accessing phpmyadmin when apache2 service is on. (Php project runs fine without any error.)
On the other hand, when I need to edit something in database, I use phpmyadmin for which I start lampp(sudo /opt/lampp/lampp start
). For doing this I need to stop apache2
service. And during this time, I cannot run php project. It gives this error.
Can I do something like letting them work parallel? Or is there any other way?