Hi all!
I am trying to install PHP on Sun solaris machine in my own directory structure.
Here is the following the command i used after unziping the PHP folder
./configure --prefix=/home directory/php
make
make install
after this what are things i need to do to make it work on the webserver..
ie) what are the changes i need to do to make it work
i wrote a small script in the server ....test.php
#!/home/php/bin/php
<?php
print("Hello, world!\n");
?>
it works fine it gives me a result
X-Powered-By: PHP/4.2.2
Content-type: text/html
Hello, world!
But when i view it in brower it just spits the code....
could some one help me ..what are the changes i need to make (or ask my sys admin) in the netscape server to make it work .
any advise will be in great help.
Thanks in advance.
Regards,
Thendal