userdir altında php çalışmama problemi

public_html altında php çalışmasını  sağlamak için, /etc/apache2/mods-enabled/php5.conf, dosyası altında şu satırlara ‘#’ işareti koyularak php userdir altında aktif hale getirilir.

<IfModule mod_userdir.c>
<Directory /home/*/public_html>
php_admin_value engine Off
</Directory>
</IfModule>

Kaynak
[1] http://devplant.net/2010/05/04/linux-php-not-working-in-userdir-public_html/

Yorum yok

Yorum yapın

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Değiştir )

Twitter picture

You are commenting using your Twitter account. Log Out / Değiştir )

Facebook photo

You are commenting using your Facebook account. Log Out / Değiştir )

Connecting to %s

Follow

Get every new post delivered to your Inbox.