0

the phpinfo() shows enter image description here

but when i install zencart on my vps hosting. it shows enter image description here

enter image description here

why? how to correct it?

enjoylife
  • 101
  • 1
  • Are you sure both are using the same PHP? – Ignacio Vazquez-Abrams Oct 13 '11 at 01:33
  • yeah,i am sure, the php -v shows the same version with the phpinfo shows – enjoylife Oct 13 '11 at 01:43
  • 1
    Do you have actual access to libcurl on your server? E.g. can you run `curl` from the command line? – Explosion Pills Oct 13 '11 at 02:02
  • 1
    Which code does zencart use to probe for curl before showing that message? Is that phpinfo run from the same VPS as zencart is? – mario Oct 13 '11 at 02:05
  • tandu, i don't know how torun curl from the command line. could you tell me how to execute it? thank you – enjoylife Oct 13 '11 at 02:53
  • mario, they are on the same VPS.same directory. i installed the zencart 1.39 version. when goes to check the environment step, it shows the curl not compied into php. – enjoylife Oct 13 '11 at 02:56
  • Run the following: `ldd $(which php) | grep -i curl` and `curl --version` and share the output of the commands with us. Also, does the "Configure command" from phpinfo's output includes "--with-curl"? – ciupinet Oct 13 '11 at 09:20
  • ciupinet, thank you. i have updated my question. and putted the screeshot. – enjoylife Oct 15 '11 at 02:15

1 Answers1

0

My guess is you are missing SSL support from your PHP and that's what ZenCart actually tries to do: request a HTTPS URL. Not sure but if it runs against localhost then you also need to make sure you have something listening on port 443.

chx
  • 1,705
  • 2
  • 16
  • 25