galafura Posted February 2, 2010 Share Posted February 2, 2010 :'( Hi I'm starting with PHP. I already installed PHP and MySQL in my PC. I have made some scripts in PHP and I would like to run it in my PC. How should I proceed to do that ... Thanks Quote Link to comment https://forums.phpfreaks.com/topic/190645-running-php-scripts-in-my-pc/ Share on other sites More sharing options...
trq Posted February 2, 2010 Share Posted February 2, 2010 You need to install and configure a web server such as Apache. (http://http.apache.org) Quote Link to comment https://forums.phpfreaks.com/topic/190645-running-php-scripts-in-my-pc/#findComment-1005425 Share on other sites More sharing options...
galafura Posted February 2, 2010 Author Share Posted February 2, 2010 :-\ Thanks for your answer ... I already have installed the web server Apache .... So ???? Quote Link to comment https://forums.phpfreaks.com/topic/190645-running-php-scripts-in-my-pc/#findComment-1005428 Share on other sites More sharing options...
trq Posted February 2, 2010 Share Posted February 2, 2010 Place your php script within your servers document root (usually /var/www) then view them via a browser at http://localhost Quote Link to comment https://forums.phpfreaks.com/topic/190645-running-php-scripts-in-my-pc/#findComment-1005430 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.