Download presentation
Presentation is loading. Please wait.
Published byWilfred Hopkins Modified over 8 years ago
1
PHP on Windows server
2
About PHP history, usage
3
[ 3 ] Basics about PHP Open, free, object oriented (recently added namespaces), procedural, type free server side scripting programming language Part of C-family syntax Beginning in 1994 – PHP 1.0 (1995), PHP 2.0 (1997), PHP 3.0 (1998), PHP 4.0 (2000), PHP 5.0 (2004), PHP 5.3 (2009), PHP 6.0 (?)
4
[ 4 ] PHP in Windows Environment Easy installation URL Mod rewrite PHP Codeplex support Extensibility: –Cache extensions –Azure SDK
5
[ 5 ] (Quick & Dirty) || Complex Framework Should we use our own solutions or given ones? Fast installation from Microsoft gallery: –Wordpress, Drupal, Moodle, SugarCRM... Usage of MVC Frameworks: –Symfony, Zend Framework, CakePHP
6
[ 6 ] PHP on IIS CGI upgrade allows reusability of processes. Prednosti Easier configuration Faster than CGI More stable than PHP with ISAPI Can run non-thread-safe PHP editions One process per request. Advantages Easy configuration Stable execution Disadvantages Slow because of I/O ‘Overhead’ by process starting Loaded as an ‘extension’ in the process. Advantage Increased performance Disadvantage Application is not ‘Thread-Safe’
7
[ 7 ] FastCGI & IIS6FastCGI & IIS7 Available at Download Center Available on Windows 7, Server 2008 (R2), Vista SP1 Special download for Windows Server 2003 Integrated part of IIS7 Just switch CGI functionality on in IIS ISAPI extension Native IIS7 module Sources, forums and documentation are available on IIS.NET Configured in fcgiext.ini Configured in new XML based sysem for IIS7 configuration Supported by Microsoft Supports PHP and other FastCGI frameworks
8
[ 8 ] New Modulare Architecture (integrated pipeline) Managed Native Managed
9
PHP Installation Internet Information Services 7 Web Platform Installer
10
[ 10 ] php.iis.net
11
[ 11 ] Web Platform -> Framework and Runtimes
12
[ 12 ] Installation of newest PHP version
13
SQL Server Driver Installation and driver usage http://www.codeplex.com/SQLSRVPHP http://www.codeplex.com/SQLSRVPHP
14
[ 14 ] SQL Server Driver for PHP Goal: Ensure robustness, scalability and reliablity of SQL Server for PHP developers on Windows platform Built PHP API & not Microsoft API for PHP –Easy queries require very little code –One approach for solving the same problem –Existing data design patterns are used
15
MSSQL Demo
16
Wordpress Installation Web Platform Installer
17
[ 17 ] Intalling Wordpress...
18
[ 18 ] Required packages
19
[ 19 ] Setting MySQL root password
20
[ 20 ] Packet transfer
21
[ 21 ] IIS7 Settings
22
[ 22 ] IIS7 Settings
23
[ 23 ] Completing Installation...
24
Conclusion IDEs, resources
25
[ 25 ] Development Environments Zend Studio Visual Studio –Commercial addon VS.PHP Netbeans (6.7+) Eclipse –Free addon PDT –Aptana (JavaScript, PHP)
26
[ 26 ] Websitespark Microsoft offer for web development companies with up to 10 employees: –Visual Studio Professional (3 licences), Expression Studio 3 (1 license), Expression Web (2 licences), Windows Web Server 2008 R2 (4 processor licences), SQL Server Web Edition (4 processor licences) When canceled or after 3 years - 100$
27
[ 27 ] Websitespark Resources & MSTech http://www.microsoft.com/web/websitespark http://weblogs.asp.net/scottgu/archive/2009 /09/24/announcing-the-websitespark- program.aspxhttp://weblogs.asp.net/scottgu/archive/2009 /09/24/announcing-the-websitespark- program.aspx http://www.mstech.si
28
[ 28 ] PHP Resources http://www.php.net http://php.iis.net http://www.microsoft.com/php http://blogs.msdn.com/sqlphp http://www.eclipse.org/pdt - PHP development toolshttp://www.eclipse.org/pdt http://en.wikipedia.org/wiki/PHP http://www.codeplex.com
29
Q & A PHP on IIS7
30
Thank you! Gaj Tanko, MSP W: www.tanko.siwww.tanko.si E: ***@aperion.org***@aperion.org M: +386 31 893786
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.