PHP7 + Custom image URL
-
I am running WP 4.6 on 2 unbuntu servers, the only difference between the 2 is one has PHP7 and the other PHP5.5.30
I have also setup a basic grid to show items from a certain CPT, using the overlay template it will show the image from the custom image URL with the name of the post. (nothing changed, just the basic out of the box template with this plugin)
WP is installed within htdocs, and within that i created a folder (called publications) to store some images
My problem is with the server that has PHP7:
– If i give the custom image URL field the http or https URL of an image in that folder (say https://my-internal-ip/publications/image.jpg), it will not output the image in the grid.– If i choose an image from my library (aka wp-content/uploads) it will output the image
– If i enter the URL of an image on another internal server it will output the image.
– If i enter a public image URL, such has https://public-hostanme/images/image.jpg, it will output the image.On the server with PHP5.5.30 what does not work above works on this server.
If i downgrade the php7 server to php5.5.30 it will work.
What in php7 would cause something of this nature? Your help is appreciated.
Thanks.
- The topic ‘PHP7 + Custom image URL’ is closed to new replies.