Run the php file in cmd. first, I created a bat file and wrote
D: \ wamp \ bin \ php \ php5.3.3 \ php-cgi.exe-f D: \ wamp1 \ www \ php_bat \ test. php
Test. php file
$ Fp = @ fopen ("test.txt", "a + ");
Fwrite ($ fp, date ("Y-m-d H: I: s"). "Let PHP run regularly! \ N ");
Fclose ($ fp );
?>
When you double-click bat locally, you can run the php file successfully.
However, the following error occurs on the win2003 server:
Reply to discussion (solution)
The specified module cocould not be found
The specified module cannot be found.
You should modify
C: \ Program Files (x86) \ PHP \ php. ini
Comment out all unnecessary extensions.
The specified module cocould not be found
The specified module cannot be found.
You should modify
C: \ Program Files (x86) \ PHP \ php. ini
Comment out all unnecessary extensions.
However, all the extensions mentioned above can be found in ext.
Oracle OCI8 is pecl. In addition, it is not installed in the php installation package. Are you sure you have installed it?
All errors are caused by database extensions, and database extensions require the support of running databases, or even the installation of clients.
The databases cannot be installed on your server at the same time, which is the main cause of the error.
All errors are caused by database extensions, and database extensions require the support of running databases, or even the installation of clients.
The databases cannot be installed on your server at the same time, which is the main cause of the error.
If you do not enable the extensions in php. ini, you will not save the errors.