Unable to run php localhost on Yosemite

时间:2015-06-27 02:58:09

标签: php localhost osx-yosemite

I'm trying to run a php script from my localhost on Mac mavericks. But the server doesn't recognize my user. This is my setup:

/etc/apache2/users/filipefr.conf

<Directory "/Users/filipefr/Sites/">
    AddLanguage en .en
    LanguagePriority en fr de
    ForceLanguagePriority Fallback
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from localhost
     Require all granted
</Directory>

localserver is running, not reconizing my file/user

This is the file I'm trying to run:

 <?php echo phpinfo(); ?>

on this localserver url:

http://192.168.0.12/filipefr/info.php

0 个答案:

没有答案