Welcome, Guest. Please login or register.
Did you miss your activation email?
02/07/12, 08:05
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  The Library
| |-+  Technical Reference Area (Moderators: Flash-db, Musicman, BurtonRider1983, vesa kortelainen, Ronald Wernecke, Jorge Solis)
| | |-+  PHP 4.2.2 + Apache 2.0.39 (Windows)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 ... 3 4 [5] 6 7 8 Print
Author Topic: PHP 4.2.2 + Apache 2.0.39 (Windows)  (Read 104320 times)
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


View Profile
« Reply #60 on: 11/12/02, 10:00 »

Hey Juan,
Quote
cannot load c:/PHP/sapi/php4apache2.dll into server
In that new PHP version, the .dll file has changed the name, I thought. I try answer you soon as possible.

Manohar, great to heard that
Quote
Thanks a lot vesa, it has all started working  
- everything working now Smiley

uum.. Now I gotta go back to my "help desk" work.. Laters all! Smiley

Vesa
Logged
LinX
Server what's that
*
Posts: 2



View Profile WWW Email
« Reply #61 on: 11/12/02, 17:32 »

Great  ill install php as a CGI type appplication and see how it goes  :)
thnx for the quick reply clueless.


  LinX
Logged
Fernando Díaz del Castillo H.
Server what's that
*
Posts: 3



View Profile Email
« Reply #62 on: 11/29/02, 03:32 »

Hi.
After installing PHP following the tutorial I got a problem similar to the one that clueless solves.
Facts:
1)I couldn't get apache 2.0.39 (the one in the tutorial), so got the 2.0.43.j Works fine.
2)I couldn't get the php 4.2.2, got the 4.2.3.
3) My computer is running on the **@//!!&#* WinME. Embarrassed

After changing the httpd.conf, apache doesn't work and closes the DOS window it runs in before I can read anything. I ran it from the DOS window directly and got this error:
APACHE.EXE: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not compatible with this version of Apache (found 20020628, need 20020903).
Please contact the vendor for the correct version.

This could be a stupid comment Embarrassed, but there's no such c:\php4build\ in my computer, only the c:\php that was created when unzipping.

I did try clueless' solution, but it didn't work either. Apache works, but not PHP. There are no services in the monitor (and php scripts don't run), but http://localhost loads my homepage.
I tried different solutions (not really knowing what I did): since my apache is not in c:\apache but in c:\archivos de programa\apache group\apache2\, I put PHP in the folder c:\archivos de programa\apache group\apache2\PHP.
I changed the parts in clueless' code that refer to c:\apache\ for c:\archivos... etc. No luck.

And a second question... how do I stop apache (turn it off) without closing the DOS window abruptly?

Thanks for your ideas.
Logged
MEtal Fusion
Guest
« Reply #63 on: 12/18/02, 05:00 »

i get a "The requested operation had failed" error when starting apache upon installing php 2.3.4 on apache 2.0.43

Any ideas?

Thanks
Logged
nightelf
Server what's that
*
Posts: 12



View Profile Email
« Reply #64 on: 12/24/02, 02:09 »

I'm using PHP 4.2.3
I have to same problem after I modified the httpd.conf too
The apache2 works before I modified and after I remarked my modification....

What is the problem please??
Logged
Raven
Server what's that
*
Posts: 11



View Profile WWW Email
« Reply #65 on: 01/25/03, 18:07 »

Hello

I am on Windows XP. I have apache 2.0.39, php 4.3.0 and mysql 3.23.54 . My apache and php work good. Still i have 2 problems:

1. When i try to open a file.php renamed from file.html i get
Code:
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
. But i don't get this always, just at few files.

2. People from internet can't access my server. They receive
Code:
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
.

I installed apache 2.0.39, php 4.3.0 and mysql 3.23.54 before on Windows 98 and i didn't had this 2 problems.
Logged
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


View Profile
« Reply #66 on: 02/28/03, 09:44 »

uhm..

I need think about all this page 5's questions..

Sorry for everybody for an externally-late reply..

Undecided
Logged
R@x
Server what's that
*
Posts: 1



View Profile Email
« Reply #67 on: 03/24/03, 19:13 »

ok guys, this is my 1st. post in this very useful site...

it took me the whole day realize how make to work apache 2.0.44 + PHP 4.3.2-RC1 (both are the latest versions).

This solution is related with the file php4apache2.dll.

I guess this tip will help most of u w/ ur problems... even if ur are not working w/those specific versions, the changes u have to do to the tutorial are 2:
(or at least the steps that made the difference to me)

1) Copy the file C:\PHP\sapi\php4apache2.dll to the folder C:\Program Files\Apache Group\Apache2\modules

2) Change the line of this tutorial:

LoadModule php4_module c:/PHP/sapi/php4apache.dll

(I tried thousand of times using this line but never worked, after a couple of times I realised this was the line causing the apache not to work)

by

LoadModule php4_module modules/php4apache2.dll


... ok that's it !, restart the apache service, this should make the difference.

================================================================

only those 2 modifications are all what I did to this tutorial, in order to get working the latest versions of apache 'n php, follow each step of the tutorial cuz' everything else is ok, only those 2 steps are missed.

notice ur pointing the .dll file to the folder 'modules' which is inside the installation directory of apache.

I hope this magic tip that came to my mind  Grin will solve a lot of ur problems guys.

Greetings  Wink
« Last Edit: 03/24/03, 22:34 by R@x » Logged
bal
Server what's that
*
Posts: 2



View Profile Email
« Reply #68 on: 04/12/03, 08:29 »

Hey, Ive installed Apache and php.  Ive worked through the tutorial and the phpinfo.php page works fine.

By the way the ppl that got a message to download this file during that exercise instead of the page actually showing - all you have to do is restart Apache from the services panel in the control panel after you have set up php and it works fine.

My problem is with mysql.  Ive installed mysql, completed the user and password stage no problems.  Ive followed the steps in  "Exercise: Testing if MySQL is running" and when i test for this by typing "http://localhost/TestSQL.php" im getting the "Uh Oh, Could not connect". Ive checked my username and password and its matching.  Ive even reinstalled mysql three times and restarted Apache every time.  Still same result.  MySQL is placed in my `c:/mysql`.  

I have windows 2000 and all service packs installed (ive disabled iss 5.0 services)

The version i downloaded and installed is mysql-4.

The Apache i downloaded and installed is Apache_2.0.45-win32-x86-no_ssl

has anyone got clues to how i can make this connection?? Huh
Logged
bal
Server what's that
*
Posts: 2



View Profile Email
« Reply #69 on: 04/12/03, 13:08 »

ok i managed to solve me own problem!! i needed the $ sign before the user and password.
Logged
[CF] m0nk3y
Server what's that
*
Posts: 1


i am teh winn0r


View Profile WWW
« Reply #70 on: 04/22/03, 23:03 »

Just read the tutorial (on installing Apache, PHP and mySLQ), it was pretty good although some more links to other more specific tuts would have been nice (for instance a link for one at the end of the mySLQ page) but it's hard to improve on perfection Smiley

At any rate i have a solution for your note on the top of the page dealing with the installation of PHPmyAdmin about the *nix style line formatting: open it up in wordpad (which has been bundled with windows since 3.11), and save it. It can read the alternate, and it's default is to save it windows style. Sometimes you have to edit the file a bit before it'll truely save it, just add an extra newline at the end or something.
Logged

m0nk3y @ www.canadaforums.com

"A neurotic builds castles in the air. A psychotic lives in castles in the air. And a psychiatrist is the guy who collects the rent."
Shivendra Patrabansh
Server what's that
*
Posts: 2



View Profile WWW Email
« Reply #71 on: 05/03/03, 11:49 »

Jeff

Have a question for you

I have used the tutorial to install Apache 2.0.45 PHP 4.3.1 and MySQL 4.0.12-win in Windows XP. I have been successful in installing PHP and Apache. But the mySQL doesnt work. When using thetest page in the tutorial for mySQL I get the message

Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'cven@127.0.0.1' (Using password: YES) in C:\Program Files\Apache Group\Apache2\htdocs\testSQL.php on line 2
Uh Oh, Could not connect

In the PHPInfo page the mySQL part shows this

Client API version  3.23.49  

Is this a problem? Is there problem in mySQL installation?


what could be the problem, can you guide me.

Also in the WinMySQLAdmin 1.4 that comes with teh mySQL, there are four options for mysqld file.

mysqld
mysqld -opt
mysqld -nt
mysqld -max
mysqld -max-nt

Which do I use for WinXP.


Logged
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


View Profile
« Reply #72 on: 05/08/03, 10:02 »

Shivendra Patrabansh, i had problem with MySQL with XP Pro, i was using older version.. I downloaded the one tutorial says and everything is working fine. That's just my case..

Quote
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'cven@127.0.0.1' (Using password: YES) in C:\Program Files\Apache Group\Apache2\htdocs\testSQL.php on line 2
Uh Oh, Could not connect
Okay, so, MySQL is installed, there is just some settings wrong.. what's up in line2 @ testSQL.php file ?

Sorry for everyone to a late replies !  Undecided
Logged
Shivendra Patrabansh
Server what's that
*
Posts: 2



View Profile WWW Email
« Reply #73 on: 05/08/03, 11:47 »

I solved it myself finally. The problem was the register_globals. It sed to be on by default in old versions but due to some security problems is off by default in new versions. Turnin git on solved my problem.
Logged
Matt
Server what's that
*
Posts: 1



View Profile Email
« Reply #74 on: 05/20/03, 00:00 »

your instructions worked great - now i have to edit the localhost and supply it with my domain name ect - i should just change all the localhost to www.domain.com ? - and after that install mysql and phpadmin? what are some suggestions you can supply me with?
Logged
Pages: 1 ... 3 4 [5] 6 7 8 Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything