Whitestripes9805 Posted July 30, 2008 Share Posted July 30, 2008 When i install PHP i'll get the point where it says pick a webserver and i don't know what to select. So I choose the bottom option which is continue with no webserver. And then i get this error: "Error trying to access httpd.conf file. You will need to manually configure the webserver." I have tried to download Apache but PHP never works with that ethier and this site VVVV says nothing about Apache soo. http://www.databasedev.co.uk/microsoft-access-and-php.html. Also I have no website. The site listed above (which is my guideline) says "Tip: This configuration has to be done on the computer where your web site is located." Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/117401-php-not-installing/ Share on other sites More sharing options...
wildteen88 Posted July 30, 2008 Share Posted July 30, 2008 That article assumes you already have a server setup and is configured with PHP. When installing Apache and PHP always install Apache first followed by PHP. However, it is much easier to install PHP without the installer, just download the zipped binaries package instead from php.net and extract the contents of the zip to C:\php Once You have Apache and PHP installed, Apache will need to be configured with PHP. To do so first add PHP to the PATH Environment Variable. Then open Apache's httpd.conf file and add the following lines LoadModule php5_module "C:/php/php5apache2_2.dll" PHPIniDir "C:/php" AddType application/x-httpd-php .php Save the httpd.conf and restart Apache. That's it Apache and PHP are now ready to use. Save all your php files in Apaches htdocs folder and go to http://localhost to run them. Quote Link to comment https://forums.phpfreaks.com/topic/117401-php-not-installing/#findComment-603989 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.