Nathan,
I tried your suggestion and it didn't work. rebooted the computer as well. Did it work for anyone else?Nathan Fowler wrote:
>
> In E-Smith 4.1.2 PHP is the primary directory is disabled.
> If you require PHP in the primary directory
> (/home/e-smith/files/primary/html) you can do the following:
>
> From console:
> mkdir -p
> /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
> cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
> pico -w 95AddType10PHPprimary
> [Add these lines]
> #Add PHP support to the Primary website
>
> AddType application/x-httpd-php .php .php3 .phtml
> AddType application/x-httpd-php-source .phps
>
> [Save changes and close]
> /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
> /etc/rc.d/init.d/httpd restart
> /etc/rc.d/init.d/httpd-admin restart
>
> You should now have PHP support in the primary html
> directory. This change is not necessary for the ibays, as
> you can define PHP/CGI support from the e-smith manager.
>
> Hope this helped,
> Nathan