Ok.
You are loading the php file directly from the filesystem. You have to use a url.
Thats your issue.
It will never work like that you are not even loading apache let alone php. You are simply viewing the file in a browser.
nothing else is even getting close to that. I think it may be your virtual host solution but i have no idea what to enter, where to put it.
Its all local, never going live and tbh getting to be too much trouble. I might just use the stupidly restrictive online version and do a terrible job.
-
This reply was modified 8 years, 4 months ago by
wayneg03.
the more i read the more convinced i need to create the virtual host file.
Im guessing
Yes, you will need to setup the webserver to serve the files. No way around it.
Once you got that figured the rest really is easy.
My advice, read the howto again, read a couple more theres plenty out there.
Then start again and check as you go..
the guide i followed says nothing about virtual hosts and the others are mostly copy paste jobs.
There is almost NO real support anywhere which is frankly disgusting, not even any official stuff.
I am appaled that i can build a site with html and css in a few hours but i cant get a 5 minute install to work for days.
WP really need to look at streamlining this process.
WordPress cannot install and configure a webserver and php for you.
It just assumes you have already done that.
my wordpress is in /var/www/html, my ip is 192.168.1.234, tell me exactly what to type for url.
please.
Well either http://192.168.1.234 or http://localhost if you didnt add a virtual host those are the two most likely defaults.
As per step 6 https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04#step-6-complete-the-installation-through-the-web-interface
the urls take me to my apache page, dont even need http:// just the IP is enough.
Followed that to the letter and it does not work.
The author has missed out some configuration which is essential.
-
This reply was modified 8 years, 4 months ago by
wayneg03.
This is clearly a wordpress incompatibility issue based on the silence.
Opening install.php in a browser does not work.
why is this so complicated.
HELP.
Solved. It was a PHP issue. upgraded php to 7.2, then had to add
sudo apt-get install php-mysql
because there was a mysql extension issue.