pghcollectibles
06-02-2009, 11:36 AM
the setting in this title would normally be set in .htaccess if php was installed as a module. In my (our?) server it is setup as a cgi.
there is a solution to this: it can be placed in your php.ini file and is done so without the php_value part as:
auto_prepend_file = "/home/username/public_html/anypath/_prepend.php"
auto_append_file = "/home/username/public_html/anypath/_append.php"
(whatever path or filename you are using)
i have many directories and php.ini has to be in every folder i guess :(
i also have ssh.
Here's the question...
what is the unix command to copy a file (php.ini) from my public_html directory to all sub directories?
there is a solution to this: it can be placed in your php.ini file and is done so without the php_value part as:
auto_prepend_file = "/home/username/public_html/anypath/_prepend.php"
auto_append_file = "/home/username/public_html/anypath/_append.php"
(whatever path or filename you are using)
i have many directories and php.ini has to be in every folder i guess :(
i also have ssh.
Here's the question...
what is the unix command to copy a file (php.ini) from my public_html directory to all sub directories?