By afakalgerie
we are using wordpress one-click install ubuntu 14.04 x64 droplet… we couldn’t restart apache2 after installing Curl we read a solution about reinstalling apache but the result is really bad… wordpress doesn’t work and all php scripts in var/www/html doesn’t work, adding these lines to .htaccess doesn’t work too
AddHandler x-mapp-php5 .php```
can anyone please help us to fix this issue, thank you in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
My guess would be that by un-installing the apache2 package on your droplet you also removed the php5 module. I would suggest you try the following:
apt-get update;
apt-get install php5 php5-mysql libapache2-mod-php5
The WordPress one-click provides a pretty standard set up packages. Apart from WordPress itself they are all installed via apt.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.