SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Im using the full install of 10.2 and have followed the instructions .:here:. now, apache is working fine and i am seeing html sites, but i cant get php to execute to save my life... i wont post my httpd.conf file since all i edited was the server string and such and just enabled mod_php (which is installed) and have restarted the httpd... however when i navigate to a php page it just outputs the text in the file, it doesnt process the php
ideas?
Last edited by scrupul0us; 01-07-2006 at 10:34 PM.
well far as i know 10.2 came with php 4.x.. and all i did was enable the mod_php in the httpd.conf file (Which was one of the last steps in the link) so im at a loss
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.shtm index.php
</IfModule>
Code:
# ==> mod_php configuration settings <==
#
# PACKAGES REQUIRED: openssl-solibs (A series) and/or openssl (N series),
# mysql (AP series), gmp (L series), and apache (N series)
#
Include /etc/apache/mod_php.conf
# ==> mod_ssl configuration settings <==
as said... i followed the instructions on the site...
mind you ive had about 4-5 years experience with apache in a windows env. so using the httpd.conf isnt new to me... just the linux env is new to me... that all aside i uncommented what the link said and checked the mod_php.conf to make sure it was all uncommented
is there a php file similar to php.ini that needs to be configured?
Last edited by scrupul0us; 01-07-2006 at 11:22 PM.
well far as i know 10.2 came with php 4.x.. and all i did was enable the mod_php in the httpd.conf file (Which was one of the last steps in the link) so im at a loss
But did you add this?
Addtype application/x-httpd-php .php
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.