Found my extension problem with a new problem...
Posted: Sun Oct 06, 2002 6:08 am
I did the follow code and it failed to show on my machine:
So, that means that PHP4 isn't working. Well, after going into my install.txt file I noticed:
You need to ensure that the dlls which php uses can be found. The precise
dlls involved depend on which web server you use and whether you want to
run php as a cgi or as a server module. php4ts.dll is always used. If you are
using a server module (e.g. isapi or apache) then you will need the relevent
dll from the sapi folder. If you are using any php extension dlls then you
will need those as well. To make sure that the dlls can be found, you can
either copy them to the system directory (e.g. winnt/system32 or
windows/system) or you can make sure that they live in the same directory
as the main php executable or dll your web server will use (e.g. php.exe,
php4apache.dll).
That confuses me a little. I do run Apache2. I took the .dlls out of the 'sapi' folder and put them with the php.exe and all. But, I think the problem is that when I try to run 'php.exe' it pops up ms-dos puts a new title called 'php' and does nothing.
I did the manual way. Put the php.ini in c:\windows\ and did the extensions_dir = c:\rider\php4\extensions
But, should I take all the .dlls out of 'extensions' and put them in php4 with the original .dlls and the .dlls from the 'sapi' folder?
Thanks for the help.
-Rider
Code: Select all
<html>
<head>
<title>Today's Date</title>
</head>
<body>
<p>Today's Date (according to this Web server) is
<?php echo( date("l, F dS Y.") );?>
</p>
</body>
</html>You need to ensure that the dlls which php uses can be found. The precise
dlls involved depend on which web server you use and whether you want to
run php as a cgi or as a server module. php4ts.dll is always used. If you are
using a server module (e.g. isapi or apache) then you will need the relevent
dll from the sapi folder. If you are using any php extension dlls then you
will need those as well. To make sure that the dlls can be found, you can
either copy them to the system directory (e.g. winnt/system32 or
windows/system) or you can make sure that they live in the same directory
as the main php executable or dll your web server will use (e.g. php.exe,
php4apache.dll).
That confuses me a little. I do run Apache2. I took the .dlls out of the 'sapi' folder and put them with the php.exe and all. But, I think the problem is that when I try to run 'php.exe' it pops up ms-dos puts a new title called 'php' and does nothing.
I did the manual way. Put the php.ini in c:\windows\ and did the extensions_dir = c:\rider\php4\extensions
But, should I take all the .dlls out of 'extensions' and put them in php4 with the original .dlls and the .dlls from the 'sapi' folder?
Thanks for the help.
-Rider