Question

I'm having issues transfering a page over.

Posted December 27, 2019 470 views
PHP

I have a page where all my CSS elements and such work perfectly fine, I registered a new domain did the droplet thing and transfered everything over to the new domain via ftp, adjusted the .haccess or whatever and I can get index.php to show, but the css elements aren’t there. It’s all just plain text and I have no clue how to fix it.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi @Cain533,

Can you confirm you’ve installed PHP on your droplet? If you haven’t, I’ll recommend checking the article on how to install either LEMP or LAMP depending on your Web Service (Nginx/Apache). In the articles, there is a section about PHP installation -

Nginx with PHP -
https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-ubuntu-18-04

Apache with PHP -
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04

Regards,
KDSys

by Mark Drake
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This stack typically consists of the Linux operating system, the Apache web server, a MySQL database, and PHP, a dynamic content processor. This tutorial serves as a guide for installing these components on an Ubuntu 18.04 server.

I was still having issues, no clue what exactly was the source of it, but I rebuilt the entire droplet from scratch and it’s working now. @KDSys, Thank you for all your help on the matter! It was a lot of good information to know and I do believe I learned something from all of this. So again, thank you again for taking the time to help me.

  • Hi @Cain533,

    Glad to hear you managed to resolve the problem even though you rebuilt the droplet. Issues like those are bound to happen but it’s good for people to believe they can fix the problem.

    Regards,
    KDSys

Submit an Answer