Re: Loading Images from PHP broken on Redhat Enterprise
| From: | Kevin Smith | Date: | Wed, 16 Nov 2005 23:44:27 +0000 |
| Subject: | Re: Loading Images from PHP broken on Redhat Enterprise | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225944@lists.php.net to get a copy of this message | ||
HI Robert,
I have checked both phpinfo() and php -i via the cli as follows and both produce the expected results. Also phpinfo() shows the exact same "Configure Command" data for both servers.
Server #1
[root@de006102 limiteds_v2]# php -i | grep ini
Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini
Server #2
[root@S76017 domains]# php -i | grep ini
Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini
Also both php.ini files have PHPSESSID specifically set to only work with cookies. If this was not the case, the website wouldn't work very well, which the sites do, apart from the images on Server #2. :(
Any other ideas? This is a very strange one.
To show you what happens, here's the site that works and the one that doesn't:
Server #1 (working)
http://www.limiteds.com/includes/image_load.php?image_id=8522&field_id=image_full_2
Server #2 (sad and not working)
http://www.limitedshop.co.uk/includes/image_load.php?image_id=8522&field_id=image_full_2
Regards,
Kevin
Robert Cummings wrote:
On Wed, 2005-11-16 at 18:01, Kevin Smith wrote:Has anyone come across this problem before? Also the httpd.conf and php.ini files are identical in everyway, apart from IP addresses.Did you double check in the phpinfo() output for each server that the php.ini is being loaded for where you think it's being loaded? Cheers, Rob.
Attachment: [application/x-pkcs7-signature] S/MIME Cryptographic Signature smime.p7s