Mi sa dat un site web PHP/MySQL pe care trebuie să-l găzduesc cu IIS 7.0 pe Windows Server 2008 pe 64 de biți.
Sunt un dezvoltator .NET/MSSQL și nu sunt familiarizat nici cu PHP, nici cu MySQL.
Kev wrote:
Have you taken a look at this…
Nu știu dacă o implementare a Win64 PHP este mai multă autoritate sau populară decât alta.
Voi încerca să urmeze pașii din Activați suportul FastCGI în IIS7.0 articol cu fișierul php-5.2.5-x64-2007-11-12.zip de la fusion-x lan .
Este "PHP Versiunea 5.2.5 (x64)", dar în conformitate cu php.net , ultima versiune este PHP 5.2.6. Bine.
Make sure "ISAPI Extensions" are installed in IIS (mine were).
Download and then unzip php-5.2.5-x64-2007-11-12.zip
Copy contents of folder php-5.2.5 (x64) into *C:\php*
Copy file C:\php\php.ini-dist into folder *C:\Windows*
Rename file C:\Windows\php.ini-dist as php.ini
Edit php.ini in Notepad. Remove leading semi-colon (;) from line:
;extension=php_mysql.dll
Save and close
Copy file C:\php\ext\php_mysql.dll into folder *C:\Windows\System32*
Within IIS Manager's "Handler Mappings", choose "Add Script Map…"
Request path: *.php
Executable: C:\php\php5isapi.dll
Name: PHP
Install MySQL (someone had already installed MySQL 5.0 for me).
Create file C:\inetpub\wwwroot\test.php as
<html>
<head>
<title>PHP Information</title>
</head>
<body>
<?php phpInfo(); ?>
</body>
</html>
Navigate to http://localhost/test.php in your web browser. You will see a page of information about PHP.
Roadblock: How do I get PHP to work with ADOdb and MySQL?