Welcome, Guest. Please login or register.
Did you miss your activation email?
02/08/12, 09:25
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 5 Guests are viewing this topic. « previous next »
Pages: 1 [2] 3 4 ... 8 Print
Author Topic: PHP 4.2.2 + Apache 2.0.39 (Windows)  (Read 104339 times)
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #15 on: 08/29/02, 13:58 »

How do u know Apache is working? I know it is a stupid question, but when I start Apache, it starts normally, but I can't see the Apache icon in the icon bar.

The localhost pages are working for me, at least the index.html. I am unable to view the PHPInfo.php file. I checked the PHP.ini file twice and found no mistakes. So why?

Logged
Kinsbane
Server what's that
*
Posts: 6



View Profile WWW Email
« Reply #16 on: 09/02/02, 02:44 »


How do u know Apache is working? I know it is a stupid question, but when I start Apache, it starts normally, but I can't see the Apache icon in the icon bar.

The localhost pages are working for me, at least the index.html. I am unable to view the PHPInfo.php file. I checked the PHP.ini file twice and found no mistakes. So why?




I am having the same problem. Whenever I try to bring up localhost/PHPInfo.php, it doesn't recognize the extension as something that should be parsed - and asks me to download the file. Maybe we need to declare the php.exe as a parser file somewhere in Apache?
Logged
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


View Profile
« Reply #17 on: 09/02/02, 04:09 »

Kinsbane, Did you installed php ?

Manohar: What windows version you are using? Im using Win95 and to me Apache just open a "ms-dos window" and it works fine Wink

-Vesa
Logged
Kinsbane
Server what's that
*
Posts: 6



View Profile WWW Email
« Reply #18 on: 09/02/02, 04:16 »


Kinsbane, Did you installed php ?

Manohar: What windows version you are using? Im using Win95 and to me Apache just open a "ms-dos window" and it works fine Wink

-Vesa


Yeah, I did. I have Apache 2.0.40 loaded w/php4.2.2 as a module. But it won't process/parse for rendering to the browser a simple phpinfo() function.. weird.

I'm on XP Pro.
Logged
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


View Profile
« Reply #19 on: 09/02/02, 04:26 »

yea..it's weird..

uh, may be re-install php?  Shocked

-Vesa
Logged
Kinsbane
Server what's that
*
Posts: 6



View Profile WWW Email
« Reply #20 on: 09/02/02, 04:32 »


yea..it's weird..

uh, may be re-install php?  Shocked

-Vesa


Why?
I configured everything correctly, yet I think Apache somewhere is not recognizing something in php as being the parser.
Logged
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


View Profile
« Reply #21 on: 09/02/02, 04:34 »

check your apache conf. file..

Logged
Xty
Server what's that
*
Posts: 8



View Profile WWW Email
« Reply #22 on: 09/02/02, 08:08 »

Having the same problems as a couple of other people. The Apache Monitor does not indicate whether it is on or not. There is always a red dot on the feather in the system tray and yet I can call up the http://localhost/ and have it serve up my index page. The PHPInfo.php will not display. Any ideas out there?
Logged
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #23 on: 09/02/02, 14:23 »

Vesa Kortelainen, I'm using windows Me. Maybe it is different, but I have no Idea. Any ideas?
Logged
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #24 on: 09/02/02, 14:26 »

Is it a problem with this line?

session.save_path = c:/temp

Maybe because of the slash?
Logged
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


View Profile
« Reply #25 on: 09/03/02, 07:17 »

Manohar : Hmm. Me.. I don't know..

"session.save_path = c:/temp" <- That will save PHP session_id (PHP can create session_id and  "log" users) in your tempfolder.

The slash you using is correct. In win32 you should use "/" (As you did).
Logged
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #26 on: 09/03/02, 12:34 »

Ok thanks!
But that doesn't solve the problem for me. So what should I do? Huh
Logged
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« Reply #27 on: 09/03/02, 12:44 »

Make sure the Apache Config file is correct - probably the most important parts in this case are the lines:


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

AddType application/x-httpd-php .php .php3 .phtml .php4

Place the above lines after the large block of Load Module statements in the config file.  Make sure the Path - c:/PHP/....  is correctly pointing to the php4Apache2.dll.  And make sure you copied the dlls to the correct area in the windows/system folder as outlined in the first post of this thread.

It may be sligtly different for older versions of Windows - some of the folder names may be slightly different but the concept is the same.

If the Apache Service Monitor is not showing up in the bottom right Task Bar - then check your start Menu - for the Apache listing - it will have some sub folders for starting, stopping, and restarting the service.  

I have noticed that the Apache service monitor has some problems displaying in the task bar on older versions of windows - but you can almost always find it in the Start Menu.  

Make sure to Restart - or stop and start the Apache Server after Each change you make to either the PHP.ini file or Apache.httd configuation file.  Otherwise the changes will not show up.

Logged

-Jeff.
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« Reply #28 on: 09/03/02, 12:46 »

For the default Directory index page - find the line in the Apache httd configuration file:

DirectoryIndex index.html index.php

And change this to:

DirectoryIndex myDefaultDirectoryPage.html

That should do it.

Logged

-Jeff.
Kinsbane
Server what's that
*
Posts: 6



View Profile WWW Email
« Reply #29 on: 09/03/02, 13:02 »


For the default Directory index page - find the line in the Apache httd configuration file:

DirectoryIndex index.html index.php

And change this to:

DirectoryIndex myDefaultDirectoryPage.html

That should do it.




This is what I was referring to in my previous post, and it's what makes my Apache work - this is the .conf file generated by phptriad when it sets everything up.


Action application/x-httpd-php /php/php.exe

After I inserted this line, and restarted Apache, I was able to parse & render PHP documents.
Logged
Pages: 1 [2] 3 4 ... 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