julia18 Posted August 18, 2008 Share Posted August 18, 2008 Hello I'm a newbie, please help! I am running CentOS 5.2-2 + PHP 5.1.6 + Apache 2.2.3 . They seem to work just fine (separately), but no php code is displayed. The config files are the default ones, and the packages were installed on OS setup. I've checked the php.conf file from the apache directory, looks fine and the http server loads the *.so files. Also a *.php file can be run from prompt, so the php interpreter is to be found. Also checked the permissions on every file (777).... no luck. Thanks, Julia Quote Link to comment https://forums.phpfreaks.com/topic/120257-php-code-not-running-on-apache/ Share on other sites More sharing options...
corbin Posted September 4, 2008 Share Posted September 4, 2008 You need to tell Apache how to handle PHP files. Look into AddHandler. Quote Link to comment https://forums.phpfreaks.com/topic/120257-php-code-not-running-on-apache/#findComment-634080 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.