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



View Profile WWW Email
« Reply #45 on: 09/17/02, 13:18 »

Hey vesa,
I reinstalled Apache today and it works! Smiley
But I still have three questions.
When the Apache window is open the Apache icon on the toolbar is not green. Is that normal?
Secondly, I cannnot type anything in the Apache MS-DOS window. Is that normal?
Finally, whenever I start the computer, an error message saying that the ApacheServer.Ink shortcut is unfindable (i dont know how to say it) appears. It says I have to connect to Internet for it to start. Is that normal?

Thanks a lot for the help.
Logged
bluefalcon
Server what's that
*
Posts: 8


59589457 bluefalcon78@hotmail.com
View Profile WWW Email
« Reply #46 on: 09/27/02, 22:15 »

Hey guys im sure i configed everything right but when i got http://loacalhost/phpinfo.php i get a blank screen

please help...
Logged
bluefalcon
Server what's that
*
Posts: 8


59589457 bluefalcon78@hotmail.com
View Profile WWW Email
« Reply #47 on: 09/28/02, 00:41 »

Hey people....my Apache is really screwed now it says no services installed...can someone please help me

COntact

ICQ: 59589457
MSN: bluefalcon78@hotmail.com
Logged
bluefalcon
Server what's that
*
Posts: 8


59589457 bluefalcon78@hotmail.com
View Profile WWW Email
« Reply #48 on: 09/28/02, 05:38 »

Now Apache is working

But when i try to do something PHPish i gt a blank page like the

<? phpinfo () ?> commanf

THanks peepls
Logged
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #49 on: 09/28/02, 06:01 »

HEy guys, I tried Apache 1.3 and it works better for me. I was just wondering... how do you change this line :
LoadModule php4_module c:/PHP/sapi/php4apache2.dll     Huh
thanks a lot
Logged
bluefalcon
Server what's that
*
Posts: 8


59589457 bluefalcon78@hotmail.com
View Profile WWW Email
« Reply #50 on: 09/28/02, 06:23 »

btw..im using apache_2.0.40

is this the problem?
Logged
bluefalcon
Server what's that
*
Posts: 8


59589457 bluefalcon78@hotmail.com
View Profile WWW Email
« Reply #51 on: 09/28/02, 17:40 »

Change it to

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

Cheesy thats should do it...

can anyine help em wiht

the above posts questions, Thanks

-Falcon
Logged
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #52 on: 09/29/02, 06:07 »

thanks a lot blufalcon Cheesy

Someone told me not to use Apache 2 yet, because it is in beta version. So that's why I'm not using it. And anyway, it's not working
Logged
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #53 on: 09/29/02, 06:18 »

THis is in connection with the E-mail in Flash with PHP tutorial: To test it, in which directory do you have to put the files ?
Logged
vesa kortelainen
Administrator
Systems Administrator
*****
Posts: 3450


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

Sorry for LATE Reply,
Quote
I reinstalled Apache today and it works!
But I still have three questions.
When the Apache window is open the Apache icon on the toolbar is not green. Is that normal?
Secondly, I cannnot type anything in the Apache MS-DOS window. Is that normal?
Finally, whenever I start the computer, an error message saying that the ApacheServer.Ink shortcut is unfindable (i dont know how to say it) appears. It says I have to connect to Internet for it to start. Is that normal?


Godo that ur apache works. I don't know about a icon in toolbar..And You 2nd question, it's normal that you CAN'T write anything in Apache ms-dos window. And 3rd Question, well, I think it's the link to your apache.exe or to www.apache.org - I perfer that it's link for your apache.exe , well, then do new shortcut.. Smiley

Good luck.. Smiley

vesa
Logged
Clueless
Server what's that
*
Posts: 23



View Profile WWW
« Reply #55 on: 10/04/02, 09:12 »

Im running into and ood problem with apache 2.0.42 and PHP 4.2.3

I installed the server using the *.exe file provided from the apache website, then downloaded the php-4.2.3-Win32.zip file from php.net, and extracted it to a folder on the c drive named PHP.

I printed the tutorial from the site, and begun working on it asap.

So far so good... I edited the recommended php.ini file to specify the doc_root And edited the apache httpd.conf file for apache. In this file I included the following lines related to PHP:

LoadModule php4_module C:\PHP\experimental\php4apache2.dll
AddType application/x-httpd-php .php

The dll file I copied it from the sapi directory that was created at the time of extraction of the zip distribution package.

Having tested the php through the php.exe, and seeing the ini was not reported as wrong by windows xp pro ( ntfs file system ) with the -i option, and seeing it seems to work fine, I proceed to restart the apache server.

The apache server will not restart even after a system reboot. System event viewer reports that it cannot load the module, that its composed of two sets of information, etc...

If I comment out the LoadModule line, the server starts fine, but of course php is not being loaded at all except in Windows itself, not on apache. Also left a copy in the php/sapi folder of the php4apache2.dll, but even if I change the loadmodule path to the sapi dir the result is the same. Plz note that the experimental folder only contains that dll, nothing else, but even when I add all others the result is the same.

Im at a looss for ideas on what to do, and need help badly.

Thanks in advance for any and all help you may provide.
Logged

MX.... Maximum pains to get used to it all over again?
Manojo
Server what's that
*
Posts: 30



View Profile WWW Email
« Reply #56 on: 10/04/02, 11:40 »


Sorry for LATE Reply,

Godo that ur apache works. I don't know about a icon in toolbar..And You 2nd question, it's normal that you CAN'T write anything in Apache ms-dos window. And 3rd Question, well, I think it's the link to your apache.exe or to www.apache.org - I perfer that it's link for your apache.exe , well, then do new shortcut.. Smiley

Good luck.. Smiley

vesa


Thanks a lot vesa, it has all started working Grin
Logged
LinX
Server what's that
*
Posts: 2



View Profile WWW Email
« Reply #57 on: 11/08/02, 15:03 »

Hello,  im a new to apache and php and im having the same problem as clueless
im running Apache 2.0.43 and php-4.2.3-Win32.zip. I followed the steps from flashkit   and everything worked fine, But when i finished setting up everything for php( i folled the updated tutorial u guys have here to install php),apache wont start unless i remove the "LoadModule php4_module c:/PHP/sapi/php4apache2.dll". I even tried what Kinsbane said about adding the line "Action application/x-httpd-php /php/php.exe", but still it wont Start.

Im using WinXp ,i installed the php.ini in my C:\WINDOWS dir and then i copyed php4ts.dll and I also copyed all the dlls files in c:\PHP\dlls\  and put them in the C:\WINDOWS\system folder, since it didnt work  i  changed the dir from system to  system32(thinking maybe i put it in the wrong folder),no matter how i do it  i get "operation has failed" so i  cant ever start Apache with the LoadModule php4_module...  


Does anyone know what the problem might be? thnx.



ps:Maybe i didnt understand the tutorial well and i have to copy the entire dlls folder and put it in my system folder as C:\WINDOWS\system\dlls\ ?  nm that doesnt work either :\
« Last Edit: 11/08/02, 15:07 by LinX » Logged
Clueless
Server what's that
*
Posts: 23



View Profile WWW
« Reply #58 on: 11/10/02, 09:08 »

The solution to install apache 2.0.4x and PHP 4.2.X I have found is that you cannot load as modules the php dlls unless you download the apache source and proceed to compile it yourself, for your own specifications.

To say that Im utterly disapointed with apache, is to put it mildly. I have stopped recomending my customers to use apache, as of late there seems to exist a trend from apache foundation to behave like complete jerks, and ignore the coments and ideas people bring in.

Having said this, if you still wish to install the crumy 2.0.4x versions ( I've gone back to 1.3.27 ) in order tonm install php what yu must do, is unless you how to compile it yourself, install php as a CGI type of appplication.

How we do this? simple, unzip the php version you have, into a folder named PHP on your apache root folder ( C:\Apache\php ).

Next create your php.ini as the tutorial explained, and then edit your apache httpd.conf file. In this file go to the end of it, to the very last line, and hit enter once to leave a blank line, then proceed to write there the lines I put here:

ScriptAlias /php "C:/Apache/php/"
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php .php4 .php .phtml .php3
AddType application/x-httpd-php-source .phps

<Directory "C:/Apache/php">
   AllowOverride None
   Options None
   Order allow,deny
   Allow from all
</Directory>

Reboot your machine, and test php as explained in the tutorial. On word of advice I'd give is to create  your web folder outside apache's root folder, since its easier not mess up the whole thing this way.

Anyway, this is the solution for installing apache and php on Windows XP Professional ( it works even if you have installed SP1 ).

Hope this helps you all, and btw Im running PHP 4.2.4 dev and works like a charm, not a single glitch on any servers Ive tried it on.
Logged

MX.... Maximum pains to get used to it all over again?
Juan Cordoba
Server what's that
*
Posts: 1



View Profile Email
« Reply #59 on: 11/10/02, 13:52 »

Hi
I installed Apache and it worked fine, after I tried installing PHP 4.2.23 and when I have to start Apache i get the following error  cannot load c:/PHP/sapi/php4apache2.dll into server. A device attached to the system is not functioning.
What is the problem?
Thanx  Smiley
Logged
Pages: 1 2 3 [4] 5 6 ... 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