473,654 Members | 3,084 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[FAQ] PHP installation

Q: How to run PHP?
A:
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
http://httpd.apache.org/download.cgi
Stable PHP version is available at http://www.php.net/downloads.php
Windows users should note that the installer/exe version is CGI alone;
for mod_php (aka SAPI), has to download zip version.

Refer:
http://www.php.net/install
http://cvs.php.net/co.php/php-src/INSTALL
http://www.php.net/faq.installation

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
click.

Refer:
http://www.apachefriends.org/en/xampp.html

Q: Where to get up-to-date PHP builds?
A:
Windows: http://snaps.php.net/win32/php5-win32-latest.zip
Linux: http://snaps.php.net/php5-latest.tar.gz
Caveats:
These developement versions may not be stable to use in production.

Q: Where to get old PHP versions?
A: http://museum.php.net/

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,
extension=php_c url.dll).
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

Refer:
http://www.php.net/faq.installation#...ion.processing

+++++
@todo Grammar. More info?

Jul 17 '05 #1
0 1546

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
1756
FAQ
by: John Dunlop | last post by:
http://www.kaomso.com/documents/phpfaq.html Some of the questions you answer in your FAQ are, how shall I put it, not so frequently asked. That's not to say they shouldn't be treated in a FAQ, but priority, I suggest, ought to be given to the more frequently asked ones. Thus, to help you develop your FAQ, I have composed a list. I hope the forming of questions and answers will be a peer- reviewed process which everybody here can take...
3
2253
by: R. Rajesh Jeba Anbiah | last post by:
----------------------------------------------------------------- This is the FAQ thread where the FAQ compilation project goes. * If you wish to improve the contents, please copy the whole content, fix it and then post it. When posting, please change the revision number (increase by 1) in the subject line. * If you want to comment, do it without changing the subject line. * Do NOT add new question and answers here. Add here only after...
2
2456
by: Hans Forbrich | last post by:
The following is a Request for Discussion, following up on some recent posts about distributing a periodic news group 'Charter and FAQ' post. While not formally following RFC/RFD rules, the intent is to use the rules as a guide for the discussion and make a more formal Request for Comment and a follow-up formal vote, possibly before year-end. Proposal: That the following be posted weekly for this news group:
1
2611
by: Noah Roberts | last post by:
I am having a semaphore issue when running initdb. The FAQ and PAG didn't help. System data: AMD64 1G RAM 80G HD VIA Chipset Linux 2.6.1-gentoo (contains special AMD64 patches). Contains IPC in kernel.
2
2816
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/authoring-faq Posting-Frequency: twice a week (Mondays and Thursdays) Last-modified: August 28, 2002 Version: 1.15 URL: http://css.nu/faq/ciwas-aFAQ.html Maintainer: Jan Roland Eriksson <rex@css.nu> ciwas stylesheet authoring FAQ v1.15 ______________________________________________________________________
2
6258
by: mb12036 | last post by:
All- Having a problem installing a DB2 client on a machine running AIX version 5.0. Client appeared to install one time succesfully, then was uninstalled and a reinstall was attempted. For some reasons, it does not complete the reinstall. See the status report from the GUI installer at the end of this note. Errors are towards the bottom. Everything installed in /usr/opt for DB2 but the sqllib folder that is supposed to be created in...
26
1382
by: Sandeep | last post by:
http://www.faqs.org/faqs/C-faq/abridged/ 3.1: Why doesn't the code "a = i++;" work? A: The variable i is both referenced and modified in the same expression. Here is the code that I have written: #include <stdio.h> int main ()
3
1095
by: Bart Van der Donck | last post by:
Hello, Is anyone willing to take over the daily FAQ postings ? Maybe Randy ? I'm afraid I will have too little time the next months to follow it up. The robot is easy to install; the only requirement is a Perl5.6+ executable and an environment with execute/write permission. Though Windows should work too, I've only ran it from UNIX so far. Of course I could assist with setting it up and write a short installation
0
8376
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8708
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8489
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8594
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2716
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1596
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.