I just upgraded my PHP version from 5.3 to 5.5.8
When i was trying to connect back to phpMyAdmin i got the message:
Not Found
The requested URL /phpmyadmin/ was not found on this server.
Apache/2.4.6 (Ubuntu) Server at 192.168.168.59 Port 80
What can be the problem?
I restarted to apache2 server and updated all the apps with sudo apt-get update
Try reinstall phpmyadmin and it was the simple way to do so.
Because, it maybe PHP5.5.X removed PHP/APACHE virtual host. If you know how to put it back the virtual host, you may try it. else try reinstall it
Related
I'm stuck in a problem with an update
I recently installed the xampp again and renamed the previous xampp folder to xampp_old for the installation of PHP 8
I started apache and mysql server, the are running.
the main localhost url http://localhost is opening and my websites are also opening with localhost.
but when I try to access phpmyadmin with url,I got this error:
Is this due to reinstallation of xampp?
What should I do to fix this issue? Please help me with this.
I'm having some difficulty setting up Nginx with PHP and MYSQL on mac, where I cannot make any connection to the database. If I spawn a server using php -S, I can connect without problem. However Nginx running on port 8080 is unable to connect at all.
I've installed (and now uninstalled) php with brew, which might be an issue because it looks like PHP comes installed on mac. Running php -v shows me running on 7.1.16, but the brew installed version was 7.2+. I have PHP-FPM running on localhost:9000.
I've checked my php.ini files, but I only see extensions for mysqli and pdo_mysql, which I've tried to enable but still no luck.
Thanks for any help.
I'm facing an issue where I can't restart the apache server or starting it. The error says "There was an error while performing the operation". I don't know what causing this problem.
Maybe someone can help me to solve this problem ?
Thank you.
EDIT::
OS Distro: CentOS 6 64bit
Apache Version: Apache/2.2.31 (Unix) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.1u mod_wsgi/4.4.22 Python/2.7.11
I just reboot my vps and then normally work again.
So maybe it because there is some config is not correct.
First, check the is there any service running on port 80 by executing the following command
lsof -i:80
if you found anything just kill it by
kill -9(processid)
Now run the following command to restart the apache:
service httpd restart
This command will work for both Centos as well as ubuntu.
if still not starting the apache then you can check the apache log located at
/var/log/apache/
I tried to run a Netbeans PHP project as a local website (running on local server), however, when I run it, there is a 404 not found error. The error message is:
Not Found
The requested URL /index.php was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
And when I tried to visit localhost/test.php, the same error appears. I have turned on Apache and MySQL by using /etc/init.d/apache2 start and sudo /etc/init.d/mysql start commands. And this is the PHP setting in my Netbeans. Do I need to connect the project to the server or do some other configuration?
I'm getting below error when I type in localhost/phpMyAdmin after starting apache and mysql server in Xampp in Windows 10.
Is there a way I can fix this issue?
MySQL said: Documentation
#2002 - No connection could be made because the target machine actively refused it.
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
If you are using the Bitnami version of Xampp you will have issues with Windows 10. Download and install an older version from sourceforge.net and it should work. I used version 1.7.3 and so far so good.
http://sourceforge.net/projects/xampp/files/XAMPP%20Windows/
I had the same problem but fixed it by replacing localhost with 127.0.0.1 in the config.inc.php file.
My problem was probably because i had installed bitnami and then later installed xampp. I deleted bitnami, xampp and my temp folder C:\Users\Default\AppData\Local\Temp. It worked fine after reinstalation. thats the only way it worked for me