PyroCMS › proc_open() failed. Unable to launch a new process.
proc_open() failed. Unable to launch a new process.
Then I decided to try it using not the installer but using composer. It took 30 minutes to download everything. Then I looked up how to run laravel on IIS, added a web.config with the rewrite rules in the public folder. I set permissions to Full Permissions to whole folder containing pyrocms and pointed my domain to public folder. Then finally when trying to call the site, I get Server Error 500 with no info at all. Logs just say, FastCgiModule Reqruest Exception or something like that. NO INFO AT ALL. So I read further the Installation Guide and saw there is an alternative of using the web installer... The Pyro CLI. So I went with that, entered all my details, database ... blabla and that finally installed PyroCMS. When now visiting my site, it also showed the site perfectly. But then, of course, when viewing the admin panel it shows errors over errors (something with open_basedir() function has restricted access or something).
The proc_open has been added to the documentation for clarity. The issue you had with composer are doced that you need to use --prefer-source. The issues you have described with trying to load the gui seem to come down to your environment being misconfigured and not an issue with Pyro itself.
Perhaps have a look at: https://laracasts.com/discuss/channels/general-discussion/iis7-laravel-5 and https://stackoverflow.com/questions/45464267/setup-laravel-5-4-with-iis-10 or other documents on getting IIS working.
I dev on Windows, but I use WAMP/Laragon and other solutions rather then IIS. So the specifics of getting that environment working I can't help you with. Your getting a permission error from what you said above, I would start by looking there. Anouther thing to remeber, best practice for pyro is to point your vhost to the public/ directory, I've had that resolve random issues before.
For example, that IUSR does not exist in my Security settings. So I cannot give it permissions to user that does not exist.. ?!
@edster The thing is, I tried to install normal laravel yesterday, and did what your link has told me to do. And laravel could be installed successfully and I can show it without errors. So Laravel works fine, it seems to just have issues with pyro.
When entering the Backend of Pyro I get the following exception: ErrorException (E_ERROR) An exception has been thrown during the rendering of a template ("file_exists(): open_basedir restriction in effect. File(C:\inetpub\vhosts\yothri.com\httpdocs\pyrocms\core/pyrocms/accelerant-theme/resources/js/vendor/*) is not within the allowed path(s): (C:/Inetpub/vhosts/yothri.com\;C:\Windows\Temp)").
So I know case and slashes doesn't ususally matter on windows, but give it a try. Look at the allowed base directories and the path it is trying to access, it is saying it can't access it because it isn't in the allowed path.
Could be the trailing slash in your base_dir allowed paths, could be the different slash directions, could be the capital I in Inetpub.