php 4.2.1 Install failed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
unclepiak
Forum Newbie
Posts: 8
Joined: Mon Jun 17, 2002 9:00 pm
Location: Thailand
Contact:

php 4.2.1 Install failed

Post 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.
danielhollands
Forum Newbie
Posts: 4
Joined: Wed Jun 19, 2002 4:35 am

Post 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 :)
User avatar
unclepiak
Forum Newbie
Posts: 8
Joined: Mon Jun 17, 2002 9:00 pm
Location: Thailand
Contact:

Post 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
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Can you not include any files or is it just myfile.php that throws the error?

Mac
User avatar
unclepiak
Forum Newbie
Posts: 8
Joined: Mon Jun 17, 2002 9:00 pm
Location: Thailand
Contact:

Post 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:
danielhollands
Forum Newbie
Posts: 4
Joined: Wed Jun 19, 2002 4:35 am

Post 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 :)
User avatar
unclepiak
Forum Newbie
Posts: 8
Joined: Mon Jun 17, 2002 9:00 pm
Location: Thailand
Contact:

Post 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.
danielhollands
Forum Newbie
Posts: 4
Joined: Wed Jun 19, 2002 4:35 am

Post 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 :)
User avatar
unclepiak
Forum Newbie
Posts: 8
Joined: Mon Jun 17, 2002 9:00 pm
Location: Thailand
Contact:

Post 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
danielhollands
Forum Newbie
Posts: 4
Joined: Wed Jun 19, 2002 4:35 am

Post 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
Post Reply