In reply to:
i have one software hyprVRE that i cannot change code in and there are sevral bought scripts i cannot change in either ... support told me this could be one way... are there any negative sides to this?
Support is correct that this is "one way" to deal with your situation (I just don't think it is the best, or even a "good", way to do it). There *are* "negative sides" to doing this. In addition to the difficulty of doing it successfully in the first place (many seem to find this difficult to do), you will then be running PHP with allow_url_fopen "on", and that is a security risk. This is explained in the link that I provided in my first response. Also you should understand that DH technical support will *not* support you in doing this, so if you bork it you will be "on your own" as far as DreamHost is concerned. In reply to:
will i destroy older phpscripts allready installed on same domain?
You won't destroy the scripts, but depending upon how you configure your custom PHP installation, and the requirements of the other scripts you are running, you could introduce incompatibilities which could prevent other scripts from running.
If all those scripts are running fine as it is under DreamHost's default PHP5, and if all you change is the allow_url_fopen setting, then you should not have any problems in that regard. In reply to:
also on Manage Domains in dreamhost panel should i choose domain to run php5 here or doesnt it matter because the new installed php5 will override this setting?
If you install your custom PHP5 correctly and set it up to process all your scripts, then it doesn't make any difference how you have PHP "set" in the Control Panel. In reply to:
also the directory i see in putty hasnt got same files as the dir i see in ftpclient that is suppose to show exactlly same files??
You are looking at two different directories. Putty logs you in to your user directory (/home/hupmobile) and your FTP client is logging you into you "domain's base directory (/home/hupmobile/www.annonstoppen.com. If you view the same directory with the ls command from the shell as you are viewing from your FTP client, you should see the same contents. In reply to:
please someone help?
If you are only trying to set allow_url_fopen to "on", there is no need to compile and install your own PHP (though, again, I recommend that you *do not* do this). You can make that setting without going through all of that by using a copy of the default DreamHost PHP with your own custom php.ini file (and *that* file is where you can change the setting to turn allow_url_fopen "on") as described in the following wiki pages:
http://wiki.dreamhost.com/PHP.ini http://wiki.dreamhost.com/Custom_PHP.ini
Most find this to be much easier than installing your own PHP, but, even though it is allowed, it *also* is not supported by DreamHost, so my prior warning about being "on your own" also applies here.
Finally, one last time: I *do not* recommend that you enable allow_url_fopen for use with scripts on your shared server. This function, and other related, functions were disabled by DreamHost for good reason. If not used correctly, they introduce certain security risks and can be exploited (and they often are).
If you cannot "modify" scripts that you are running (either because you do not have the knowledge or because of commercial encrypted code), this is especially true because you do not know how safe that code really is.
--rlparker
|