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
- Easy access webpage
- Howto protect admin.php / login.php with htaccess password
- Prevent hotlinking with htaccess and mod_rewrite
- Howto duplicate (clone) VirtualBox image in Windows 7
- Server Crash - "isc_socket_create: fcntl/reserved: Too many open files" [Howto Fix]
- Multiple Virtual Hosts on Localhost of Apache / WAMP
- Free Web-Hosting with PHP-MYSQL, FTP and no-ads
- Fix Cpanel/WHM's easyapache and up2date issue (certificate verify failed)
- Apache Error: make_sock: could not bind to
- [warn] [client 1.2.3.4] mod_fcgid: HTTP request length 137744 (so far) exceeds MaxRequestLen (131072), referer
- Url manipulation with mod_rewrite and php-catcher for beginners
- Failed to modify server : AWstats reporting is already enabled for this domain
- Kill a task and exit command line window
- 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

Post new comment