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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable Session Support php5.0.5

Status
Not open for further replies.

tewari68

Programmer
Jan 25, 2005
87
US
Hi,
I upgraded to php5.0.5 (debian sarge 3.1 / apache2) when I run the phpinfo() test script I don't see any session stanza in the output, how can I enable ession support and also how can I enable mysql support as that stanza is also missing in the phpinfo() output.

Appreciate any help.
Thanks,
 
How did you install PHP? Did you install a package or compile the software from source?


Why did you update PHP to version 5.0.5, which was released a year and a half ago? The current version is 5.2.1.



Want the best answers? Ask the best questions! TANSTAAFL!
 
Hi,
I did an apt-get install for debian php5.0.5 is the only version available in debian right now.
The problem is solved I had to apt-get php-session and php-mysql also for sessions and mysql support.
However now I am getting another error message

"Fatal error: main() [function.main]: Security alert: Include filename is an URL in Unknown on line 0"

probably has to do with some php.ini settings. As no changes have been made in my code which has been running on production for more than a year with php4.x without problems.
I already have allow_url_fopen set to On in my php.ini.



The error I think is where I am using a javascript code for a pop-up window and passing a url to open in the pop-up window, but can't figure out how to correct it.

Appreciate any help.
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top