Set auto_prepend_file with .htaccess on Hosteurope managed hosting
To set a standart auto_prepend_file for php on a dedicated root server is not a bit thing but on a virtual webhosting or managed server it could be a big issue. Because you dont have systemwide global access to httpd.conf and php.ini files.
My small solutions for Hostrurope managed virtual hosting packets:
Add this line to your .htaccess file
php_value auto_prepend_file /is/htdocs/wp1193698874_ABCDEFGH/www/auto_prepend.php
And be sure that your auto_prepend.php really exists and its path is correct.
To open a text file and edit it on Debian use "vim" command.
vim mytextfile.txt
To save changes and exit :
Press "Esc" key on your keyboard.
And give "wq" and press Enter.
To quit without save changes ESC+q! than Enter
Similar entries
- How to setup auto_prepend_file with safe mode and open basedir restriction
- 403 error after installing Nagios and Webmin (conflict)
- Server Benchmark with PHP 5 : ThePlanet, Hosteurope, Hetzner
- Howto protect admin.php / login.php with htaccess password
- Easy access webpage
- Prevent hotlinking with htaccess and mod_rewrite
- Server Crash - "isc_socket_create: fcntl/reserved: Too many open files" [Howto Fix]
- A quick question about promotional link.
- Howto duplicate (clone) VirtualBox image in Windows 7
- Apache Error: make_sock: could not bind to
- Free Web-Hosting with PHP-MYSQL, FTP and no-ads
- Fix Cpanel/WHM's easyapache and up2date issue (certificate verify failed)
- Url manipulation with mod_rewrite and php-catcher for beginners
- Could not fetch uid or gid for : root (Cpanel / WHM)
- CuteFTP or FTP Client lists just 1998 / 2000 files
- How to recursively create md5 and sha1 sum of your files.
- .htaccess examples
- XP like "Show Desktop Icon" for Windows7
- How to set up wildcard subdomains?
- Save / open .ico files (icons) with Adobe Photoshop CS4 64 / 32 Bit












Post new comment