Jump to content


Photo

EXIF installation


  • Please log in to reply
4 replies to this topic

#1 akop

akop
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 14 August 2006 - 10:32 PM

Hi,

I've got new hosting but there is no exif in their php. I tried to call for support and their said to me that the only thing I can do is to try to use custom php.ini that will override native configuration. I’m principally familiar with this method but I’m not quite sure that it is really possible to get exif working on the linux server where php was not originally compiled with exif.

Any suggestions would be very much appreciated!
akop


#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 15 August 2006 - 11:02 AM

Run this:
<?php
phpinfo();
?>

Look in the Configure Command row. Look in the coloumn next to it to see whether you can see --enable-exif

if not then you'll have to see if your host will recompile PHP with the --enable-exif command option. As thats the only way to enable the exif extension on a unix based server.

Also before you ask your host make sure your site is not hosted of a Windows box, by running the code above look for the System row. To the right of that it should state what OS the server is running on. If its Windows then you should be able to enable it through the php.ini.

#3 akop

akop
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 21 August 2006 - 06:53 AM

Thank you wildteen88,

It is linux hosting and there is no exif in phpinfo and I actually tried to ask my hosting provider whether it is possible to change php configuration but the only answer I got - is that "You can enable modules within your php.ini file."
They do not want to provide any farther assistance.  >:(

regards,
akop

#4 shoz

shoz
  • Staff Alumni
  • Advanced Member
  • 600 posts

Posted 21 August 2006 - 01:50 PM

It's possible that they have modules sitting in the directory listed in the "extension_dir" that you can use. If they're compiled after the initial core php installation there won't be a listing in phpinfo. I'm assuming this is a CGI setup, seeing how I don't know how they'd do this otherwise (ie your custom php.ini). This is shared hosting?

Look for the following line in your php.ini and remove any ";" that may be at the beginning of the line.
extension=exif.so
If it's not there, try adding it.

It's also possible the person you spoke to doesn't really know the answer or is purposely misleading you.

#5 akop

akop
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 24 August 2006 - 01:14 AM

Hi shoz,

I appreciate your help!

Yes this is a shared histing.

I looked for extension_dir in the phpinfo() and it is /usr/local/lib/php/extensions/no-debug-non-zts-20020429. It looks like I have no access to it.

I tryed to put extension=exif.so into my custom php.ini and it didn't help. At the same time I got new reply from provider:
"Thank you for contacting customer support. Unfortunately, we cannot install this module. If you wish to have control over the server to install your own module you will need to purchase a virtual dedicated or dedicated server. We apologize for the confusion"

Since I don't want to pay even more then I do now for such simple thing like exif support I'm canceling my account with this provider.

I thank you all for your help!
akop




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users