首页 文章
  • 2 votes
     answers
     views

    使用EasyPHP在localhost中配置重写URL

    我正在尝试配置.htaccess以使用EasyPHP在localhost中设置重写URL,但我得到的只是404错误 . 我的本地网站是C:\ Projects \ Test \,在EasyPHP中我创建了一个新的别名,其中“Test”名称位于此位置 . 因此,要访问此网站,请在浏览器中键入127.0.0.1:8080/test . .htaccess文件在本网站的根目录中解决(C:\ Projec...
  • 0 votes
     answers
     views

    MySQL#1452 - 无法添加或更新子行

    我在这里打招呼,所有我想要做的就是插入一个外键的表字段,请看看这两个表: 表 Categorie CREATE TABLE IF NOT EXISTS `categorie` ( `id_cat` int(2) NOT NULL AUTO_INCREMENT, `nom_cat` varchar(20) NOT NULL, PRIMARY KEY (`id_ca...
  • 0 votes
     answers
     views

    即使我启用了openssl,https也会出错

    我试图在我的电脑上安装 easyphp 这样的简单脚本: <?php include_once ('C:\EasyPHP-Devserver-17\eds-binaries\php\php713vc14x86x170802204733\simple_html_dom.php'); $html = file_get_html('https://www.sports-reference.com/...
  • 326 votes
     answers
     views

    如何找到命令行使用的php.ini文件?

    我需要在我的EasyPhp环境中启用pdo_mysql,所以我去了php.ini文件并取消注释以下行: extension=php_pdo_mysql.dll 不幸的是我仍然有同样的问题 . 我正在使用CLI,所以我想我需要找到CLI使用的php.ini文件 . 我该怎么找到它?

热门问题