Forums / Install & configuration / Installation Problem on Fedora Core 4

Installation Problem on Fedora Core 4

Author Message

Ndjientcheu Patrick

Thursday 13 April 2006 1:49:27 pm

Hi,
I am Ndjientcheu Patrick and I used EZPublish CMS since 1 month.Until now,I work on Windows server with easyphp1.8. This morning, I tried to install ezPublish 3.7.4 (normal installation) on Linux Fedora Core 4. So after dowloading the file ezpublish-3.7.4.tar.gz, I unpacked it in <b>/var/www/html<b> and renamed it(mysite).But when I browse the index.php file (http://localhost/mysite/index.php) located in the eZ publish directory,the browser displayed nothing. However,other sites in this directory (made with dreamweaver) work correctly.
So,what goes wrong ?

Please help me to resolve these issues..
Thanks You.

Will Collins

Monday 17 April 2006 10:12:05 am

First, you need to remove PHP 5 and install PHP 4. To do this, visit:

http://www.mjmwired.net/resources/mjm-php4-fc4.html .

Just don't forget to add PHP the file exclusion list in the Yum Update config file. Otherwise Yum will update PHP to version 5.x and EzPublish will stop working.

Then you need to worry about SELinux with Fedora Core 4 and 5.

Type "ls -Z /var/www/html" at the command prompt. If you get an error message about only available on SELinux kernel, then you are done. Otherwise, continue on:

You need to use the chcon command:

chcon -R -t httpd_user_content_t public_html/

Just replace the "public_html/" with the directory you use as web directory (/var/ww/html or /var/www/ezpublish for example). The -R makes it recursive for all folders.

To see what SELinux policies are in place, use the -Z on the ls command for the file or folder you want to view.

You can avoid using the chcon command by using the cp command instead of the mv command in any Redhat version. When you use the cp command, the files will inherit the security policies of the folder that they are being moved to. This is not the case with the mv command as it does not set the SELinuz policies correctly for the folder that is being moved.

The official Fedora explanation of this issue can be found at http://fedora.redhat.com/docs/selinux-apache-fc3/sn-simple-setup.html .