Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

php.exe loading (no replies)

$
0
0
Hello,
I am using wamp 3.2.0 64bit running under Win10 Pro 64bit.
Apache 2.4.41
PHP 7.1.33
mysql 5.7.28
physical server with Windows where I have full rights.

Running plenty of virtualhosts without problems many years started with wamp 2.0 aroud 8years ago.
Now a weird thing happened. I set new virtualhost where I want to run php robot with several functions (robot not written by me).

After robot installation done properly incl. mysql connection here comes the trouble. The robot needs to input full path to php.exe into his config.php file as it is using exec function later while working.

When I try to start robot via its installed small webinterface with Start/Stop button (vhost path_to_robot/index.php) it simply do nothing except webpage writes "trying to start robot" and also logs empty = so hard to say where is problem.

BUT when I run manually using cmd prompt and input php.exe full_path_to_robot_php I can see in robot log it is started.

The problem seems to be maybe with access rights as cmd started either under local admin user or with elevated privileges - both working.
Therefore I changed account name to run apache and mysql system services to local admin account instead of Local System account as was by default - not sure if I should avoid this, however after this change still no luck. The difference is only I am getting e.g. proper computer name\username instead of nt system\user while using echo exec whoami...

Based on this I am not sure if I should change apache and mysql back to run under Local System? Or is it better to run using Local System for some reason? I read Local System is not good if e.g. there are network drives included in some paths etc. Still I have whole wamp under C:\wamp while all virtualhosts are set on E:\vhost1, E:\vhost2 etc... These are separate physical discs but inside same machine.

Unfortunately there is nothing in error logs related to my problem. And I also dont know which user is used to access the virtualhost while using webinterface instead of direct run using cli. I didnt set any wamp users during wamp install and I believe not necessary.

I also verified exec is fully working and all bots requirements too. But really dont know where to find error for the response (if any) after I click Start button on robots webinterface.

Or maybe it could be a virtualhost problem to set permissions properly? Because virtualhost root folder is E:\vhost but root folder for robot is E:\vhost\robot. And I set only vhost root folder? But subfolder with robot is included as I believe.


Thanks for your suggestions and sorry for length of my message. In case of additional info needed I am here.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>