LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache server with php (https://www.linuxquestions.org/questions/linux-networking-3/apache-server-with-php-254082/)

djgerbavore 11-12-2004 01:46 PM

apache server with php
 
hello,
i have an apache server running, but when i run an php script, it doesn't produce the html tags.

but when i run >php -f file.php, its output is hte html tags. So i believe i need to add some thing to the apache config files, to interprate php scripts. or do i need to do thing else?


thanks,
djgerbavore

update: I looked over the httpd.conf file and found the line include mod_php.c commented out so i restart my apache server the php script worked.


phatboyz 11-12-2004 03:24 PM

The reason that this is commented out is that its a security issure. You might need to look into the updates for PHP.

djgerbavore 11-13-2004 01:07 PM

ya that is what i figured, i look into that.

thanks
djgerbavore


All times are GMT -5. The time now is 09:21 PM.