How to Run WordPress in visual studio via PHP Tools?
5 posts
• Page 1 of 1
How to Run WordPress in visual studio via PHP Tools?
I run wampserver and set Listen 0.0.0.0:81 Listen [::0]:81 into httpd.conf file for run wordpress currently via wampserver.Now word press raned in wampserver in http://localhost:81/wordpress/ address. I need to run wordpress via visual studio. I install php tools and create new php project by vs and then copy all files and folders that exist into wordpress folder F:\wamp\www\wordpress into my php project . Now when run project open browser and go to http://localhost:81/?XDEBUG_SESSION_START=87B9D26B url.
wp-config.php :
How can i run wordpress via php tools in visual studio?
http://stackoverflow.com/questions/43921699/how-to-run-wordpress-in-visual-studio-via-php-tools
wp-config.php :
- Code: Select all
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', '');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8mb4');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
How can i run wordpress via php tools in visual studio?
http://stackoverflow.com/questions/43921699/how-to-run-wordpress-in-visual-studio-via-php-tools
- hmahdavi921
- Posts: 1
- Joined: May 11th, 2017, 6:35 pm
Re: How to Run WordPress in visual studio via PHP Tools?
Hello,
Thanks for the post!
There is another thread discussing some issues with Wordpress which might help http://support.devsense.com/viewtopic.php?f=21&t=1860&p=8330&hilit=wordpress+custom+server#p8330
Anyway if you are using wampserver, just make sure you have Custom server settings in the project properties with the correct virtual address.
I've also noticed on screen which you've posted on stackoverflow which seems to indicate that you just get the response from the wamp server, not the actual page. You will need to setup the wampserver first to handle your virtual directory http://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-on-your-windows-computer-using-wamp/
Please let me know if any of that helped.
Thanks!
Thanks for the post!
There is another thread discussing some issues with Wordpress which might help http://support.devsense.com/viewtopic.php?f=21&t=1860&p=8330&hilit=wordpress+custom+server#p8330
Anyway if you are using wampserver, just make sure you have Custom server settings in the project properties with the correct virtual address.
I've also noticed on screen which you've posted on stackoverflow which seems to indicate that you just get the response from the wamp server, not the actual page. You will need to setup the wampserver first to handle your virtual directory http://www.wpbeginner.com/wp-tutorials/how-to-install-wordpress-on-your-windows-computer-using-wamp/
Please let me know if any of that helped.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: How to Run WordPress in visual studio via PHP Tools?
This is very nice tutorial about how to install wordpress locally, I also written article <a href="http://technobuckets.com/2018/01/how-to-install-wordpress-on-xampp-localhost/">How to install wordpress on XAMPP locally</a>, I wrote this article with complete screenshot reference. You can refer this for more in detail installation of Wordpress on localhost.
- Akash
- Posts: 1
- Joined: January 14th, 2018, 9:02 am
Re: How to Run WordPress in visual studio via PHP Tools?
Hi Akash,
Wow, tutorial with screenshots would be great! Could you please check the link, it seems the page is no there.
Thank you so much for this!
Wow, tutorial with screenshots would be great! Could you please check the link, it seems the page is no there.
Thank you so much for this!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: How to Run WordPress in visual studio via PHP Tools?
I've found the link http://technobuckets.com/how-to-install-wordpress-on-xampp-localhost/
Very helpful, thank you so much!
Very helpful, thank you so much!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 12 guests