Jump to content

Installation problems..."a script cannot run"


Recommended Posts

Hi,

 

I am completely new to php/dynamic web development and I'm having trouble installing PHP (php-5.2.7-win32-installer) on Windows Vista Home Premium 32bit. When i run the installer (I've tried double clicking and right clicking>run as administrator) i get the following error message:

 

"There is a problem with this windows installer package. A script required for this install to complete could not run. Contact your support personnel or product vendor"

 

I've searched on the PHP site and other forums but cant work out whats wrong. Any ideas?

 

Thanks...

(im also using Apache_2.2.10-win32-x86-no_ssl as a web server)

Do not use the PHP installer. Just download the PHP zip package from php.net instead. Extract the contents of the zip to C:/php and PHP is installed.

 

Now install Apache if you havn't done so. After Apache is installed you'll need to configure Apache to use PHP. To do this open up Apaches configuration file (httpd.conf) and add the following lines at the bottom

LoadModule php5_module "C:/php/php5apache2_2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php

 

Save the httpd.conf and restart Apache.

 

You also want to:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.