Apache2/PHP4, is there an issue?
Hi all, I just upgraded to SuSE 9.1 Personal and found that an apache1 package didn't exist so I installed apache2. I have a program that worked before, under SuSE 9.0 and apache1/php4, but it doesn't work now. The error message is: Fatal error: Call to undefined function: session_start() I've heard bad things about PHP4/Apache2. Is this error because of an incompatibility between PHP4 and Apache2 or is it the program? If it is because of Apache2, what can I do? Do I need to install PHP4/Apache1? Can I do that via YaST or do I have to via src? ----- Mike Marseglia :: mike@ponaganset.org
On Tuesday 29 June 2004 5:51 pm, mike@ponaganset.org wrote:
Hi all, I just upgraded to SuSE 9.1 Personal and found that an apache1 package didn't exist so I installed apache2.
I have a program that worked before, under SuSE 9.0 and apache1/php4, but it doesn't work now. The error message is:
Fatal error: Call to undefined function: session_start()
I've heard bad things about PHP4/Apache2. Is this error because of an incompatibility between PHP4 and Apache2 or is it the program? If it is because of Apache2, what can I do? Do I need to install PHP4/Apache1? Can I do that via YaST or do I have to via src?
If you haven't run YOU since installing apache2, then do so. There are issues with apache2/php4 that get patched with the first YOU update after you install them. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.75-default
Thanks Scott. I did that and it seems to be working OK, though the vendor's website still cautions against it. I don't understand enough of the goings on between Apache2 and PHP4. Scott Leighton writes:
On Tuesday 29 June 2004 5:51 pm, mike@ponaganset.org wrote:
Hi all, I just upgraded to SuSE 9.1 Personal and found that an apache1 package didn't exist so I installed apache2.
I have a program that worked before, under SuSE 9.0 and apache1/php4, but it doesn't work now. The error message is:
Fatal error: Call to undefined function: session_start()
I've heard bad things about PHP4/Apache2. Is this error because of an incompatibility between PHP4 and Apache2 or is it the program? If it is because of Apache2, what can I do? Do I need to install PHP4/Apache1? Can I do that via YaST or do I have to via src?
If you haven't run YOU since installing apache2, then do so. There are issues with apache2/php4 that get patched with the first YOU update after you install them.
Scott
----- Mike Marseglia :: mike@ponaganset.org
mike@ponaganset.org wrote:
Thanks Scott. I did that and it seems to be working OK, though the vendor's website still cautions against it. I don't understand enough of the goings on between Apache2 and PHP4. Scott Leighton writes:
On Tuesday 29 June 2004 5:51 pm, mike@ponaganset.org wrote:
Hi all, I just upgraded to SuSE 9.1 Personal and found that an apache1 package didn't exist so I installed apache2. I have a program that worked before, under SuSE 9.0 and apache1/php4, but it doesn't work now. The error message is: Fatal error: Call to undefined function: session_start() I've heard bad things about PHP4/Apache2. Is this error because of an incompatibility between PHP4 and Apache2 or is it the program? If it is because of Apache2, what can I do? Do I need to install PHP4/Apache1? Can I do that via YaST or do I have to via src?
If you haven't run YOU since installing apache2, then do so. There are issues with apache2/php4 that get patched with the first YOU update after you install them. Scott
----- Mike Marseglia :: mike@ponaganset.org
I still have one issue with apache2/php/mysql, it won't work with mysql, bad username/password for stuff like phpMyAdmin, phpwebsite, anything in php that needs to use mysql. All modules are installed and the databases are accessible from the command line. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer ===== LINUX ONLY USED HERE =====
On Thursday 01 July 2004 1:22 am, Sid Boyce wrote:
I still have one issue with apache2/php/mysql, it won't work with mysql, bad username/password for stuff like phpMyAdmin, phpwebsite, anything in php that needs to use mysql. All modules are installed and the databases are accessible from the command line. Regards Sid.
Did you check the register_globals setting? It defaults to off since php 4.2 or so? http://www.zend.com/zend/art/art-sweat4.php Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.5-7.75-default
Scott Leighton wrote:
On Thursday 01 July 2004 1:22 am, Sid Boyce wrote:
I still have one issue with apache2/php/mysql, it won't work with mysql, bad username/password for stuff like phpMyAdmin, phpwebsite, anything in php that needs to use mysql. All modules are installed and the databases are accessible from the command line. Regards Sid.
Did you check the register_globals setting? It defaults to off since php 4.2 or so? http://www.zend.com/zend/art/art-sweat4.php
Scott
Yes, also the comments in php.ini and it is set to off, I haven't yet tried with it set to on. It did work in 9.0, so I did not check whether it was on or off then. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer ===== LINUX ONLY USED HERE =====
autoglobals was off in 9.0. I ran into the same problem and had to set it to
on. It's a security risk but so much of the existing authentication makes
use of the autoglobal features.
--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--
----- Original Message -----
From: "Sid Boyce"
Scott Leighton wrote:
On Thursday 01 July 2004 1:22 am, Sid Boyce wrote:
I still have one issue with apache2/php/mysql, it won't work with mysql, bad username/password for stuff like phpMyAdmin, phpwebsite, anything in php that needs to use mysql. All modules are installed and the databases are accessible from the command line. Regards Sid.
Did you check the register_globals setting? It defaults to off since php 4.2 or so? http://www.zend.com/zend/art/art-sweat4.php
Scott
Yes, also the comments in php.ini and it is set to off, I haven't yet tried with it set to on. It did work in 9.0, so I did not check whether it was on or off then. Regards Sid.
-- Sid Boyce .... Hamradio G3VBV and keen Flyer ===== LINUX ONLY USED HERE =====
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
mike@ponaganset.org wrote:
Hi all, I just upgraded to SuSE 9.1 Personal and found that an apache1 package didn't exist so I installed apache2. I have a program that worked before, under SuSE 9.0 and apache1/php4, but it doesn't work now. The error message is: Fatal error: Call to undefined function: session_start() I've heard bad things about PHP4/Apache2. Is this error because of an incompatibility between PHP4 and Apache2 or is it the program? If it is because of Apache2, what can I do? Do I need to install PHP4/Apache1? Can I do that via YaST or do I have to via src? ----- Mike Marseglia :: mike@ponaganset.org
Have you got package php4-session installed?
Hi List, Does anyone have any idea what I need to load (rpm's etc) in order to get my Standard Server 8 box running the dhcpd daemon. I am not sure how to get this installed and running since I did not select it as a server option when I initially loaded the server. I cannot simply reload the server so I have to learn how to do it manually. Any help would be appreciated, thanks in advance. Jonathan Hughes Tech Support Specialist MCP / MCSD Goodyear South Africa
Does anyone have any idea what I need to load (rpm's etc) in order to get my Standard Server 8 box running the dhcpd daemon.
Go into YaST, add/remove software, choose the search option for packages and search for dhcp. You should get a list of packages - of which you need to select "dhcp-server", which will automatically select its required packages. Fron there all you need to do is edit /etc/dhcpd.conf according to your needs (or use the YaST module if you've installed it) and set dhcpd to start from the runlevel editor. Good luck! Jesse
participants (7)
-
David Rankin
-
Jesse Pretorius
-
jonathan_hughes@goodyear.co.za
-
mike@ponaganset.org
-
Neville Cobb
-
Scott Leighton
-
Sid Boyce