#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    I am using Solaris 2.7 and I would like to install PHP on my server. However, I am not running Apache right now, instead it is running NCSA. I have installed mysql as well and would like to use the persistent database connectivity. Do I need to be the administrator to install PHP?

    Another question: Can PHP work with CGI? For example, if an HTML form is submitted to the backend via cgi post method, can the same data (in the same form) be send to databases (e.g. mysql) via PHP?
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    At the moment there is no PHP module for NCSA, and you need to have modular PHP to use persistent DB connections.

    You can't have two targets for a form, but you could modify the cgi to call the PHP script passing all the variables, but it would be easier to do the opposite.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    Thank you. How about if I don't use persistent database connection? Do I still need Apache?
  6. #4
  7. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    You need to have some sort of webserver to serve PHP documents.

Similar Threads

  1. PHP MySQL question
    By spookymark in forum PHP Development
    Replies: 1
    Last Post: February 17th, 2004, 12:07 AM
  2. PHP and Table Relationship question
    By spank in forum PHP Development
    Replies: 4
    Last Post: February 9th, 2004, 08:24 PM
  3. SSL & PHP together question?
    By asedesigns in forum Apache Development
    Replies: 1
    Last Post: February 7th, 2004, 09:35 PM
  4. PHP Mailing list Question
    By byte me in forum PHP Development
    Replies: 3
    Last Post: January 23rd, 2004, 06:55 AM
  5. Php + Flash Question
    By ORANGE900 in forum PHP Development
    Replies: 0
    Last Post: January 23rd, 2004, 01:23 AM

IMN logo majestic logo threadwatch logo seochat tools logo