dongtanjian9310 2013-05-30 05:43
浏览 208

在xampp中的phpmyadmin中添加htaccess文件

How can I add a htaccess file in phpmyadmin in xampp server ?

I have windows 7 operating system.

I need this to change php.ini values only for phpadmin for example max_execution_time, upload_max_filesize etc.

  • 写回答

1条回答 默认 最新

  • dpb75177 2019-05-23 06:55
    关注

    When you using the apache2 server

    Go to following directory.

    cd /etc/apache2/sites-available

    If you use LS command here you will see following file.

    000-default.conf

    That's the file with default apache configuration which are applied to your sites in /var/www/html folder.

    Open this file for editing.

    sudo nano 000-default.conf

    Add following lines after DocumentRoot /var/www/html line.

    Options FollowSymLinks AllowOverride All Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all

    Save the file and restart the apache.

    sudo service apache2 restart

    that's it and now your .htaccess file will work

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据