Jump to content

PHP not installing


Recommended Posts

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.

 

Link to comment
https://forums.phpfreaks.com/topic/117401-php-not-installing/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/117401-php-not-installing/#findComment-603989
Share on other sites

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.