Working with PHP extensions on IIS

7/11/2007

Getting PHP's extension to work with IIS can become a bit frustrating. I've had some problems using the postgres extension in my computer, and here's how I've solved them.

First you have to make sure that the extension that your trying to use is working. This can be done using a simple php page file like this:

< ?php
echo phpInfo();
?>

If you load this page in your web browser you'll get a lot of information about your current php setup. In this case we're looking for the postgres extension, hence the string "pgsql" must be present. Otherwise the extension is not loaded and we'll have to install it.

To do so, you'll have to download the PHP windows installer. Then run the installer and click on Change. Click on extensions and select the extension you're planning to use. In this case we'll click on PostgreSQL and select "Will be installed on local hard drive".

After the extension has been installed, go to the PHP's directory (usually located in Program Files/PHP) and edit the php.ini file. Look for the string "extension=php_pgsql.dll". If the installation process didn't update the file, then remove the semicolon from the line of your extension from the "; Windows Extensions" section of the file.

After that you'll have to restart the IIS process: go to Control Panel->Administrative Tools->Services, right click on World Wide Web Publishing and select Restart. Now your PHP+IIS setup will be able to deal with the extension.

Publicado por Herr Schönheit Von Vogelsang en 23:01 0 comentarios  

Versión 4.5.1 Publicada

4/16/2007

Ya está lista la versión 4.5.1 para su descarga. Además de corregir fallos detectados en la versión 4.5.0, incluye un starter kit que puede utilizarse con Visual Web Developer de Microsoft

Una de las principales novedades de DotNetNuke 4.5 es que integra soporte para Microsoft ASP.NET AJAX.

Publicado por Herr Schönheit Von Vogelsang en 23:16 0 comentarios  

Disclaimer DNN-Hispano

4/12/2007

Acabo de encontrar la página DNN-hispano y quería dejar claro que antes de inaugurar el blog desconocía de su existencia.
Por supuesto no tengo ninguna relación con dicha página y la elección del nombre de este blog no esconde intereses crematísticos.

De paso he incluído un lector de rss conectado al feed de su blog.... ¿esta frase no resulta muy hispana,verdad?

Publicado por Herr Schönheit Von Vogelsang en 15:54 0 comentarios  

Server Error in '/dotnetnuke' Application

Tras instalar y probar DotNetNuke con el kit para Visual Web Developer decidí utilizar el paquete de instalación con el servidor IIS en lugar del servidor de desarrollo. Tras instalar IIS y poner en un directorio virtual el paquete de instalación, dirigí mi navegador a la página de instalación, pero no apareció la pantalla esperada sino este mensaje de error.

Server Error in '/dotnetnuke' Application.

Failed to access IIS metabase.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.

The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please see http://support.microsoft.com/?kbid=267904.

(...)

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

finalmente encontré la solución. El problema lo causa instalar IIS después de .NET framework 2.0, corrompiendo la base de datos interna de .NET. Basta con reparar la instalación de .NET para solucionar el problema.

Para reparar la instalación
Panel de Control-> Agregar o quitar programas -> Microsoft .NET framework 2.0 ->Cambiar quitar-> Reparar la instalación.

La única molestia es que después hay que reiniciar.

Technorati tags: , ,

Publicado por Herr Schönheit Von Vogelsang en 13:42  

Bienvenida

4/10/2007

Hola a todos,
he creado este blog con el propósito de compartir mis experiencias con DotNetNuke. Además de comentarios generales, intentaré cubrir asuntos específicamente relacionados con los hispanoparlantes.

Publicado por Herr Schönheit Von Vogelsang en 23:53 0 comentarios