View Full Version : php.ini file needed
malum
7th of November 2008 (Fri), 15:05
Can someone who has their own dedicated server post or PM me their php.ini file.
My server guy doesn't have much experience of PHP and would like to see what it's supposed to look like (having trouble getting imagemagick or GD 2 to work)
If it's a big file that can't be posted here I can give you my email address
TIA
Pekka
11th of November 2008 (Tue), 13:53
For imagemagick:
First test that imagemagick works from command line, and if it is installed at all. If it is not installed, it's easiest to install it via yum or up2date (in Linux) because of all the required graphics libraries. With EE Imagemagick needs only exec or passthru command from PHP. So check in php.ini that you do not have those prohibited in "disable_functions" parameter.
GD2 is bundled with latest php's. But to make it work you need to have in your configure your php compliation at least these parameters:
'--with-gd'
'--with-jpeg-dir=lib64'
maybe also
'--with-png'
'--with-png-dir=lib64'
(replace lib64 with what your server has)
malum
11th of November 2008 (Tue), 13:56
Thanks
Imagemagick is installed and works from the command line
It's a Windows server BTW.
Any chance of your php.ini file?
malum
11th of November 2008 (Tue), 16:57
Thanks
for the GD info, we now have that working
Pekka
11th of November 2008 (Tue), 18:57
I don't give or publish POTN php.ini for security reasons, sorry.
Check also folder permissions (UPLOAD and all under it to 777).
malum
12th of November 2008 (Wed), 06:55
I don't give or publish POTN php.ini for security reasons, sorry.
Check also folder permissions (UPLOAD and all under it to 777).
No problem
It's Windows so I can't do 777. However imagemagick doesn't work when all the folders are set to allow everything.
I can live without Imagemagick as long as I have GD2 :D
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.