Reply to Re: use virtual hosts to develop locally but upload throws error in source file references

Your name:

Reply:


Posted by Jerry Stuckle on 01/23/07 02:32

Michael Fesser wrote:
> .oO(Jerry Stuckle)
>
>> Michael Fesser wrote:
>>> Depends. I'm on a shared host and can use my own php.ini.
>>>
>> Not really,
>>
>> If they're using the CGI version of PHP (instead of the Apache
>> extension), you can use a subset of the php.ini in your directory. But
>> unless they have no concerns about security (or don't understand
>> security), you won't be able to put all the possible options in it.
>
> True. But it's more than enough. Additionally many of the most-used
> directives are PHP_INI_ALL, so they can be set everywhere.
>
> Micha

Maybe it's more than enough. Maybe not. It all depends on what they
allow you to set.

And if you ever change hosts to someone using the Apache extension,
you'll be SOL. It's even worse if you change to a Windows host.

The bottom line is - this doesn't work on every system. The
$_SERVER['DOCUMENT_ROOT'] does.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация