Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different php.ini settings for two web sites

Status
Not open for further replies.

spookie

Programmer
Joined
May 30, 2001
Messages
655
Location
IN
Hi,

I have a website hosted on server having its own php.ini settings with auto_prepend file set to nothing.

I have another web site having auto_prepend in php.ini set to some value.
What is the best way i can host the other web site on the same server. The web server is apache1.3.28.

Thanks in advance for any inputs.



--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
Hi,
I am moving a site having auto_prepend file set to some value to a server which is hosting a site haiving auto_prepend file set to nothing.

--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
Does your code depend on the running of the automatically-prepended file? If not, you should just be able to ignore the problem.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
sleipnir214

The auto_prepend file contains the connection to the database and stuff.Its making use of PHPLIB library.

The website having no auto_prepend file explicitly includes the PHPLIB library files using include().
Now so when auto_prepend is set to some value, the website which includes the file will be having a redeclaration of the same class and functions.

is there any way by which i can igonre the auto_prepend file, in script ?

Thanks




--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top