+ Reply to Thread
Results 1 to 8 of 8

Adding PHP to Apache on Linux

This is a discussion on Adding PHP to Apache on Linux within the Web & Server Administration forums, part of the Web Designing & Development category; [FONT=Verdana, Arial, Helvetica][SIZE=2][FONT=Verdana, Arial, Helvetica][SIZE=2]The PHP package is just brimful of capabilities that you can enable if you have the ...

Share/Bookmark
  1. #1
    Senior Member Array akash's Avatar
    Join Date
    Oct 2008
    Location
    Heaven (Earth)
    Posts
    500

    Default Adding PHP to Apache on Linux

    [FONT=Verdana, Arial, Helvetica][SIZE=2][FONT=Verdana, Arial, Helvetica][SIZE=2]The PHP package is just brimful of capabilities that you can enable if you have the appropriate extra pieces installed on your system. For instance, one of PHP's strong points is its simple and easy interface to numerous different database system such as Oracle, MySQL, mSQL, DB2, and so on. [/SIZE][/FONT]
    [FONT=Verdana, Arial, Helvetica][SIZE=2]You enable these extensions by letting the ./php/php3/configure script know about them when you invoke it. For example, if you want to be able to use MySQL and XML within your PHP scripts (or PHP pages), you might invoke it as [/SIZE][/FONT]
    [FONT=Verdana, Arial, Helvetica][SIZE=2] % ./configure --with-mysql --with-xml[/SIZE][/FONT] [FONT=Verdana, Arial, Helvetica][SIZE=2]To see a list of the extensions that PHP can support, invoke the script as [/SIZE][/FONT]
    [FONT=Verdana, Arial, Helvetica][SIZE=2] % ./configure --help[/SIZE][/FONT][/SIZE][/FONT]

  2. #2
    Junior Member Array
    Join Date
    Oct 2009
    Posts
    21

    Default Re: Adding PHP to Apache on Linux

    depending on which distribution you are using, if ubuntu, centos,
    you can use apt-get install libphp5 or yum xx, no need reconfig

  3. #3
    Member Array cpace1983's Avatar
    Join Date
    Mar 2010
    Location
    Montana
    Posts
    47

    Default Re: Adding PHP to Apache on Linux

    The days of compiling PHP are long gone (and good riddance). As another poster pointed out, you can apt-get or yum PHP nowadays, as well as the more eccentric PHP add-ons (such as php-xml).
    I am a Linux consultant, who offers Linux consulting services and Linux Server Installation services to clients.
    My wife is a Billings, MT photographer.

  4. #4
    Senior Member Array
    Join Date
    Jun 2010
    Posts
    113

    Default Re: Adding PHP to Apache on Linux

    use the PHP apache command prompt

  5. #5
    Junior Member Array
    Join Date
    Jul 2010
    Posts
    4

    Default Re: Adding PHP to Apache on Linux

    Which linux version you are using. If you are using fedora then just use yum command to install it.
    Software Engineer. Developed HTTP Debugger For Developer Community.

  6. #6
    Junior Member Array
    Join Date
    Aug 2010
    Posts
    6

    Default Re: Adding PHP to Apache on Linux

    If you want to adding the PHP to apache on linux it is really very great. In these there are so many advance facility on apache and the linux. It is one of the new version which you are using their capability is also really very good and commands can easily to install.

  7. #7
    Banned Array
    Join Date
    Aug 2011
    Posts
    1,095

    Default Re: Adding PHP to Apache on Linux

    have no idea..

  8. #8
    Banned Array
    Join Date
    Jul 2011
    Posts
    710

    Default Re: Adding PHP to Apache on Linux

    thanks for this very good information and this good post



+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: 09-07-2011, 05:29 PM
  2. Can I run ASP.VBSCRIPT on Apache 2.2.8?
    By musical_bell in forum Web & Server Administration
    Replies: 2
    Last Post: 02-17-2009, 07:59 AM
  3. Replies: 1
    Last Post: 11-13-2008, 06:38 AM
  4. Replies: 0
    Last Post: 04-10-2008, 02:34 PM
  5. Apache Wicket 1.3 set for Java Web development
    By TechMaster in forum Member Discussion
    Replies: 0
    Last Post: 01-04-2008, 12:27 AM
SEO Forum | Web Hosting Forum | Websites For Sale |