PHP 5 under Windows - Page 2
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 33

Thread: PHP 5 under Windows

  1. #16
    NMaOtBG bpat1434's Avatar
    Join Date
    Oct 2004
    Location
    Around 255.255.255.0
    Posts
    7,874
    Updated steps to fix a flub on my part. Added note about php5_apache2 vs php5_apache2_2 DLLs.

  2. #17
    Senior Member
    Join Date
    Dec 2007
    Posts
    115
    ok never mind I got this one... still working on upgrades though.
    Last edited by minifairy; 10-24-2008 at 06:45 PM.

  3. #18
    Junior Member
    Join Date
    Feb 2009
    Posts
    2
    I installed Apache v2.2.11 and PHP v5.2.8 (as module) exactly the way it was described.
    Everything seems OK, I just tested phpMyAdmin and it worked.
    But this script: http://www.evoluted.net/community/co...orylisting.php doesn't work! I get the contents of the index.php file. Nothing is interpreted...

    What am I doing wrong?

  4. #19
    Pna lbh ernq guvf¿
    Join Date
    Jul 2004
    Location
    Kansas City area
    Posts
    19,429
    You didn't do anything wrong; whoever wrote that script did a poor job doing it. Let's just say critiquing that script would take quite a while.

    The main problem, however, is that the script uses short tag openings (e.g. '<?' or '<?=$var?>') even though these have been deprecated for some time and disabled by default. Change any instance of '<?' to '<?php' and '<?=$var?>' to '<?php echo $var ?>'.

  5. #20
    Junior Member
    Join Date
    Feb 2009
    Posts
    2
    Thank you

  6. #21
    Junior Member
    Join Date
    Feb 2010
    Posts
    3
    bpat1434,

    I have follow as what you mention in your post but still I could not run/start the apache. Below is the details.

    error.log
    The Apache2.2 service is restarting.
    Starting the Apache2.2 service
    The Apache2.2 service is running.
    pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    The Apache2.2 service is restarting.
    Starting the Apache2.2 service
    The Apache2.2 service is running.
    pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Thu Feb 11 11:39:58 2010] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    [Thu Feb 11 11:41:25 2010] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?


    httpd-php.conf
    LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
    <IfModule php5_module>
    AddType application/x-httpd-php .php .php3 .php5
    AddType application/x-httpd-php-source .phps
    # configure the path to php.ini
    PHPIniDir "C:/Program Files/php"
    </IfModule>

    What could be the problem? Please help.

    Darlien

  7. #22
    Junior Member
    Join Date
    Feb 2010
    Posts
    3
    I forgot to tell that I'm using:

    1. Apache HTTP Server 2.2
    2. PHP 5

    BR
    Darlien

  8. #23
    phpMaster
    Join Date
    Jun 2005
    Location
    Europe
    Posts
    3,016
    Could it be that you have 2 Apache servers running?
    If so, you may have to uninstall one Apache.
    Apache-2.4.28 (Win64) / PHP-7.1.10 / MySQL-5.7.19 / phpMyAdmin-4.7.4

  9. #24
    Pna lbh ernq guvf¿
    Join Date
    Jul 2004
    Location
    Kansas City area
    Posts
    19,429
    Did you add the PHP directory to your system's PATH environment and then restart the computer?

  10. #25
    NMaOtBG bpat1434's Avatar
    Join Date
    Oct 2004
    Location
    Around 255.255.255.0
    Posts
    7,874
    Darlien, looks like your apache didn't shut down tidily. A reboot should solve the issue. Otherwise, you may need to uninstall Apache and reinstall it again.

  11. #26
    Junior Member
    Join Date
    Feb 2010
    Posts
    3
    Thanks bpat1434, bradgrafelman & halojoy for your help.

    I have followed every instruction and manual I can find on the internet. However, the problem still persist.

    Anyway, I found a posting from devshed (http://www.apachelounge.com/forum/viewtopic.php?p=2469
    ) mentioning about problems with msi installer. I downloaded the binary zip version and "Waaa Lahhhh", everything seems working perfectly.

    Dunno why everyone got this problem with msi and WAMP, but downloading the binary zip version seems to solve many php geek problem.

    Cheers.....
    Darlien

  12. #27
    NMaOtBG bpat1434's Avatar
    Join Date
    Oct 2004
    Location
    Around 255.255.255.0
    Posts
    7,874
    Interesting. Glad to hear you got it sorted.

  13. #28
    Banned
    Join Date
    Jul 2010
    Posts
    1
    Quote Originally Posted by bpat1434 View Post
    XAMPP is a software package, you'd have to ask support from them about installation. THis thread was for installing Apache, PHP, MySQL. Each being separate items, not installing through XAMPP or any other meta package like that.
    i am using xampp.....i am not anle to run phpscripts...my php version is 4....it is saying something like "something wrong with installation"...when i referred the net,it says that some path has to be changed in .conf in apache to php..i cant follow that...can anyone elaborate on that?

  14. #29
    NMaOtBG bpat1434's Avatar
    Join Date
    Oct 2004
    Location
    Around 255.255.255.0
    Posts
    7,874
    Once again, ask on XAMPP's forums. This thread deals with installing the individual parts of the "AMP" installation (Apache, MySQL, PHP). We don't offer support for specific packages. I don't use XAMPP or WAMP.

    Quote Originally Posted by bpat1434
    I won't support php4 past it's life

  15. #30
    Junior Member
    Join Date
    Aug 2011
    Posts
    5

    Good Post

    Whoever you are who created this thread I adore you. I spent the day trying to get this service up and running and I now have it good to go. Excellent job on the instructions and very good work. I am deeply indebted to you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •