Click to See Complete Forum and Search --> : Problems with apache and PHP
Toboe
12-19-2004, 11:39 PM
hi,
i cant seem to get apache to reconize any php over 4.2.3
first i tried apache 2.0.x and when i use a version over 4.2.3 i get specified module cannot be found for the php4apache2.dll file, when in fact its in the directory specified.
i then uninstalled all that and went to try out the "phpdev423" (uses Apache 1.3.27 which i prefer to use)which sad to say isnt supported by devs at all. This does the same thing except its with the php4apache.dll.
these files ARE in the sape folder where there httpd specifys yet apache is being ignorant about it. wehn i used apache before i was able to use php 4.3.6 with no problems now all these issues.
cany anyone help?
specs
xp pro
512mb ram
160 gig hd
cable modem
Toboe
01-05-2005, 10:40 PM
its been 16 days does nobody have any help to offer?
aresgodofwar30
01-21-2005, 08:36 AM
in your httpd.conf, what is the listing for php4apache.dll?
what i have done is copy the dll file into the module directory in apache and set it up like the other ones. this will only apply if you are using the module install instead of cgi install.
tsinka
01-21-2005, 12:42 PM
Hi,
did you copy php4ts.dll (or php5ts.dll) and the other dlls (depending on the extensions you want to use) to the system32 directory ?
Besides that check out www.xampp.org/en
Thomas
Toboe
01-22-2005, 01:28 AM
i installed php according to the install instructions bundled with PHP as i always have which worked before i reformated but doesnt now.
tsinka
01-22-2005, 04:32 AM
Ok,
which are the installation directories of Apache and PHP ? Did you download and install the installer version of PHP or the ZIP package ?
Thomas
Toboe
01-23-2005, 03:46 AM
treid them both.
my directories are the same as they were before i reformated when i didnt have issues upgrading.
C:\phpdev\apache and php respectively
tsinka
01-23-2005, 04:34 AM
Ok,
which were the installation steps (step by step) ?
What about trying out xampp ? That package comes with apache 2, MySQL, PHP 4.3.10, PHP 5.0.3, MySQL and much more. That package doesn't need to have anything in the system32 or windows directory. A nice feature is that you can switch between PHP 4 and PHP 5 with just one click (each of the two having a custom php.ini).
If you don't want to use xampp then I'd suggest to clean up the system and to start from the beginning again. Especially clean up the system32 directory.
Thomas
Toboe
01-23-2005, 08:14 PM
i installed xampp checking it out. although my concern is the php and mysql version it uses. 4.1.7 for mysql and php 5.0.2, those versions especially the mysql have trouble with snitz and phpBB.you know if this was addressed in xampp? (to use phpBB with those versions you had to reset mysql to the original password that is blank)
this mail server is amystery to..
Toboe
01-27-2005, 04:07 AM
i cant seem to "edit" the above...
i like xampp thanks for recomending it.. now a serious question
how to get it to use the sendmail function?
i get this with every script that uses it (and most cant be changed to external SMTP)
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for *******@*****.com in C:\apachefriends\xampp\htdocs\test4\includes\user_confirmation.inc.php on line 64
tsinka
01-27-2005, 08:27 AM
Do you use Mercury/32 ?
If yes, then open Configuration->MercuryS SMTP server and switch to the "Connection Control" tab. Add the 127.0.0.1 address and enable the checkbox "Connections from this address range may relay mail through this server". You may need to do the same for the real (private) ip address of the server.
Make sure that the SMTP server is set to localhost in php.ini
Thomas
Toboe
01-31-2005, 08:57 PM
ive done all that but the mail neverreaches me. it did on this pc. but this isnt my server pc just the pc i was using to tweak the settings so all i had to do was transfer it and bingo. i was always seeing norton scan the file then it was sent i dont know whats wrong.
using a router.. but port 25 is open.
i get this in mercury
Mercury/32 Transport System, Full SMTP Client Module v4.01a,
Copyright (c) 1993-2003, David Harris, All Rights Reserved.
This product includes software developed by the University
of California, Berkeley and its contributors. Portions of this
program are copyright (c) 1999-2001, MurkWorks Inc,
http://www.murkworks.com
Current name service information:
Hosts file : C:\WINDOWS\System32\drivers\etc\hosts
Domain :
Nameserver 1 : 255.255.255.255
19:39:37: processing job MO000160
Temporary error 249 (temporary MX resolution error) resolving 'msa.hinet.net'.
19:40:57: processing job MO000002
Temporary error 249 (temporary MX resolution error) resolving 'comcast.net'.
19:46:01: processing job MO00015F
Temporary error 249 (temporary MX resolution error) resolving 'msn.com'.
19:46:01: processing job MO00053A
Temporary error 249 (temporary MX resolution error) resolving 'comcast.net'.
19:48:25: processing job MO00053D
Temporary error 249 (temporary MX resolution error) resolving 'msn.com'.
19:48:25: processing job MO00053E
Temporary error 249 (temporary MX resolution error) resolving 'comcast.net'.
tsinka
02-03-2005, 06:27 AM
Ok,
does the PC/server with the temporary resolution errors have internet access ?
Check if the resolver works by opening a command prompt. Then execute the command nslookup and try to get the mx records of that domains, something like:
C:\>nslookup
>set type=mx
>comcast.net
Does that work (return any useful data) ?
Thomas
free69
05-23-2005, 06:49 AM
Hello, tsinka
I got the same problem and have the below message according to you instructions at the prompt windows :
Default Server: kns.kornet.net
Address: 168.126.63.1
> set type=mx
> comcast.net
Server: kns.kornet.net
Address: 168.126.63.1
Non-authoritative answer:
comcast.net MX preference = 5, mail exchanger = gateway-s.comcast.net
comcast.net MX preference = 5, mail exchanger = gateway-r.comcast.net
comcast.net nameserver = dns01.jdc01.pa.comcast.net
comcast.net nameserver = dns02.jdc01.pa.comcast.net
gateway-s.comcast.net internet address = 204.127.202.26
gateway-s.comcast.net internet address = 63.240.76.26
gateway-r.comcast.net internet address = 216.148.227.126
gateway-r.comcast.net internet address = 204.127.198.26
dns01.jdc01.pa.comcast.net internet address = 68.87.96.3
dns02.jdc01.pa.comcast.net internet address = 68.87.96.4
>
In my case, local mails are delivered internally only and mailform accepts recipients for registered users only
(mails to external recipients are not sent and not accepted for recipients at mailform)
I have the below questions;
Core Module Config/General/
internet name for this system ==> localhost or www.myurl.com?
Thank you very much in advance and I am looking forward to your reply.
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.