21
artigas
Re: PHP flags and site security ????
  • 2005/3/14 21:44

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings tjnemez - Thank you for your participation.

I will write an email to my hosting company pointing out that these items are configuration items and that it will take their participation to solve them.

Regards,

22
tjnemez
Re: PHP flags and site security ????
  • 2005/3/14 21:58

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey artigas,

i was able to set global to off with .htaccess, but the other i could not. in any case, i have contacted my host to see if they can help out.

23
artigas
Re: PHP flags and site security ????
  • 2005/3/14 23:31

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings tjnemez -

Could you please let me know what type of error you got when it did not work?

Thanks In Advance.
Regards,

24
tl
Re: PHP flags and site security ????
  • 2005/3/15 1:06

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:
Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.6b PHP-CGI/0.1b


Since you are running PHP in CGI mode, the php settings in .htaccess will be ignored, even you are not getting any error messsages.

You may want to check with your web host and ask for how to customize your own php.ini. You should be able to copy a server php.ini file to your cgi-bin directory where your php binary resides.

Once you have copied the file, then you would need to edit the file to secure your PHP. Good luck.

25
artigas
Re: PHP flags and site security ????
  • 2005/3/15 2:49

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings tl - Thank You for your response.

I had a PHP.INI with just the flags I needed to turn off and I uploaded to public_html\cgi-bin as you sugested. This had no effect.

I appreciate your efforts. If you have any additional sugestions please do not hesitate to make them.

26
tl
Re: PHP flags and site security ????
  • 2005/3/15 15:51

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


As suggested, you will have to contact with your host on what they allow and disallow. They may not allow you to use your own php.ini even they are running PHP-CGI. It is web host specific issue and you need to get answers from your host.

27
Dave_L
Re: PHP flags and site security ????
  • 2005/3/15 15:57

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


phpinfo() shows you which php.ini file is being used, as well as all the settings.

28
artigas
Re: PHP flags and site security ????
  • 2005/3/15 17:06

  • artigas

  • Quite a regular

  • Posts: 208

  • Since: 2004/12/21


Greetings -

A big Thank You to all that replied in this forum thread.

You generous assistance is appreciated.

Login

Who's Online

127 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 127


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits