Windows 2012 - PHP Installation on IIS ( 8.5 )

Windows 2012 - PHP Installation on IIS ( 8.5 )

FKIT

8 лет назад

48,603 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@xtrasafeful
@xtrasafeful - 04.06.2022 11:27

Still works in WS19

Ответить
@LNasterio
@LNasterio - 25.05.2021 06:35

how do you get php manager?

Ответить
@user-rr2ek7vw3y
@user-rr2ek7vw3y - 08.05.2020 16:16

Big thanks!

Ответить
@JoarGuttormsen
@JoarGuttormsen - 03.03.2020 16:59

Amazing guide! Thank you so much!

Ответить
@sameenkhan9209
@sameenkhan9209 - 30.01.2019 03:42

how can i Access IIS website over internet (ihave 2 routers.1 Modem (no access) (2.wifi router on which my IIS server is on)?

Ответить
@barbarairena6714
@barbarairena6714 - 01.10.2018 17:45

thanx man!!!!!!!

Ответить
@aslanaslan1455
@aslanaslan1455 - 17.09.2018 17:15

thaaaaaaaaaaaaaaaaaaaaaaaaanks

Ответить
@naturaleffect42
@naturaleffect42 - 11.07.2018 20:43

Is there an updated version for php 7? In the new php version there is no mysql.ddl anymore. And the extensions are without the .dll path.

Ответить
@p-alphakalonline4754
@p-alphakalonline4754 - 23.06.2018 18:54

can't execute php on cmd administrator !

Ответить
@informaticapinheirodarce6137
@informaticapinheirodarce6137 - 19.06.2018 17:36

Hi, how can I use sql server 2012 with PHP on IIS 8?
I installed the drivers downloaded from MS Driver 5.2 and set in php.ini
....
;extension=pdo_pgsql
;extension=pdo_sqlite
;extension=pgsql
;extension=shmop

;-Extensions for SQL SERVER 5.2 with PHP 7.2.x-------------------------------
extension=sqlsrv_72_nts
extension=pdo_sqlsrv_72_nts
;----------------------------------------------------------------------------
...
But in my php -m not show this extensions.

Could you help me, please?

Ответить
@JordiGoyanesGranados
@JordiGoyanesGranados - 11.05.2018 03:16

good job, ty

Ответить
@franciscoxpaez
@franciscoxpaez - 16.11.2017 17:16

Excellent!!!! so far the only one guide on how to really install PHP. So much appreciated. Thank you

Ответить
@patrolman53
@patrolman53 - 12.04.2017 02:22

Thanks so much! Worked great for me.

Ответить
@MrFlymonkeyhall
@MrFlymonkeyhall - 02.02.2017 18:25

Really fucking thanks, guys!

Ответить
@mr.anderson8987
@mr.anderson8987 - 07.01.2017 04:33

Thank you very much for your excellent instructions. This really helped me a lot!

Ответить
@conner_wood
@conner_wood - 01.12.2016 05:07

To fix the "Error: Connection to Database Failed" it appears I had to install "mssql_odb_11_x64" as it is required for SQLSRV32 dlls, I then stopped and started the whole IIS service and it appears to be working now.... what a nightmare!

Ответить
@conner_wood
@conner_wood - 01.12.2016 03:25

I see it recommends me to use not thread safe version with IIS.... well, guess I'm refollowing this whole tutorial....

Ответить
@conner_wood
@conner_wood - 01.12.2016 03:14

Ah, I had to download "Microsoft Drivers for PHP for SQL Server" I chose SQLSRV32.EXE and extracted the files, then in the readme it said it supported PHP Version 5.6. Then in the table since I use thread safe it showed I needed both "php_sqlsrv_56_ts.dll" and "php_pdo_sqlsrv_56_ts.dll". I also already had higher version of "Microsoft SQL Server 2012 Native Client" so that's good....

So I added those dlls to my C:\php\ext folder and then added them as extensions in the php.ini ....

But now it says "Error: Connection to Database Failed"

Ответить
@conner_wood
@conner_wood - 01.12.2016 01:25

In php.ini I set "display_errors = On" and "log_errors = Off" and it tells me "Fatal error: Call to undefined function sqlsrv_connect()" .... So what extension do I need to enable then, I already uncommented "extension=php_mysql.dll"

Ответить
@conner_wood
@conner_wood - 01.12.2016 01:21

Everything appears working, however my php file that I browse to on my custom website says it cannot be displayed. I want to note that every step of your tutorial worked including index.php at the end. My php only uses the Microsoft SQL like the function "sqlsrv_connect"... on my test environment when I installed via the Microsoft Web Platform Installer I got the php manager which didn't work but the website does work on test but not through your method.... help?

Ответить
@conner_wood
@conner_wood - 30.11.2016 18:48

I just want to thank you so much for this tutorial, although when I got to testing the command: php -info
I got an error and had to install the same x86 version of VS C++ 2012 Version 4. Once I got c++ part installed, I could continue this tutorial!

Ответить
@ZatrzymujeczasPl
@ZatrzymujeczasPl - 24.10.2016 15:03

Very good tutorial, thank you so much. :)

Ответить
@akloose5385
@akloose5385 - 05.08.2016 22:13

Great video.
If I see IIS is running by going to 127.0.0.1 in browser, but when I add the /test.php, I get a blank webpage, what did I miss? I am running server 2008.

Ответить
@gerardovela1436
@gerardovela1436 - 27.07.2016 10:07

thanks a lot!!

Ответить
@looh
@looh - 15.06.2016 23:12

Thanks for this amazing guide. I was literally burned out searching for a way to get it to work.
Everything is working now.

Ответить
@denny8548
@denny8548 - 16.05.2016 17:40

Best Fucking PHP installation on IIS hand down. Thanks!

Ответить
@rofleboon
@rofleboon - 13.04.2016 19:13

Very nice video it helped me out a lot!

Ответить
@prodanmn
@prodanmn - 30.03.2016 23:13

thx, good work

Ответить
@embelkiller
@embelkiller - 06.11.2015 08:36

Hi, My appears to me that the page is not found.

Ответить