note 114070 added to install.windows.building
| From: | mail at tonywilk dot co dot uk | Date: | Wed, 08 Jan 2014 18:03:19 +0000 |
| Subject: | note 114070 added to install.windows.building | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198159@lists.php.net to get a copy of this message | ||
Building PHP on Windows 7 with Visual Studio 2010 installed...
- this differs slightly from the stepbystepbuild info and it worked for me :)
0. make a directory and unpack both of these into it:
php-5.4.23-src.zip (should have a win32 directory in it)
php-sdk-binary-tools-20110915
1. Run Visual Studio 2010 command prompt
2. CD to your php source root directory
3. set mc="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\mc" - or wherever it
is on your machine
4. vcvars32
5. set path=your_php_source_directory\bin;%PATH%
6. buildconf
7. configure --help
this gets you a list of all the options, then... (e.g.)
8. configure --disable-all --enable-cgi --with-sqlite3
9. nmake
10. results should be in Release_TS
in this example, all we need is php-cgi.exe and php5ts.dll
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/install.windows.building.php
Edit -- https://master.php.net/note/edit/114070
Del: integrated -- https://master.php.net/note/delete/114070/integrated
Del: useless -- https://master.php.net/note/delete/114070/useless
Del: bad code -- https://master.php.net/note/delete/114070/bad+code
Del: spam -- https://master.php.net/note/delete/114070/spam
Del: non-english -- https://master.php.net/note/delete/114070/non-english
Del: in docs -- https://master.php.net/note/delete/114070/in+docs
Del: other reasons-- https://master.php.net/note/delete/114070
Reject -- https://master.php.net/note/reject/114070
Search -- https://master.php.net/manage/user-notes.php