DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
11 Monitoring and Observability Tools for 2023
Learn more
  1. DZone
  2. Coding
  3. Languages
  4. How to Build PHP 5.4 Applications with Visual Studio

How to Build PHP 5.4 Applications with Visual Studio

Ayobami Adewole user avatar by
Ayobami Adewole
·
Jun. 29, 12 · Interview
Like (0)
Save
Tweet
Share
33.70K Views

Join the DZone community and get the full member experience.

Join For Free
developing web applications with php is cool, especially when you have the right development tools and even with more features added in php 5.4. but each time i left the comfort of intellisense in visual studio to develop php applications using zend or netbeans for php, i was not always satisfied with those ides' code complete features. thus, i decided to search for any available plugin that will provide this feature in visual studio.

the result of my search is the php ide plugin for visual studio by jcx.software corp. the plugin installer after installtation automatically adds php code completes feature into visual studio and some php project templates. the installer can be downloaded from http://www.jcxsoftware.com/ it comes with a paid license, but you can download the software and try it for 30 days.

after a successful installation, if you try to create a new project in visual studio, you will notice that php project templates have been added to visual studio project templates dialog.

php project templates

thus, you can write your php codes from visual studio with full intellisense support.

php intellisense support

though the plugin from jcx.software comes with a web server that you can use to debug your php applications, i wanted to use xampp server or iis. but on installing xampp server it kept competing with iis on port 80, each time i developed a php application, i had to stop iis for xampp to work. so, i decided to disable xampp and configure the iis to serve php pages through cgi.

configuring iis to serve php pages could be achieved by first downloading the php 5.4 non thread safe zip file from http://windows.php.net/download and then extract the content to a folder on your computer, then a handler mapping need to be added to iis. to do this, open the iis manager by clicking the windows start menu button, then select run and type " inetmgr " and click ok.

windows run dialog box

this will open the iis manager interface. in the connections pane, at the top left side, select your server node and double click handler mapping . in the action pane, at the top right side click " add module mapping... "

php intellisense support

this will bring a dialog box, in the request path textbox type *.php , the, then select the module dropdown box and select fastcgimodule , in the executable section, click the button to browse to the folder that contains the extracted files of the php 5.4 that you downloaded to select php-cgi.exe . . in the name textbox, you can type in any name of your choice, then click the " request restrictions " button to configure the mapping to invoke handler only if request is mapped to a file or a folder and then click ok to create the handler mapping.

php intellisense support

thus, you can build php applications from visual studio with iis as the web server.
happy phping!!!
application PHP Build (game engine)

Published at DZone with permission of Ayobami Adewole, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Custom Validators in Quarkus
  • Readability in the Test: Exploring the JUnitParams
  • What’s New in Flutter 3.7?
  • 5 Steps for Getting Started in Deep Learning

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: