How to configure your local php.ini??
Posted: Fri Sep 17, 2004 10:54 am
Hi newbie here.
I had finished my whole site on the test server and it run fine. When moved to the productin server, I discovered my includes and session variables don't work. I outputted phpinfo() and lo and behold - against what the sysadmin had told me - both configs are different:
test site:
include_path = /web/php/
production site:
include_path = /web/php
I fixed my include dilemma by using absolute paths but now my sessions don't work correctly.
Rather than bog you down with more woes, I want to have my own config file. I DO NOT have access to the apache or MySQL configurations and the sysasmin IS ON VACATION.
So I downloaded the recommended php.ini from php.net , set the include_path to /web/docs/stuff/morestuff/mysitedir/ and put it on mysitedir/
but still doesn't work!
What I'm doing wrong??
I had finished my whole site on the test server and it run fine. When moved to the productin server, I discovered my includes and session variables don't work. I outputted phpinfo() and lo and behold - against what the sysadmin had told me - both configs are different:
test site:
include_path = /web/php/
production site:
include_path = /web/php
I fixed my include dilemma by using absolute paths but now my sessions don't work correctly.
Rather than bog you down with more woes, I want to have my own config file. I DO NOT have access to the apache or MySQL configurations and the sysasmin IS ON VACATION.
So I downloaded the recommended php.ini from php.net , set the include_path to /web/docs/stuff/morestuff/mysitedir/ and put it on mysitedir/
but still doesn't work!
What I'm doing wrong??