douzhe9075 2019-07-12 14:54
浏览 170

我的php网站在XAMPP(localhost)中工作正常,但卡在实时服务器和WAMP上

I am using a collection of APIs to get data.On XAMPP, my site is working fine but its not working on either wamp or live server. On wamp its not inserting data into db and on live server ALEXA rank Api is not working.My settings on XAMPP are

Database server

Server: 127.0.0.1 via TCP/IP
Server type: MariaDB
Server connection: SSL is not being used Documentation
Server version: 10.1.38-MariaDB - mariadb.org binary distribution
Protocol version: 10
User: root@localhost
Server charset: UTF-8 Unicode (utf8)

Web server

Apache/2.4.38 (Win64) OpenSSL/1.0.2q PHP/5.6.40
Database client version: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id:         76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 5.6.40

While I have same setting on WAMPP/Live Server I have checked the extensions and php.ini file is same

First I run this code to get data from apis https://onlinenotepad.us/UQP8l6S6CX

Second I run this file, to call apis (alexa api does not work on live server while others work fine) https://onlinenotepad.us/Y9Rnf7tx7e

Here is the process code finalProcess.php that is run in the end to store data in db. $arguments contains the data

https://onlinenotepad.us/GTPmXN0HRb

On Live Server alexa rank api is not called. On WAMPP its not fetching data. ON XAMPP everything is perfect!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 使用C#,asp.net读取Excel文件并保存到Oracle数据库
    • ¥15 C# datagridview 单元格显示进度及值
    • ¥15 thinkphp6配合social login单点登录问题
    • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
    • ¥15 如何在scanpy上做差异基因和通路富集?
    • ¥20 关于#硬件工程#的问题,请各位专家解答!
    • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
    • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
    • ¥30 虚心请教几个问题,小生先有礼了
    • ¥30 截图中的mathematics程序转换成matlab