• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: php.ini issues

php.ini issues 13 years 10 months ago #13821

  • lamster
  • lamster's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Issue solved. Found that after running RSFirewall I couldn't upload any new images (not a valid image). Then after disabling the php.ini it worked again.
Last Edit: 13 years 10 months ago by lamster.
The administrator has disabled public write access.

Re:php.ini issues 13 years 9 months ago #13978

  • dipam
  • dipam's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
How does one dissable php.ini
The administrator has disabled public write access.

Re:php.ini issues 13 years 9 months ago #14025

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello,

You can disable the php.ini file by renaming/deleting the file from your Joomla! root folder.
The administrator has disabled public write access.
The following user(s) said Thank You: baronti

Re:php.ini issues 13 years 7 months ago #14685

  • baronti
  • baronti's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
as I have enabled upload images in joomla, working with the php.ini?
The administrator has disabled public write access.

Re:php.ini issues 13 years 6 months ago #14945

Can you explain what I should add to the phpini file to allow uploading of images please. This would be great as I cant figure out what i should add in the ini file.

thanks
The administrator has disabled public write access.

Re:php.ini issues 13 years 6 months ago #15079

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello,

A description of how you can set the php.ini file and of the function that you should set in the file can be found in the Step by Step guide of RSFirewall!:

www.rsjoomla.com/presentation/RSFirewall-stepbystepguide.pdf
The administrator has disabled public write access.

Re:php.ini issues 13 years 5 months ago #15284

  • richper
  • richper's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Sr. Baronti, si tiene dificultades con su inglés, escríbalo en español y trataré de traducirlo al inglés. A veces los que saben más pueden ayudar a los que saben menos, por el bien de la comunicación intermnacional y la paz.
The administrator has disabled public write access.

Re: php.ini issues 13 years 5 months ago #15287

  • richper
  • richper's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hello Lamster:

How did you get along with your fix.

I also had problems with the php.ini.
After transfering tmp; logs; and configuration.php out of public_html I checked with RSFirewall and the PHP check showed “allow_url_fopen”; “disable_functions”; and “open_basedir” were incorrect. To fix this I included this code in the first line of .htaccess:

# To set your custom php.ini, add the following line to this file:
suphp_configpath /home/xxxxxx/public_html/php.ini

xxxxxxx= my username to get into cPanel

Everything works fine, I even got my RSFirewall rating up to 81% (leaving me as only issues to update RSFirewall and Joomla), except for uploading images (neither by frontend or backend): "Failed to upload image"

I disabled php.ini to phpNO.ini, and now I'm able to upload images (as you discovered). But, RSFirewall drops my rating to 77% because “allow_url_fopen”; “disable_functions”; and “open_basedir” aren't working.
So I tell RSFirewall to fix the problem clicking on the button and it creates a new php.ini and my rating goes up to 81% again. But now I can't upload images. I could go on and on.

So I go back to my original .htaccess (without the suphp_configpath....), that brings my rating down to 77% as RSF doesn't recognize the php.ini, but I can upload images.

I would very much appreciate some help here. Thanks.
The administrator has disabled public write access.

Re: php.ini issues 13 years 2 months ago #16347

  • sharky74
  • sharky74's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi Lamster

Did you get this sorted as I have exactly the same problem?:(

Many thanks
The administrator has disabled public write access.

Re: php.ini issues 13 years 1 month ago #16586

  • crozy
  • crozy's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
I think maybe you need to include the temp folder to allow image uploads.

Try adding to the php.ini to allow image uploads

For Linux: open_basedir=/path/to/your/root_folder:/path/to/your/temp_folder:/tmp

Let me know if it works ok.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!