benjipie Posted December 7, 2008 Share Posted December 7, 2008 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) Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted December 7, 2008 Share Posted December 7, 2008 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: Add PHP to the Windows Path Environment Rename php.ini-recommended within C:/php to just php.ini Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.