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)

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.