I have to run php file thru c: > drive .
can I install PHP on windows?
how?
Is there any configuration for this?
I have to run php file thru c: > drive .
can I install PHP on windows?
how?
Is there any configuration for this?
Yes,
just install PHP as usual (the zip package, not the installer version). Make sure that you have a php.ini file in the windows directory with extension_dir set correctly. Enable the extensions you need in php.ini and copy all dlls the enabled extensions depend on to system32. There comes a php.exe with PHP which is the CLI-Version. That php.exe can be executed from a command line shell.
So if you already have a working PHP installation (for e.g. Apache or IIS) then chances are high that you can just use the executable in the PHP base directory.
Thomas
can we create Desktop enabled Applications in PHP?
actually,in one interview there was such question.
but, i don't know the 'Desktop enabled Applications ??
If there ? can you give the example..
plz.
PHP is script language.
Then as Javascript,
can we write such code
<script language="php">
print "Thank you!";
</script>
And FILE is predefined constant.
but what purpose we used that PHP variable?
I downloaded php-4.3.9-Win32.zip and extract it on windows c: drive.
php-4.3.9-Win32' folder created.
In that folder there are such files php.ini-dist,php.ini-reco..
but no php.ini?
These are the example files. Copy one of them to system32 and rename the file to php.ini.
Thomas
extension_dir = "./"
what will be the path of extension_dir ?
and
Enable the extensions you need in php.ini means I have uncomment all dlls lines.
and copy all dlls the enabled extensions depend on to system32.?
There was an error in my last post. Don't copy the file to system32 but to the windows directory. php.ini has to be in the windows directory.
Thomas
I changed the path like this...
extension_dir = "C:\php\extensions";
and uncommented the dll lines.
there in one script(HTTP authentication) in c:\php\authphp.php
I want to execute this file thru safesquid which is running on Linux OS.
Is it possible?
or that SafesQuid should be Windows Package.?
what should be the path
extension_dir=?