I am new to PHP ..i would like to install php on my server which is netscape enterprise webserver.I don't have root access to the server.

How i can install php on my server with out root access .

Please advise ...

Any help will be more appreciated.

Thanks in advance.

~Thendal

    You probably can install anything without root access. What would be the point of having root if anyone can install anything on your system.

      Thanks .....

      I didn't understand ...how the server will be knowing if we didn't sepecify .php extension ....if its in apache we need to specify in httpd.conf file ...

      i believe in Netscape Enterprise server too we need to specify the extension ....

      alteast redirect me to some url for step by step process for installing php without root access.

      i tried to install php but it fails when i placed "make install" command access denied.

      Thanks in advance.

      ~Thendal

        No, you wont be able to install anything without root access.

          Thanks for the reply ...

          Is there any way we can install PHP without root access.

          Here is the scenerio one of my friend told he had installed PHP without the SU/admin help ....told me some thing like complied as a binary executable with the cgi-bin directory .

          I wanna make sure whether its possible

          It looks like you are the only one looking at the forum though 🙂

          any how thanks for your time.

          ~I

            Do you have access to the httpd.conf file? If you dont, then you need that root access.

              yes, you can install php without root access,
              try to
              ./configure --prefix=/your/home/directory

                Really? Well there we go. Sorry, thendal, I was wrong.

                  Thanks bernouli ,I have tried with your command line ...

                  Now whats next ..

                  is there any more steps needed to make it work...

                  I greatly appreciate your help ...

                  Regards,
                  Thendal

                    after that, all you do is to make , and make install the file,
                    then put all your php files into your directory, do you use apache as webserver by the way?

                      Thanks bernouli,I did make and make install ...

                      It didn't give any error .

                      No i am not using apache webserver, Netscape Enterprise Webserver ...I don't have any access on the server admin though 🙁

                      here is what i did next ..i placed a test.php file on my directory and tested in the command line ..it worked .. 🙂

                      but when i view the same file in browser in just spit the code .....it didn't work attached is the file

                      #!/homedir/php/bin/php -q
                      <?php

                      print("Hello, world!\n");

                      ?>

                      and also i tested an html version .... it appears a blank page

                      <html>
                      <head>
                      <title>PHP Test</title>
                      </head>
                      <body>
                      <?php echo "Hello World<p>"; ?>
                      </body>
                      </html>

                      Thanks again ..

                      Regards,
                      ~thendal

                        to 1.) the netscape doesnt recognize the .php file, so that it would download the file than to run it

                        to 2.) off course it would be a blank page because the system doesnt run any php file,

                        i never run php with such interpreter, sorry can't help u furhter
                        but u can install apache too without root access 😉

                          Thanks for your help.

                          Is there any way to work it out in netscape enterprise webserver.

                          with out root access ..I did a search on google ...i able to reach one url

                          http://benoit.noss.free.fr/php/install-php4.html#step2

                          but it help only if you have admin access ...

                          Let me know your thoughts ..even some url will help ..

                          Thanks again.

                            Write a Reply...