Jump to content

PHP error in windows CMD


samerhameed

Recommended Posts

Dear my friends

I'm new wit PHP language,i installed WAMP5 which include Apache/2.2.6 and PHP version 5.2.5

i connect my PHP file to MSSQL to get data from this DB,when i execute this script from explorer i got the result successfully but when i want execute this script from windows CMD i got an error (Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 127488 bytes) in C:\wamp\www\smulog\smulog.php on line 8.

i changed memory_limit parameter  from 2M to 990M

also i add line in .htaccess file

php_value memory_limit=999M

and the problem still appear to me,do you have any idea to solve this problem please??

 

Link to comment
https://forums.phpfreaks.com/topic/222476-php-error-in-windows-cmd/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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