Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Problem after an upgrade to php 5.0.1 and Apache 1.3.31

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Upgrade Apache 1.3 -> 2.0: Problem with CGI scripts - Hi, I'm upgrading a web server from RedHat 7.2 + Apache 1.3 to RedHat 9 + Apache 2.0. I have a bunch of CGI scripts located in a directory and, for some reasons, must use The solution in the FAQ ..

Config problem (upgrade 1.3 to 2.x :) - In my old it was possible to call a url like that. and he opened even if i didn't specified the suffix. now I upgraded to apache 2.x and this doesn't work any more :( I

Upgrade Apache from 2.0.48 to 2.0.50 - How do I do it? I sources of Apache 2.0.50 from compiled it, make, make install, and it told me it needed a lot of modules. Where do I find them? I found then Apache 2.0.50 and all the modules in rpm format, but whenever I try..

Newbie : Apache upgrade on RH9 - I am pretty new to linux and am trying to upgrade Apache 2 on RH9 to the latest version. I from the apache web site and after ran make make install all without any problems. Also when I run ..

Apache proxypass/upgrade - I;m wanting to upgrade my apache server too the latest build of apache and add the proxy mod to do proxy pass i was wondering if anyone could shine a little light on this I looked at the doc on but since it is a small upgrade i see..
Next:  Apache: disabling response headers  
Author Message
nothing_h

External


Since: Sep 13, 2004
Posts: 5



(Msg. 1) Posted: Mon Sep 13, 2004 10:29 pm
Post subject: Problem after an upgrade to php 5.0.1 and Apache 1.3.31
Archived from groups: alt>apache>configuration (more info?)

Hello,

I have upgraded, on linux redhat 8, to Apache 1.3.31 and PHP 5.0.1.
I think all was good but, POST method on Form did not work, and create of
mysql db wouldn't work ( with mysql_create_db() I have the error "Call to
undefined function : mysql_create_db()").

I think I have doing something wrong when I was installing PHP, so I have
rebuild it with a minimal configuration (just mysql, apxs, and
config-file-path ).
Nothing appens ... same problem as above.

I decided to go back to my old PHP (4.3.2) and Apache (1.3.29) ... always
same problem (and I've tested with all my config option or just basic config
option).

I need to use mysql_create_db() (yes I know it's depreciated), and of course
I need to use the post method in my form.

I've try to not specify my mysql dir when I do "./configure --with-mysql",
but I need to specify on configure of PHP where mysql is ( so I use
../configure --with-mysql=/opt/mysql ).

All other query between php and mysql seem to work fine ( and PHPMyAdmin
works fine ! ).

Anyone have an idea ? I fond nothing on google ...

Please, need help ... really !

 >> Stay informed about: Problem after an upgrade to php 5.0.1 and Apache 1.3.31 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Sep 13, 2004 10:29 pm
Post subject: Re: Problem after an upgrade to php 5.0.1 and Apache 1.3.31 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-13, NothingHere <nothing_h DeleteThis @hotmail.com> wrote:
 > I think all was good but, POST method on Form did not work

new version of PHP have the creation of global variables turned off.

 > undefined function : mysql_create_db()").

Your php is compiled without the support for mysql.

 > I decided to go back to my old PHP (4.3.2) and Apache (1.3.29) ... always
 > same problem

I think you aren't using the correct php/apache configuration.

 > Anyone have an idea?

I've installed PHP many times, always following the standard PHP
documentation, never missed.

Davide

--
Alas, I am dying beyond my means.
   -- Oscar Wilde, as he sipped champagne on his deathbed<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Problem after an upgrade to php 5.0.1 and Apache 1.3.31 
Back to top
Login to vote
nothing_h

External


Since: Sep 13, 2004
Posts: 5



(Msg. 3) Posted: Tue Sep 14, 2004 3:17 am
Post subject: Re: Problem after an upgrade to php 5.0.1 and Apache 1.3.31 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Davide Bianchi" <davideyeahsure.RemoveThis@onlyforfun.net> a écrit dans le message de
news:slrnckbooc.1j8.davideyeahsure@fogg.onlyforfun.net...
 > On 2004-09-13, NothingHere <nothing_h.RemoveThis@hotmail.com> wrote:
  > > I think all was good but, POST method on Form did not work
 >
 > new version of PHP have the creation of global variables turned off.

Ho, great, you are right ! thats works now !! thanks !!!


 >
  > > undefined function : mysql_create_db()").
 >
 > Your php is compiled without the support for mysql.

no, I have configured php using this command line :
../configure --with-apxs=/opt/apache/bin/apxs --with-mysql=/opt/mysql --with-
config-file-path=/etc

As you can see, php is compiled with mysql support ... I also tried to use
juste "--with-mysql" (and don't specify a dir), but php in configure tell me
he didn't find mysql.
So I must use --with-mysql=/opt/mysql, php find it, and works with it
(phpmyadmin works correctly).
But in some script, I always have this error " Call to undefined function
mysql_create_db() ".

So, where I'm wrong ???

Thanks !

- Nothing<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Problem after an upgrade to php 5.0.1 and Apache 1.3.31 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Tue Sep 14, 2004 8:07 am
Post subject: Re: Problem after an upgrade to php 5.0.1 and Apache 1.3.31 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-13, NothingHere <nothing_h.DeleteThis@hotmail.com> wrote:
 > But in some script, I always have this error " Call to undefined function
 > mysql_create_db() ".
 > So, where I'm wrong ???

No idea but is not in Apache. I suggest you RTFM about PHP or post on
a PHP-related group.

Davide

--
Larkinson's Law:
  All laws are basically false.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Problem after an upgrade to php 5.0.1 and Apache 1.3.31 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

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



[ Contact us | Terms of Service/Privacy Policy ]