LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RH8/Apache - PHP installed but not enabled(?) (https://www.linuxquestions.org/questions/linux-software-2/rh8-apache-php-installed-but-not-enabled-37325/)

bkeating 12-04-2002 02:12 PM

RH8/Apache - PHP installed but not enabled(?)
 
I looked at a simple page with an < ? include ? > and it did not load (this was off the local apache) So i figureed I needed to isntall PHP, well upon rpming the latest version, it says it's already installed... am I missing something in the httpd.conf er something?

kinda became dependant on this autoinstall stuff from this point n click distros :( uh oh

thanks! ;)

starheart 12-04-2002 09:46 PM

&nbsp;&nbsp;&nbsp;Looks for this in /etc/php.ini

; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
short_open_tag = Off


&nbsp;&nbsp;&nbsp;The RedHat 8.0 default is off and if you just have <?s in the file it on'y interpet it, unless you change the above to On.

j-ray 12-05-2002 07:35 AM

u might c heck whether or not the php-module is listed in the load_module list in httpd.conf
cheers, jens

bkeating 12-05-2002 12:10 PM

short_open_tag = on

! works now ty ty ty


All times are GMT -5. The time now is 03:14 PM.