Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
i installed php but i dunno if it works???? im new to php can someone point me in the right direction?? something less confusing then www.php.net/install that site is ????????????? confusing anyone know a good newbie site for php???
maybe im just thick but im not understand this do i put the file phpinfo.php in my webserver directory??????? or in the folder that u said?????
i put it in my webserver folder which is /var/www/html and i went to it with my browers so blahblah.blahblah.org/phpinfo.php and it just showed what i typed does this mean its not installed propertly??? probably eh??? plz help
Ok i tried that and when i went to it it just showed what i typed the:
<?php
phpinfo();
?>
my httpd.conf file is under /etc/httpd/conf/httpd.conf
it wont let me paste it in here for some reason i dont know why but i put it in my server folder so just go to http://mattbennett.dyndns.org/httpd.conf thanks for your time
Well, your httpd.conf is a little strange, usually there is an addtype section ie:
Code:
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico
but it is not in any other directive so you can most likely just add it to the bottom of the file.
Ok i just added it like this #AddType application/x-httpd-php .php?? tell me if its fine where i put it??? i wasnt too sure where u meant by the bottom of it http://mattbennett.dyndns.org/httpd.conf
Hmmm ok i didnt add the last one the addtype in the ifmodule i dunno where it is so maybe thats y this isent working but........ /libexec isent a dir on my computer and that libphp4.so isent a module????? i was looking around in there and it doesnt seem to have it????
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.