• Resolved Denisander Vivan

    (@denisvivan)


    I’m trying to installing WordPress and Woocommerce in my computer for college purposes.
    After WordPress installed, I tried to install Woocommerce, but the WordPress asked for FTP user and password.
    I asked to the ChatGPT for the solution, it tell me to use these commands below in the shell:

    sudo chown -R www-data:www-data /opt/lampp/htdocs/wordpress

    sudo chmod -R 755 /opt/lampp/htdocs/wordpress

    nano /opt/lampp/htdocs/wordpress/wp-config.php

    /* That’s all, stop editing! */

    define(‘FS_METHOD’, ‘direct’);

    After all, the admin page localhost/wordpress only showed the last two commands.
    I tried to fix this using the third command and deleting the last two commands.
    Now, the localhost/wordpress is not working.

    Someone can please help me?
    What can i do in this case?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.