Hello people, I have a PHP script that used to work fine in apache 1.3.x. Yesterday, I install SuSE 9.1 and my script stop working with Fatal error: Call to undefined function: session_name() By Google, I found that phpinfo() could show me the truth and it was there : PHP Version 4.3.4 Build Date May 7 2004 18:42:35 Configure Command './configure' (...) '--disable-session' (...) So, why the hell php4.rpm from SuSE 9.1 was compiled without support for sessions? How I can enable this without breaking rpms? I suppose I have to install PHP4.src and then, compile --with-session, but what file(s) do I have to substitute (only /usr/bin/php?)? Thanks
take a closer look on the warnings that it issues. in general --in newer versions of PHP the sessions are delared as depricated as unsecure (as well as import_request_variables and others) read security-related info on their site, and take a close look on php.ini On Wednesday 26 May 2004 19:08, Mario Viana wrote:
Hello people,
I have a PHP script that used to work fine in apache 1.3.x. Yesterday, I install SuSE 9.1 and my script stop working with Fatal error: Call to undefined function: session_name() By Google, I found that phpinfo() could show me the truth and it was there :
PHP Version 4.3.4 Build Date May 7 2004 18:42:35 Configure Command './configure' (...) '--disable-session' (...)
So, why the hell php4.rpm from SuSE 9.1 was compiled without support for sessions? How I can enable this without breaking rpms? I suppose I have to install PHP4.src and then, compile --with-session, but what file(s) do I have to substitute (only /usr/bin/php?)?
Thanks
--- Mario Viana <___> wrote:
Hello people,
I have a PHP script that used to work fine in apache 1.3.x. Yesterday, I install SuSE 9.1 and my script stop working with Fatal error: Call to undefined function: session_name() By Google, I found that phpinfo() could show me the truth and it was there :
PHP Version 4.3.4 Build Date May 7 2004 18:42:35 Configure Command './configure' (...) '--disable-session' (...)
So, why the hell php4.rpm from SuSE 9.1 was compiled without support for sessions? How I can enable this without breaking rpms? I suppose I have to install PHP4.src and then, compile --with-session, but what file(s) do I have to substitute (only /usr/bin/php?)?
Thanks
-- 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
Sounds to me like SuSE is trying to make difficult to use 9.1 as a standard for a webserver without recompiling a few things. this is not the only problem on PHP and 9.1 I read of. Any suggestion/thoughts/impressions? regards, ===== Riccardo G. Facchini
--- Riccardo Facchini <abief_ag_-suseml@yahoo.com> wrote:
--- Mario Viana <___> wrote:
Hello people,
I have a PHP script that used to work fine in apache 1.3.x. Yesterday, I install SuSE 9.1 and my script stop working with Fatal error: Call to undefined function: session_name() By Google, I found that phpinfo() could show me the truth and it
was
there :
PHP Version 4.3.4 Build Date May 7 2004 18:42:35 Configure Command './configure' (...) '--disable-session' (...)
So, why the hell php4.rpm from SuSE 9.1 was compiled without support for sessions? How I can enable this without breaking rpms? I suppose I have to install PHP4.src and then, compile --with-session, but what file(s) do I have to substitute (only /usr/bin/php?)?
Thanks
[snip]
Sounds to me like SuSE is trying to make difficult to use 9.1 as a standard for a webserver without recompiling a few things. this is not the only problem on PHP and 9.1 I read of. Any suggestion/thoughts/impressions?
regards,
===== Riccardo G. Facchini
[snip] Of course, I may be wrong or just brain dead... ===== Riccardo G. Facchini
On Wed, 26 May 2004 08:09:35 -0700 (PDT), you wrote:
--- Mario Viana <___> wrote:
Hello people,
I have a PHP script that used to work fine in apache 1.3.x. Yesterday, I install SuSE 9.1 and my script stop working with Fatal error: Call to undefined function: session_name() By Google, I found that phpinfo() could show me the truth and it was there :
PHP Version 4.3.4 Build Date May 7 2004 18:42:35 Configure Command './configure' (...) '--disable-session' (...)
So, why the hell php4.rpm from SuSE 9.1 was compiled without support for sessions? How I can enable this without breaking rpms? I suppose I have to install PHP4.src and then, compile --with-session, but what file(s) do I have to substitute (only /usr/bin/php?)?
Thanks
-- 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
Sounds to me like SuSE is trying to make difficult to use 9.1 as a standard for a webserver without recompiling a few things. this is not the only problem on PHP and 9.1 I read of. Any suggestion/thoughts/impressions?
regards,
Why blame Suse because the PHP folks don't know 'backward compatability' from a deep hole? I've had to rewrite the same miserable piece of code 3 times because every time they update PHP, they change how it works. It has nothing to do with Suse at all. Mike- -- If you're not confused, you're not trying hard enough. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments,
On Wed, May 26, 2004 at 12:08:27PM -0300, Mario Viana wrote:
I have a PHP script that used to work fine in apache 1.3.x. Yesterday, I install SuSE 9.1 and my script stop working with Fatal error: Call to undefined function: session_name() By Google, I found that phpinfo() could show me the truth and it was there :
PHP Version 4.3.4 Build Date May 7 2004 18:42:35 Configure Command './configure' (...) '--disable-session' (...)
So, why the hell php4.rpm from SuSE 9.1 was compiled without support for sessions? How I can enable this without breaking rpms? I suppose I have to install PHP4.src and then, compile --with-session, but what file(s) do I have to substitute (only /usr/bin/php?)?
Okay, let's put this straight: --disable-session in phpinfo() merely says that support for sessions is not built-in. The only action one has to take is install the php4-session package (requires mm). Than php -m will list 'session' and sessions will work. Same for mysql, etc. Peter
participants (5)
-
Mario Viana
-
Michael W.Cocke
-
poeml@cmdline.net
-
Riccardo Facchini
-
Vitaly Shishakov