Hi Emerald,
You shouldn't have messed with the DLLs. I know that's what
the PHP documentation says but all I did was copy 3 lines
of code into the httpd.conf file of Apache. Thats it, I didn't do
anything else and it worked fine. I can execute any PHP script
on my computer.
These are the 3 lines of code you have to put in the httpd.conf file.
#---------------
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .phtml .php3
Action application/x-httpd-php "/php/php.exe"
#---------------
That's it! Copy that to your httpd.conf file and don't do anything else, everything
should work fine. Do a test on your local computer.
In your browser, enter : http://127.0.0.1/mycode.php
127.0.0.1 is the root directory and you must specify which directory should
it be or you'll get an error.
Not sure but I think the problem was you didn't mention the directory of PHP.
You missed this line : ScriptAlias /php/ "c:/php/"
You don't have to change the permission of files in Windows ME.
I use PHP4, Apache 1.3.19 with Windows Millenium Edition and was able to install
PHP successfully. Since you've already messed with PHP and Apache, if you still
fail to install PHP, I suggest you do a reinstall of PHP and Apache and follow the
above the method. If you have any more problems, let me know.
Hope this helps,
--
Joel Agnel.
--------
Sign up for our Free Weekly Newsletter that delivers
Cool Sites directly to you by e-mail. You'll have Fun!
Click Here : http://www.siteskool.com/sites/
--------
"Emerald Shop" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear sirs,
>
> Does anyone use Apache and PHP on Windows ME ? I have not been able to work
> with because I have not intalled the software as requiered !
>
> I have installed Apache 1.3.19 and PHP4 over Windows Millenium.
>
> #I put this in httpd.conf file:
>
> LoadModule php4_module c:/php/sapi/php4apache.dll
> AddType application/x-httpd-php .php .phtml
>
> I copied the files MSVCRT.DLL and PHP4TS.DLL to c:/windows/system.
>
> I wrote a script file named test.php with the following information:
> <? phpinfo(); ?>
>
> When I open the test.php file at my browser, I get a DOS window running a
> lot of HTML code quickly. My browser doesn`t show me anything. The
> documentation explains that file permissions on my php script, php.exe,
> php4ts.dll, php.ini or any php extensions I am trying to load are such that
> the anonymous internet user ISUR_<machinename> cannot access them.
>
> How do I change permissions for these files over Windows ME ?
>
> Thank you very much for your cooperation.
>
> Emerald Shop
> Eng. Aldemar Martin B.
> Manager
> Calle 22 #20-26
> Santa Fe de Bogota, D.C. - COLOMBIA
> Phone: (571) 562 29 11
> Fax: (571) 268 45 60
> email: [EMAIL PROTECTED]
>
> P.D. Sorry for my english, I am learning.
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]