Jump to content

Not able to run script from command line


Recommended Posts

I have created a small test script

<?php echo date('Y-m-d H:i:s'); ?>

and when I IE7 browse to it, it displays the date and time as expected but when I run it from the command line, with the command "php datetest.php" it fails with

"The procedure entry point _zval_dtor could not be located in the dynamic link library php5ts.dll"

 

Please tell me how to fix this.

Link to comment
Share on other sites

The image you provided in your post needs to be uploaded to your site, you cant link files to your computer and expect us to see it.

 

How have you installed/setup PHP? From what I found on google it is to do with PHP trying to load extensions which doesn't exist, this is normally due to PHP not being configured correctly.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.