DocumentRoot "D:/develop/upupw/htdocs/tp5/public"
ServerName testtp5.com:80
ServerAlias 127.0.0.1 localhost
ServerAdmin webmaster@testtp5.com
DirectoryIndex index.html index.htm index.php default.php app.php
ErrorLog logs/testtp5.com-error.log
CustomLog logs/testtp5.com-access_%Y%m%d.log comonvhost
php_admin_value open_basedir "D:\develop\upupw\htdocs\tp5\public\;D:\develop\upupw\memcached\;D:\develop\upupw\phpmyadmin\;D:\develop\upupw\temp\;C:\Windows\Temp\"
Options FollowSymLinks
AllowOverride All
Require all granted
Require all denied
Require all denied
但是这样可以访问http://127.0.0.1/tp5/public/index.php
回复讨论(解决方案)
把这路径改了试试:php_admin_value open_basedir " D:\develop\upupw\htdocs\tp5\public\;D:\develop\upupw\memcached\;D:\develop\upupw\phpmyadmin\;D:\develop\upupw\temp\;C:\Windows\Temp\"
把这路径改了试试:php_admin_value open_basedir " D:\develop\upupw\htdocs\tp5\public\;D:\develop\upupw\memcached\;D:\develop\upupw\phpmyadmin\;D:\develop\upupw\temp\;C:\Windows\Temp\"
没有起作用
本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉
本文系统来源:php中文网