figo2476 Posted January 5, 2007 Share Posted January 5, 2007 Hi:Using apache 2.2.3, when install php 5.2.0 in win xp. I had these error."There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."Not sure what is going on, but I tried to install everything in php 5.2.0. Is this cause the problem? Quote Link to comment https://forums.phpfreaks.com/topic/32962-cant-install-php-520-in-winxp/ Share on other sites More sharing options...
wildteen88 Posted January 5, 2007 Share Posted January 5, 2007 Delete the installer and get the zipped binaries (PHP 5.2.0 zip package) instead. The installer isn't needed. Once you have download right click and select Extract All...Extract the zip contents to C:/PHPPHP is installed! Now all you need to do now is configure Apache to parse PHP files with the PHP interpreter.The installer does the same thing as what you have just done. It also attempts to configure the server you using too. Quote Link to comment https://forums.phpfreaks.com/topic/32962-cant-install-php-520-in-winxp/#findComment-153600 Share on other sites More sharing options...
figo2476 Posted January 6, 2007 Author Share Posted January 6, 2007 I wonder how to configure php5 and apache2.2.3. Are there hints/steps? Quote Link to comment https://forums.phpfreaks.com/topic/32962-cant-install-php-520-in-winxp/#findComment-153935 Share on other sites More sharing options...
lszanto Posted January 6, 2007 Share Posted January 6, 2007 If your trying to install it all so it runs together just download wamp which can be found at http://wampserver.com/ just download it and it has php, mysql and apache all set and configured for each other. Quote Link to comment https://forums.phpfreaks.com/topic/32962-cant-install-php-520-in-winxp/#findComment-154150 Share on other sites More sharing options...
wildteen88 Posted January 6, 2007 Share Posted January 6, 2007 [quote author=lszanto link=topic=121111.msg498089#msg498089 date=1168080121]If your trying to install it all so it runs together just download wamp which can be found at http://wampserver.com/ just download it and it has php, mysql and apache all set and configured for each other.[/quote]How does that help! I hate it when people post s*** like that. Its the same when someone has a problem with IE. Instead helping getting IE sorted they say go get FF or some other browser.Now how to configure Apache and PHP follow these steps:Open the httpd.conf for Apache and the following lines at the bottom of the file:[code]LoadModule php5_module "C:/php/php5apache2_2.dll"PHPIniDir "C:/php"AddType application/x-httpd-php .phpAddType application/x-httpd-phps .phps[/code]Save the httpd.conf and restart Apache server. Create a test file in the htdocs (in the root of Apache install folder) folder, call it test.php and add the following code to it:[code=php:0]<?phpphpinfo();?>[/code]Save the file. Now go to http://localhost/test.php and you should get a page full of information about PHP and its environment. If you do PHP is now setup with Apache! Quote Link to comment https://forums.phpfreaks.com/topic/32962-cant-install-php-520-in-winxp/#findComment-154157 Share on other sites More sharing options...
tatvn Posted January 8, 2007 Share Posted January 8, 2007 Hi,I installed successful but after I code as you type " LoadModule ... " and restart Apache, it always show a notice "Apache HTTP Server has encountered a problem and need to close ..."How can I fix it ???Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/32962-cant-install-php-520-in-winxp/#findComment-155772 Share on other sites More sharing options...
corbin Posted January 9, 2007 Share Posted January 9, 2007 Gonna need to be more specific than that...Hit start->run and type cmd. Hit enterUse [i]cd[/i] to get into the apache bin folder and run apache.exe (or httpd.exe, not sure what it's called in apache 2.2)It should output a more specific error. Also, check logs/error.log and see what it says in there. It's probably something about PHP, but if it cannot find php it just flags a warning and continues to start if I remember right. Quote Link to comment https://forums.phpfreaks.com/topic/32962-cant-install-php-520-in-winxp/#findComment-156891 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.