If you need some custom PHP settings for any of your directories you will need to use a custom php.ini file. Please note that the custom php.ini file you create is only valid for the directory you upload it in. The php.ini file is a normal text file created with your text editor. In that file you must put only the changes you need done. For example, if you want to enable register_globals for one directory you must create a php.ini file and put the following line in it.
register_globals = On
If you want to have the changes for all your subdirectories under public_html you should upload the php.ini in your public_html folder and add the following line to .htaccess:
SuPHP_ConfigPath /home/username/public_html/php.ini
Replace username in the path above with the cPanel username of the account you are setting up the php.ini for. Once you do the changes you can verify if it works by uploading a php script info.php with the following content in it:
<? phpinfo(); ?>
If you want to add extensions, you can add it in following ways
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
1 comment
Trackbacks and pingbacks
-
best free premade design resources download
...Recommended websites [...]Can I just say what a relief to find an individual who actually knows what they're discussing on… -
meilleur traiteur rabat maroc
Traiteur Rabat Regal; Traiteur de ronome au Maroc This is my expert -
Seoengine
...[Trackback] [...] What host are you the use of? Can I am getting your associate link for your host? I… -
wholesale jerseys
wholesale jerseys... political state, things damaged thus Yanjun fundamental Yue chi yearly six months, a lot of than 70 locale.… -
Homepage
... [Trackback]... [...] Informations on that Topic: legaladvisorsnepal.com/labour-act2048-1992/ [...]... -
oak home
oak home... This article is really wally, a friend gave me a look. I catched sight of, I would like… -
oakleys home
oakleys home... This article made me bright up. After doing some reading of this article, I inspired a lot. I… -
back pain exercises
back pain exercises... I visit daily a few web sites and sites to read articles or reviews, however this blog… -
How to Win On Qubidz
Bid-Ninja... [...]while the sites we link to below are completely unrelated to ours, we think they are worth a read,… -
Norman Haga
Norman Haga... Nice post. I learn something totally new and challenging on blogs I stumbleupon every day. It's always interesting… -
back pain stretches
back pain stretches... Good day! I could have sworn I've been to this site before but after checking through some… -
Child Health Insurance
Child Health Insurance... Good information thank you closely monitor your success.... -
Calorie
Calorie... wonderful post, thank you.... -
Baby Care
Baby Care... very good and cool,thank you for your sharing.... -
Shristi Kalmera
Where can I get some sample documents to download? I believe, I need to write these documents before I can…
Thank you for every other great article. Where else could anybody get
that type of information in such a perfect manner of writing?
I’ve a presentation subsequent week, and I am at
the search for such info.