New LAMP install and localhost shows Index Of /wordpress
Hello all. I am trying to get into the Wordpress Configuration website for the first time. I have configured Apache2, MariaDB(mysql), and have php installed. Apache2 and MySQL show started and enabled and have been configured. When I go to http://localhost I get this page:
file:///home/thomas/Pictures/Screenshot%20from%202023-04-17%2017-53-52.png x-special/nautilus-clipboard copy file:///home/thomas/Pictures/Screenshot%20from%202023-04-17%2017-53-52.png I have been following the guide from this link: https://linuxhint.com/wordpress_dev_debian_10. When I go to the http://localhost page I am expecting to bring up the wordpress configuration page. Thank you in advance for any help |
I'm guessing you have Apache's docroot pointing in the wrong place? Check Apache's config files. Also, make sure php itself is working before you try running something with it. It's a good idea to make a small test script (maybe calling phpinfo() ) to see that it is working properly. Delete it once you are sure it's working correctly.
|
sissipher1,
This LAMP/Wordpress tutorial is more up to date: https://linuxhint.com/install-wordpress-ubuntu-server/ Install PHP with the following commands: Code:
sudo apt update |
Quote:
Will that work in Debian 11 as that is what I'm using? If I need to redo it, I will follow your guide but I want to see if I can fix the issue first. Thank you! |
Quote:
In /etc/apache2/sites-enabled has the 000-default.conf file pointed to /var/www/html and inside their I have the wordpress folder. I tried to add /var/www/html/wordpress and it did not work, it was a blank page. When I leave it as /var/www/html the index of page shows with the wordpress directory folder listed on the webpage. Any ideas? Thank your for your help on this. I know it's a configuration issue I just don't know where exactly. |
sissipher1,
It should work with Debian 11, but I would use Ubuntu 22.04 and follow those instructions I linked previously. Ubuntu has a more recent kernel, if that is relevant. In any event you appear to have imagick and intl (plus others?) missing from your PHP installation instructions. I would ignore this optional part: Quote:
|
sissipher1,
You have probably solved your problem by now. Just in case you are still having trouble, please have a look at my updated blog post about installing WordPress on a LAMP server: https://www.linuxquestions.org/quest...ed-2023-38976/ |
All times are GMT -5. The time now is 12:23 AM. |