Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, where in the httpd.conf do i put this line
" AddType application/x-httpd-php .php"
Also i cant access webpages in my "public_html" in my home dir. it says forbidden when i try to access it. So what do i do to get it where i can access it, i have tried "modprobe 755 public_html" but that didnt work.
You can just throw that line in anywhere, I put mine directly above my AddHandler lines. Also, "modprobe??" I sure hope that was a typo. Is your index page in that dir readable, and is userdir enabled in your conf?
No, i havent modified the httpd.conf file and i ran "apachectl configtest" it said it was ok.
I restarted httpd and still didnt work.
I am trying to access it with "http://slacker/~david" .
Ok i cant get php to work either so can someone lead me through the install with every detail i need to know to get it to work. I want to install Apache+PHP+MYsql, but i have mysql installed and running good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.