Page 1 of 1

php 4.2.1 Install failed

Posted: Wed Jun 19, 2002 4:20 am
by unclepiak
First, I already read Sticky: Please, read this BEFORE posting. It help a lot but seem not my case.

I use php 4.0.6 for write code on my offline system with no any problem. Yesterday, I download the lastest version 4.2.1 and try to install many time many way it's not work. I believe that I made the mistake in some point but I can't solve it.

If anybody have some experience in config php.ini and httpd.conf(apache) and successful in this version please help.

My system is WinXP Apache 1.3.24 install php in module (I also already try CGI flavour still not work)

Now, lastest I got the error message like :

Warning: Failed Opening 'xxxxxxx/xx/xxx/myfile.php' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0

I wonder, because myfile.php didn't have any php code it's a simple html code.(I test this for won't worry about wrong coding)

Please help.

Posted: Wed Jun 19, 2002 4:35 am
by danielhollands
Hi, I don't know if this is related, or if it will help, but I had a problem using the latest verson of PHP myself - my problem is that no variables where being accepted from the URL.

My soloution to this (after getting some info from my web host) was to change register_globals to "on" in the php.ini file (from verson 4.2.0 this has been turned to off by default)

So just open up php.ini, search for register_globals, change it to "on", and with some luck you should be back in the world of PHP :)

Let me know how you got on with it :)

Posted: Wed Jun 19, 2002 4:44 am
by unclepiak
danielhollands wrote:My soloution to this (after getting some info from my web host) was to change register_globals to "on" in the php.ini file

Let me know how you got on with it :)
Thank you.. Daniel, It's not that case. I already trun "On" in several directive. That's not my point of error. anyways Thank on your kind.

Still need help... HELP ! :o

Posted: Wed Jun 19, 2002 5:02 am
by twigletmac
Can you not include any files or is it just myfile.php that throws the error?

Mac

Posted: Wed Jun 19, 2002 7:05 am
by unclepiak
More wonder! I just finished testing install php 4.2.1 on another xp machine. This time I installed combine with Apache 1.3.22. => It works. !That's made me confuse.

Then I go back to Apache website, wish to download old version 1.3.22 and found The lastest version today release is 1.3.26

Now, I'm downloading, and will come back to report to you here later.

PS. I hope that my first XP which the one can not run php did not got the problem because I oftenly update security fix on Micro$oft update site.

Now, I start to pray. :cry:

Posted: Wed Jun 19, 2002 11:45 am
by danielhollands
I'm sorry that my suggestion did not work :(

as for XP and apache, I've got apache, PHP & MySQL all running on my XP Pro machine without any problems at all.

Good luck :)

Posted: Wed Jun 19, 2002 8:54 pm
by unclepiak
:cry:

I sure that there're something wrong in my system. After install new apache version it still give me the same result.

Now, I have to back to 4.0.6 because I have to continue run my job.

But I still not understand. What's happen on my system.

Posted: Wed Jun 19, 2002 8:57 pm
by danielhollands
Just a suggestion, but if you don't have any luck on this forum, try looking at http://www.sitepointforums.com/ very good site :)

Posted: Thu Jun 20, 2002 2:50 am
by unclepiak
hi danial and mac,

feel good to got warm replied from you. now i started to work and do not try about configuration anymore, atleast for a while.

thank you very much. and here is my big smile form me, :D

Posted: Thu Jun 20, 2002 7:57 am
by danielhollands
Ah, well i'm as new to this forum as you are, and i'm sure that you can see that all 4 of my posts have been in this thread :) - I was just surfing, noticed the problem and decided to see if I could help. :)

Good luck fella