- Apr 5, 2002
- 2,616
- 99
- 91
I have setup a computer to run Red Hat Linux so I can learn more about the operating system and PHP. I installed a workstation with the install everything option.
I first looked for what version of PHP had been installed. It looks like PHP 4.
I looked under services and started Apache. Then remembered that I might have to change the httpd.conf file to include PHP. I found the file and tried to edit it but could not. I made a copy of the httpd.conf file in my Home directory and added the lines:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
(I got these lines out of a book I have on PHP.)
I try to move the file back to where I found it but I seen do not have the write privileges to the file.
Notes:
1. Installed Red Hat FC3 workstation with everything
2. I want to start programming in PHP
3. Need help with getting privieges to file, httpd.conf.
4. Is this the right way to set this up?
I first looked for what version of PHP had been installed. It looks like PHP 4.
I looked under services and started Apache. Then remembered that I might have to change the httpd.conf file to include PHP. I found the file and tried to edit it but could not. I made a copy of the httpd.conf file in my Home directory and added the lines:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
(I got these lines out of a book I have on PHP.)
I try to move the file back to where I found it but I seen do not have the write privileges to the file.
Notes:
1. Installed Red Hat FC3 workstation with everything
2. I want to start programming in PHP
3. Need help with getting privieges to file, httpd.conf.
4. Is this the right way to set this up?