| Webspace & Domain Names This is a discussion on, Proliferation of php.ini files within the Freedom2Surf forum; Question: How many php.ini files should my site have? I understood that there would be one php.ini file in the ... |
![]() |
![]() |
|
LinkBack | Thread Tools | ![]() |
|
|
#1 |
|
Join Date: Jul 2002
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
|
Proliferation of php.ini files
Question:
How many php.ini files should my site have? I understood that there would be one php.ini file in the main web directory. Instead, I'm finding php.ini files in every subdirectory within the main web directory. Is that right?
|
|
|
|
|
|
#2 |
|
Join Date: Oct 2005
Location: Kent, England
Posts: 1,646
Thanks: 0
Thanked 0 Times in 0 Posts
|
On my free webspace - which was transferred to the new hosting platform but which hasn't really been used since, I only have 1 php.ini in my public_html folder.
in it contains PHP Code:
|
|
|
|
|
|
#3 |
|
Join Date: Jul 2002
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
|
In my public_html folder there are several subdirectories and in public_html as well as in each and every subdirectory there is a php.ini file. That's why I was wondering if this is supposed to be like this.
|
|
|
|
|
|
#4 |
|
Join Date: Jun 2004
Location: Kent
Posts: 3,760
Thanks: 1
Thanked 6 Times in 6 Posts
|
This does seem a bit strange, but looking round my webspace now I've also got a php.ini file in every folder which has PHP files in (it's not in directories with just images in). Each one just contains the code acidtechno posted above to enable register globals.
__________________
Adam |
|
|
|
|
|
#5 |
|
Join Date: Oct 2005
Location: Kent, England
Posts: 1,646
Thanks: 0
Thanked 0 Times in 0 Posts
|
It's obviously a result of having your webspaces transferred? a php.ini was automatically put in every folder that also had php files in? but is this really needed?
|
|
|
|
|
|
#6 |
|
Join Date: Apr 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
You bhoys are lucky........
I don't have any php.ini files at all
__________________
http://armchaircelts.co.uk/ |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moving files in web space! | grumpyoldgeezer | Webspace & Domain Names | 1 | 20-07-2007 05:37 PM |
| Problem receiving files on msn messenger | mark | General Computing and Internet | 1 | 07-11-2005 02:45 PM |
| .Reg files as MP3's ? | Stixbit | Webspace & Domain Names | 5 | 13-09-2005 04:26 AM |
| How do I 'unload' files from my webspace? | Debwest | Webspace & Domain Names | 2 | 05-01-2005 08:54 PM |
| ZIP files in my webspace | ianpollock | Webspace & Domain Names | 2 | 03-01-2004 02:06 PM |
All times are GMT. The time now is 10:20 PM.








