Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello DO community,
I’ve come across a strange situation for installing a WordPress on a droplet having LAMP stack. I looked around on the Q/As around but no proper relevant ones, as well as the ones which were relevant didn’t work. I’ll try to be as precise as possible below
Situation: The Droplet is on Ubuntu 18.04, with LAMP stack installed. Due to some reasons, It is running php 7.1 from the external library. Lets assume the website is xyz.com. The website is dynamic (non-WordPress) and already utilizes a particular MySQL database.
Aim: To have a blog section on it, with WordPress installed in it, in a subdirectory called blog. Therefore its URL will be xyz.com/blog
Steps Taken: Facing the same problem, tried it twice using two ways,
first - uploading the WordPress files via FTP to the required directory and making the databases via adminer (alternative to phpmyadmin)
Second - Following the steps provided in This Tutorial
In both the above cases, I have named my database for wordpress ‘blog’ and for the second procedure, I have replaced the path to /var/www/xyz.com/html/blog (I am using virtual host for root site)
Problem Being Faced: After all of this, when I run xyz.com/blog , the install script begins, prompts to select language. On the next screen (step-2), prompts to take username, password, blog name, etc. once I fill all the details and hit submit, it returns to the same screen (step-2 itself) prompting: Please provide a valid username.
Upon cross checking the database till this step, there’s no table created. Upon checking the error log at /var/log/apache2 it shows the following error
WordPress database error Table 'blog.wp_options' doesn't exist for query INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('nonce_salt', 'dfgdfgdfdfg1f}mH#cdfgfdgdfgdfgdfgdfgddfgdfgwpxS(EYk3A(6cup*P7jy', 'no') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`) made by wp_can_install_language_pack, WP_Upgrader->fs_connect, Automatic_Upgrader_Skin->request_filesystem_credentials, WP_Upgrader_Skin->request_filesystem_credentials, request_filesystem_credentials, wp_nonce_field, wp_create_nonce, wp_hash, wp_salt, update_site_option, update_network_option, add_network_option, add_option
This entire situation is strange and new to me. Kindly help to tackle the problem ASAP, as I’m really struck in the situation.
Thanks in advance
WildcatMedia
jeffs
0621335d663b4b699a60eb27e28153
accesstrax
Dwight Trumbower
admin
yimprogramming
samunyi90
1d6ce141ab5444dfb1ea2dd29cf4b1
Matt Fricker
joel9b158e40551b15093f213f