tsugiarto Posted April 19, 2007 Share Posted April 19, 2007 Hi, I need help with PHP Installation. I am newbei with PHP so it is kind of blur with all about PHP. Can anybody help me with some question below, I am really thanks for the help. 1. what do I need before installing PHP? 2. Can I use IIS from window XP Prof. rather than using APACHE? 3. I using VS.NET currently to develop ASP.NET web pages, is that going to be a trouble if I install PHP? 4. Do I have to reconfigure my IIS ? thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/47707-need-help-with-php-installation/ Share on other sites More sharing options...
trq Posted April 19, 2007 Share Posted April 19, 2007 1. Download PHP from http://php.net 2. If you must. I would however recommend Apache over IIS, you can even run them both on a dev box listening on different ports. 3. No trouble, nothing at all to do with php. 4. If you want to run php on it, yes. Quote Link to comment https://forums.phpfreaks.com/topic/47707-need-help-with-php-installation/#findComment-233268 Share on other sites More sharing options...
tsugiarto Posted April 20, 2007 Author Share Posted April 20, 2007 If let say I want to use IIS as the web server, how I reconfigure the IIS? can anybody teach me? Quote Link to comment https://forums.phpfreaks.com/topic/47707-need-help-with-php-installation/#findComment-233696 Share on other sites More sharing options...
tsugiarto Posted April 20, 2007 Author Share Posted April 20, 2007 I got one more stupid question actually. Lets say, I've done with the PHP installation and apache, is there anything I must do? since right now I installed the PHP and Apache and the PHP has also done with reconfigure the APACHE. is there anything I must do after that to make the PHP run? secondly, how I know if the PHP is running in my computer? and where should I put the .php file? should I use http://localhost/... address to access the .php file? sory for booming you guys with this stupid question, I am really a noobie with php and want to learn, I hope you guys can help me with this. Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/47707-need-help-with-php-installation/#findComment-233749 Share on other sites More sharing options...
wildteen88 Posted April 21, 2007 Share Posted April 21, 2007 Yes you must go to http://localhost in order to run your .php files. You place your .php files in Apaches htdocs folder (or the whatever you set your DocumentRoot as, default is Apaches's htdocs folder (default path: C:/Program Files/Apache Group/Apache2/htdoc)). To get PHP working with Apache you just need to add a few lines in to Apaches httpd.conf, example LoadModule php5_module "C:/php/php5apache2_2.dll" AddType application/x-httpd-php .php and that should me enough to get PHP working with Apache. The rest of the configuration is down how you want PHP to run, such as what extensions to use, whether to display syntax errors during runtime etc. You do this in PHP's configuration file called php.ini NOTE: It is important you restart Apache whenever you make any changes to the httpd.conf or php.ini. Otherwise your changes will not take affect until Apache is restarted. Quote Link to comment https://forums.phpfreaks.com/topic/47707-need-help-with-php-installation/#findComment-234755 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.