By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,001 Members | 1,445 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,001 IT Pros & Developers. It's quick & easy.

[FAQ] PHP installation

P: n/a
Q: How to run PHP?
1. Use command line php and pass php file as an argument. Hardly used.
2. Run with an webserver preferably Apache. (Access via browser like
http://localhost/foo.php )

Q: Where to get PHP?
Q: How to install PHP?
A: Install the webserver first. Apache is available at
Stable PHP version is available at
Windows users should note that the installer/exe version is CGI alone;
for mod_php (aka SAPI), has to download zip version.


Q: How to install PHP quickly?
A: XAMPP, a 3rd party provides extensive installation bundle that helps
the user to install PHP, MySQL, Apache and many extensions in just one


Q: Where to get up-to-date PHP builds?
These developement versions may not be stable to use in production.

Q: Where to get old PHP versions?

Q: When using a PHP function, I'm getting "Fatal error: Call to
undefined function xxxx()".
A: This says that the function is not available or not enabled. Using
manual find the extension name that this function belongs to.
Windows: Open your php.ini and uncomment that extension dll file (eg,
Linux: Compile your php source with that library

Q: Why I'm getting unparsed PHP file in browser?
A: You might not have instructed your Apache to parse PHP files. You
have to check httpd.conf


@todo Grammar. More info?

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.