Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Debian and PHP
PostPosted: Fri Feb 20, 2004 9:39 pm 
Offline
Junior Member
User avatar

Joined: Tue Jul 22, 2003 1:57 am
Posts: 32
ICQ: 148043
Website: http://linuxbin.net
WLM: vitre0us@yahoo.com
Yahoo Messenger: vitre0us
AOL: vitre0us
Location: Southern California
Okay am I missing something here? I'm new to Debian, and to apt-get...

Alright I'm setting up PHP in CGI mode and went off the stable source (apt-get install apache php4-cgi php4-mysql) everything was great... except the PHP version was back from 4.1 and I would kinda like to have the 4.3 build so I stepped up to the testing source... After doing another apt-get for php4-cgi, things are no longer working. I'm getting errors of malformed headers in the logs and if I do this

dheigh:/etc/apache# php4 -v
PHP 4.3.3 (cli) (built: Nov 19 2003 23:12:29)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

It clearly shows that this is the CLI version of PHP which would make sense... it's not spitting out any headers from the script.

Soooo, is there an option to activate headers? Why would whomever managing the php4-cgi package build the CLI version and not change the name?

Or is there something about the CLI and CGI versions of PHP that I am unaware of? Are they more closely related than I realize?

Thanks guys!


Top
   
 Post subject:
PostPosted: Fri Feb 20, 2004 9:45 pm 
Offline
Junior Member
User avatar

Joined: Tue Jul 22, 2003 1:57 am
Posts: 32
ICQ: 148043
Website: http://linuxbin.net
WLM: vitre0us@yahoo.com
Yahoo Messenger: vitre0us
AOL: vitre0us
Location: Southern California
The end all be all solution to this is to compile it all myself - which I'm coming close to doing - but it's really bugging me that the apt-get packages aren't working...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group