Jump to content

Needing PHP 4.20 files translated to PHP 5.38 for Apache 2.2.17


yshua

Recommended Posts

Hello, helpful readers:

 

        You all have been great for me in the past....  How do I handled index.php file unable to print the header.php or footer.php, for instance because of the version conflict.  Have transferred all files from Yahoo, to Apache 2.2.17 web server.  Everything else is taking shape nicely, thanks largely to the advice received here.

 

Thanks for any info,

Yshua

Dear Thorpe:

 

        Please, what kind of info?  It's a Windows 7, but this could be an issue also:

        In the httpd.conf file, I changed the lines,

                <IfModule dir+module>

                        DirectoryIndex index.html

                <IfModule>

to

                <IfModule dir+module>

                        DirectoryIndex index.php

                <IfModule>

 

and that makes a directory display turn to the index.php, which scrolls to the download php screen file, perfectly. 

 

          And to JCBones,  Sorry, am too green to know what short tags are....  Would be happy to know, though.

 

Thanks again,

Yshua

Short tags is a lazy way of opening a PHP file (<? instead of <?php).  While short tags are enabled on a lot of servers, it is not enabled on ALL, so it may fail if moved to a different server.  Prior to 5.4.0 this included the short form of echo <?=, but after 5.4.0 that will work even if short tags is turned off.

Solved, All Right, you all!

 

        As always all your inputs are welcome and needed.  Sometimes lack of an exact answer points to the obvious!  It turned out, using php5apache2_2.dll, in another topic helped extraordinarily.  This time, one of two changes, unsure which got the header and footer, and whole webserver running correctly.  In the stmt:  PHPIniDir"C\Program Files (x86)\PHP\," the last "\" was missing!  Also switched the PHP folder to the C:\ along with the directory at the same time.  Whichever worked, it resolved it.  Go PHP Freaks!

 

One happy camper,

Yshua :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.